Blame patches/dante-1.4.3.local.patch

f1d9d0
diff -ru dante-1.4.3.orig/configure dante-1.4.3/configure
f1d9d0
--- dante-1.4.3.orig/configure	2021-04-30 21:29:06.000000000 +0200
f1d9d0
+++ dante-1.4.3/configure	2024-02-22 00:14:19.279836011 +0100
eb1225
@@ -3314,8 +3314,6 @@
eb1225
 #NOTE: save CFLAGS; wish to compile without -O2 when debugging
eb1225
 oCFLAGS="$CFLAGS"
eb1225
 oLDFLAGS="$LDFLAGS"
eb1225
-unset CFLAGS
eb1225
-unset LDFLAGS
eb1225
 case `pwd` in
eb1225
   *\ * | *\	*)
eb1225
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
eb1225
@@ -15347,10 +15345,8 @@
Lucio Andrés Illanes Albornoz dbe381
 $as_echo_n "checking whether realloc with a NULL pointer calls malloc... " >&6; }
Lucio Andrés Illanes Albornoz dbe381
 if test "$cross_compiling" = yes; then :
Lucio Andrés Illanes Albornoz dbe381
 
Lucio Andrés Illanes Albornoz dbe381
-$as_echo "#define HAVE_NOMALLOC_REALLOC 1" >>confdefs.h
Lucio Andrés Illanes Albornoz dbe381
-
Lucio Andrés Illanes Albornoz dbe381
-     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Lucio Andrés Illanes Albornoz dbe381
-$as_echo "no" >&6; }
Lucio Andrés Illanes Albornoz dbe381
+     { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming yes" >&5
Lucio Andrés Illanes Albornoz dbe381
+$as_echo "assuming yes" >&6; }
Lucio Andrés Illanes Albornoz dbe381
 else
Lucio Andrés Illanes Albornoz dbe381
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Lucio Andrés Illanes Albornoz dbe381
 /* end confdefs.h.  */
eb1225
@@ -16929,8 +16925,9 @@
Lucio Andrés Illanes Albornoz dbe381
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking read/send-side pipe system" >&5
Lucio Andrés Illanes Albornoz dbe381
 $as_echo_n "checking read/send-side pipe system... " >&6; }
Lucio Andrés Illanes Albornoz dbe381
 if test "$cross_compiling" = yes; then :
Lucio Andrés Illanes Albornoz dbe381
-      { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling" >&5
Lucio Andrés Illanes Albornoz dbe381
-$as_echo "cross-compiling" >&6; }
Lucio Andrés Illanes Albornoz dbe381
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming send-based" >&5
Lucio Andrés Illanes Albornoz dbe381
+$as_echo "assuming send-based" >&6; }
Lucio Andrés Illanes Albornoz dbe381
+$as_echo "#define HAVE_PIPEBUFFER_SEND_BASED 1" >>confdefs.h
Lucio Andrés Illanes Albornoz dbe381
 else
Lucio Andrés Illanes Albornoz dbe381
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Lucio Andrés Illanes Albornoz dbe381
 /* end confdefs.h.  */
eb1225
@@ -17232,13 +17229,10 @@
Lucio Andrés Illanes Albornoz dbe381
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for errorless select behavior with high timeouts" >&5
Lucio Andrés Illanes Albornoz dbe381
 $as_echo_n "checking for errorless select behavior with high timeouts... " >&6; }
Lucio Andrés Illanes Albornoz dbe381
  if test "$cross_compiling" = yes; then :
Lucio Andrés Illanes Albornoz dbe381
-         { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
Lucio Andrés Illanes Albornoz dbe381
-$as_echo "unknown" >&6; }
Lucio Andrés Illanes Albornoz dbe381
-       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to determine max select value, using default" >&5
Lucio Andrés Illanes Albornoz dbe381
-$as_echo "$as_me: WARNING: unable to determine max select value, using default" >&2;}
Lucio Andrés Illanes Albornoz dbe381
-
Lucio Andrés Illanes Albornoz dbe381
+         { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling: assuming yes -- midipix specific" >&5
Lucio Andrés Illanes Albornoz dbe381
+$as_echo "yes" >&6; }
Lucio Andrés Illanes Albornoz dbe381
 cat >>confdefs.h <<_ACEOF
Lucio Andrés Illanes Albornoz dbe381
-#define HAVE_SELECT_MAXTIMEOUT $DEFAULTMAX
Lucio Andrés Illanes Albornoz dbe381
+#define HAVE_SELECT_MAXTIMEOUT 0
Lucio Andrés Illanes Albornoz dbe381
 _ACEOF
Lucio Andrés Illanes Albornoz dbe381
 else
Lucio Andrés Illanes Albornoz dbe381
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
eb1225
@@ -23234,12 +23228,13 @@
Lucio Andrés Illanes Albornoz dbe381
 
Lucio Andrés Illanes Albornoz dbe381
 #AC_CHECK_FUNCS will add HAVE_foo define as long as function exists,
Lucio Andrés Illanes Albornoz dbe381
 #check overselves as we only want define set if function is also working.
Lucio Andrés Illanes Albornoz dbe381
-ac_cv_func_pselect=no
Lucio Andrés Illanes Albornoz dbe381
+ac_cv_func_pselect=yes
Lucio Andrés Illanes Albornoz dbe381
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working pselect()" >&5
Lucio Andrés Illanes Albornoz dbe381
 $as_echo_n "checking for working pselect()... " >&6; }
Lucio Andrés Illanes Albornoz dbe381
 if test "$cross_compiling" = yes; then :
