aboutsummaryrefslogtreecommitdiffstats
path: root/mcgoron/guix/patches
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2025-08-17 11:58:14 -0400
committerGravatar Peter McGoron 2025-08-17 11:58:14 -0400
commit147dc2a005f1e9483267371312b3d1653da9f409 (patch)
treecde603411692c476dd624389744ae0c28c2640b1 /mcgoron/guix/patches
parentchez (diff)
try vicare
Diffstat (limited to 'mcgoron/guix/patches')
-rw-r--r--mcgoron/guix/patches/vicare-0.4.1-modern-glibc.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/mcgoron/guix/patches/vicare-0.4.1-modern-glibc.patch b/mcgoron/guix/patches/vicare-0.4.1-modern-glibc.patch
new file mode 100644
index 0000000..3191084
--- /dev/null
+++ b/mcgoron/guix/patches/vicare-0.4.1-modern-glibc.patch
@@ -0,0 +1,45 @@
+diff --git a/meta/autoconf/vicare.m4 b/meta/autoconf/vicare.m4
+index 691c95e8..e85aa27f 100644
+--- a/meta/autoconf/vicare.m4
++++ b/meta/autoconf/vicare.m4
+@@ -192,9 +192,11 @@ AC_INCLUDES_DEFAULT
+ #ifdef HAVE_NETDB_H
+ # include <netdb.h>
+ #endif
++#if 0
+ #ifdef HAVE_NET_IF_H
+ # include <net/if.h>
+ #endif
++#endif
+ #ifdef HAVE_NETINET_ETHER_H
+ # include <netinet/ether.h>
+ #endif
+diff --git a/src/ikarus-glibc.c b/src/ikarus-glibc.c
+index d6be4925..ce742c6b 100644
+--- a/src/ikarus-glibc.c
++++ b/src/ikarus-glibc.c
+@@ -45,9 +45,11 @@
+ #ifdef HAVE_MATH_H
+ # include <math.h>
+ #endif
++#if 0
+ #ifdef HAVE_NET_IF_H
+ # include <net/if.h>
+ #endif
++#endif
+ #ifdef HAVE_REGEX_H
+ # include <regex.h>
+ #endif
+diff --git a/src/ikarus-main.c b/src/ikarus-main.c
+index b81d4c02..7b73618b 100644
+--- a/src/ikarus-main.c
++++ b/src/ikarus-main.c
+@@ -30,7 +30,7 @@
+ #include <sys/types.h>
+
+ extern int cpu_has_sse2();
+-static void register_handlers();
++static void register_handlers(int);
+ static void register_alt_stack();
+
+ /* When true: internals inspection messages are enabled. It is used by