-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: rxvt-unicode-sixel
action: commit
revision:
path_from:
revision_from: 82533fe7faea0a655f7c724f29fb8268b944601a:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

git://git.thebackupbox.net/rxvt-unicode-sixel

commit 82533fe7faea0a655f7c724f29fb8268b944601a
Author: Marc Lehmann <schmorp@schmorp.de>
Date:   Tue Jun 25 03:35:01 2019 +0000

    *** empty log message ***

diff --git a/Changes b/Changes

index ecbb58c3dd3ced01a658911b19119b9e8cb16d33..

index ..2d29e800496a4cef20010996739f2de8c1d2875e 100644

--- a/Changes
+++ b/Changes
@@ -68,6 +68,10 @@ TODO: fix ESC G reply forever, or simply completely disable it?
 	  switch to the new bg image interface (see man urxvt-background).
         - expose priv_modes member and constants to perl extensions
           (patch by Rastislav Barlik).
+        - fix a whole slew of const sillyness, unfortunately forced upon
+          us by ISO C++.
+        - update to libecb 0x00010006.
+        - disable all thread support in ecb.h as we presumably don't need it.

 9.22 Sat Jan 23 21:07:33 CET 2016
 	- NOTICE: this release updates terminfo.
diff --git a/src/emman.c b/src/emman.c

index 0b511f9f50f6f0b3d5702a66fc9d56b6132060bd..

index ..65cc9e02ef3fde1dc2a813cf19d1e2095fb175a6 100644

--- a/src/emman.c
+++ b/src/emman.c
@@ -1,5 +1,6 @@
 /* enable mremap on GNU/Linux */
 #ifdef __linux__
+# undef _GNU_SOURCE
 # define _GNU_SOURCE
 #endif

diff --git a/src/ev_cpp.h b/src/ev_cpp.h

index 80dd9b2e0b3ada732757bb5b1b19415f10156599..

index ..0cafc804e1f156c3242546593df130e8b7ccfaff 100644

--- a/src/ev_cpp.h
+++ b/src/ev_cpp.h
@@ -1,8 +1,11 @@
+#define ECB_NO_THREADS 1
+
 #define EV_COMPAT3 0
 #define EV_USE_SELECT 1
 #define EV_USE_EPOLL 1
 #define EV_USE_KQUEUE 1
 #define EV_USE_PORT 1
+//#define EV_USE_LINUXAIO 1
 #define EV_PREPARE_ENABLE 1
 #define EV_IDLE_ENABLE 1
 #define EV_SIGNAL_ENABLE 1
diff --git a/src/init.C b/src/init.C

index f4af5440398a22f574fa7c5911ea44f6d0b3d6fc..

index ..7e78358aac5fd038a35f38adca8b5fb91a9d0b40 100644

--- a/src/init.C
+++ b/src/init.C
@@ -975,9 +975,9 @@ rxvt_term::init_env ()
 #endif

   if (depth <= 2)
-    putenv ("COLORTERM=" COLORTERMENV "-mono");
+    putenv ((char *)"COLORTERM=" COLORTERMENV "-mono");
   else
-    putenv ("COLORTERM=" COLORTERMENVFULL);
+    putenv ((char *)"COLORTERM=" COLORTERMENVFULL);

   if (rs[Rs_term_name] != NULL)
     {
@@ -986,7 +986,7 @@ rxvt_term::init_env ()
       putenv (env_term);
     }
   else
-    putenv ("TERM=" TERMENV);
+    putenv ((char *)"TERM=" TERMENV);

 #ifdef HAVE_UNSETENV
   /* avoid passing old settings and confusing term size */
@@ -1015,7 +1015,7 @@ rxvt_term::set_locale (const char *locale)
       else
         rxvt_warn ("default locale unavailable, check LC_* and LANG variables. Continuing.\n");

-      this->locale = "C";
+      this->locale = (char *)"C"; /* strdup'ed below */
     }


diff --git a/src/rxvt.h b/src/rxvt.h

index 5e5ee2df4ef5f4804a87af52d764b52d6127636b..

index ..85029e62e3ed5399bc1153b378a8ceb2725e314f 100644

--- a/src/rxvt.h
+++ b/src/rxvt.h
@@ -80,7 +80,9 @@ typedef  int32_t tlen_t_; // specifically for use in the line_t structure
 # define HAVE_IMG 1
 #endif

-#include <ecb.h>
+#define ECB_NO_THREADS 1
+#include "ecb.h"
+
 #include "encoding.h"
 #include "rxvtutil.h"
 #include "rxvtfont.h"
diff --git a/src/rxvtdaemon.C b/src/rxvtdaemon.C

index 7986c5fa4616b8df3f2517789bc7ce80a9800664..

index ..2ce9e6c07ff23c7fb432662ae327aa7d5e6224b0 100644

--- a/src/rxvtdaemon.C
+++ b/src/rxvtdaemon.C
@@ -36,7 +36,7 @@
 char *rxvt_connection::unix_sockname ()
 {
   char name[PATH_MAX];
-  char *path = getenv ("RXVT_SOCKET");
+  const char *path = getenv ("RXVT_SOCKET");

   if (!path)
     {
diff --git a/src/rxvtperl.xs b/src/rxvtperl.xs

index 963a44584cf94912a0949c0966fb7ab4f35a91a7..

index ..6253dfbe38d01bae9d033fb387ed6f55e3a92c56 100644

--- a/src/rxvtperl.xs
+++ b/src/rxvtperl.xs
@@ -393,7 +393,7 @@ rxvt_perl_interp::init ()
         perl_environ = rxvt_environ;
         localise_env set_environ (perl_environ);

-        char *args[] = {
+        const char *args[] = {
           "",
           "-e"
           "BEGIN {"
@@ -405,7 +405,7 @@ rxvt_perl_interp::init ()
           0
         };
         int argc = ecb_array_length (args) - 1;
-        char **argv = args;
+        char **argv = (char **)args;

         PERL_SYS_INIT3 (&argc, &argv, &environ);
         perl = perl_alloc ();
@@ -1834,7 +1834,7 @@ rxvt_term::_resource (octet_string name, int index, SV *newval = 0)
         else
           {
             --rs;
-            name = "";
+            name = (octet_string)"";
           }

         if (!IN_RANGE_EXC (index, 0, NUM_RESOURCES))
diff --git a/src/rxvtutil.h b/src/rxvtutil.h

index 9d252d9880df5c77bc5698e229ae58341ddfbdd9..

index ..19a63aa75049c8499755e082ab9899be4da2010d 100644

--- a/src/rxvtutil.h
+++ b/src/rxvtutil.h
@@ -3,7 +3,10 @@

 #include <stdlib.h>
 #include <string.h>
+
+#define ECB_NO_THREADS 1
 #include "ecb.h"
+
 #include "estl.h"

 #include "emman.h"
diff --git a/src/screen.C b/src/screen.C

index f3c6d576e2cbda4e5ad0eb121c2e0edc3ad1c227..

index ..b81310760449097e6e946e24ce5c3938c44c8993 100644

--- a/src/screen.C
+++ b/src/screen.C
@@ -3502,7 +3502,7 @@ rxvt_term::selection_send (const XSelectionRequestEvent &rq) NOTHROW
         }
       else
         {
-          cl = L"";
+          cl = (wchar_t *)L"";
           selectlen = 0;
         }

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 11:37:07 2024