Lucio Andrés Illanes Albornoz dbe381
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming no" >&5
Lucio Andrés Illanes Albornoz dbe381
-$as_echo "assuming no" >&6; }
Lucio Andrés Illanes Albornoz dbe381
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming yes" >&5
Lucio Andrés Illanes Albornoz dbe381
+$as_echo "assuming yes" >&6; }
Lucio Andrés Illanes Albornoz dbe381
+$as_echo "#define HAVE_PSELECT 1" >>confdefs.h
Lucio Andrés Illanes Albornoz dbe381
 else
Lucio Andrés Illanes Albornoz dbe381
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Lucio Andrés Illanes Albornoz dbe381
 /* end confdefs.h.  */
eb1225
@@ -23292,8 +23287,9 @@
Lucio Andrés Illanes Albornoz dbe381
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working sockatmark" >&5
Lucio Andrés Illanes Albornoz dbe381
 $as_echo_n "checking for working sockatmark... " >&6; }
Lucio Andrés Illanes Albornoz dbe381
 if test "$cross_compiling" = yes; then :
Lucio Andrés Illanes Albornoz dbe381
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming no" >&5
Lucio Andrés Illanes Albornoz dbe381
-$as_echo "assuming no" >&6; }
Lucio Andrés Illanes Albornoz dbe381
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming yes" >&5
Lucio Andrés Illanes Albornoz dbe381
+$as_echo "assuming yes" >&6; }
Lucio Andrés Illanes Albornoz dbe381
+$as_echo "#define HAVE_SOCKATMARK 1" >>confdefs.h
Lucio Andrés Illanes Albornoz dbe381
 else
Lucio Andrés Illanes Albornoz dbe381
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Lucio Andrés Illanes Albornoz dbe381
 /* end confdefs.h.  */
eb1225
@@ -23894,8 +23890,9 @@
Lucio Andrés Illanes Albornoz dbe381
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLOCK_MONOTONIC clock_gettime() support" >&5
Lucio Andrés Illanes Albornoz dbe381
 $as_echo_n "checking for CLOCK_MONOTONIC clock_gettime() support... " >&6; }
Lucio Andrés Illanes Albornoz dbe381
 if test "$cross_compiling" = yes; then :
Lucio Andrés Illanes Albornoz dbe381
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming no" >&5
Lucio Andrés Illanes Albornoz dbe381
-$as_echo "assuming no" >&6; }
Lucio Andrés Illanes Albornoz dbe381
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming yes" >&5
Lucio Andrés Illanes Albornoz dbe381
+$as_echo "assuming yes" >&6; }
Lucio Andrés Illanes Albornoz dbe381
+$as_echo "#define HAVE_CLOCK_GETTIME_MONOTONIC 1" >>confdefs.h
Lucio Andrés Illanes Albornoz dbe381
 else
Lucio Andrés Illanes Albornoz dbe381
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Lucio Andrés Illanes Albornoz dbe381
 /* end confdefs.h.  */
f1d9d0
Only in dante-1.4.3: configure.orig
f1d9d0
diff -ru dante-1.4.3.orig/dlib/Makefile.in dante-1.4.3/dlib/Makefile.in
f1d9d0
--- dante-1.4.3.orig/dlib/Makefile.in	2021-04-30 21:30:18.000000000 +0200
f1d9d0
+++ dante-1.4.3/dlib/Makefile.in	2024-02-22 00:14:19.283169345 +0100
Lucio Andrés Illanes Albornoz dbe381
@@ -409,7 +409,7 @@
Lucio Andrés Illanes Albornoz dbe381
 	../libscompat/pselect.c ../libscompat/setproctitle.c \
Lucio Andrés Illanes Albornoz dbe381
 	../libscompat/strlcpy.c ../libscompat/strvis.c \
Lucio Andrés Illanes Albornoz dbe381
 	../libscompat/vsyslog.c ../libscompat/issetugid.c
Lucio Andrés Illanes Albornoz dbe381
-libdsocks_la_LDFLAGS = -avoid-version -all-dynamic @MAPOPT@
Lucio Andrés Illanes Albornoz dbe381
+libdsocks_la_LDFLAGS = -avoid-version @MAPOPT@
Lucio Andrés Illanes Albornoz dbe381
 libdsocks_la_LIBADD = @LIBDSCSRC@ @DLIBDEPS@ @LIBSCOMPAT@
Lucio Andrés Illanes Albornoz dbe381
 libdsocks_la_DEPENDENCIES = Makefile.am _reconf @LIBDSCSRC@ \
Lucio Andrés Illanes Albornoz dbe381
 	$(am__append_1)
f1d9d0
Only in dante-1.4.3/dlib: Makefile.in.orig
f1d9d0
diff -ru dante-1.4.3.orig/include/symbols_preload.txt dante-1.4.3/include/symbols_preload.txt
f1d9d0
--- dante-1.4.3.orig/include/symbols_preload.txt	2024-02-22 00:37:06.753086184 +0100
f1d9d0
+++ dante-1.4.3/include/symbols_preload.txt	2024-02-22 00:37:21.979752748 +0100
f1d9d0
@@ -2,11 +2,9 @@
f1d9d0
 bind
f1d9d0
 bindresvport
f1d9d0
 connect
f1d9d0
-freehostent
f1d9d0
 getaddrinfo
f1d9d0
 gethostbyname
f1d9d0
 gethostbyname2
f1d9d0
-getipnodebyname
f1d9d0
 getpeername
f1d9d0
 getsockname
f1d9d0
 getsockopt
f1d9d0
@@ -16,7 +14,6 @@
f1d9d0
 recv
f1d9d0
 recvfrom
f1d9d0
 recvmsg
f1d9d0
-rresvport
f1d9d0
 send
f1d9d0
 sendmsg
f1d9d0
 sendto