Remove disabled-packages/jack-updated
[termux-packages] / disabled-packages / alpine / imap-src-osdep-unix-Makefile.patch
index 245ec8a..7ede158 100644 (file)
@@ -1,14 +1,45 @@
-diff -u -r ../alpine-2.20/imap/src/osdep/unix/Makefile ./imap/src/osdep/unix/Makefile
---- ../alpine-2.20/imap/src/osdep/unix/Makefile        2015-01-12 00:12:25.505178442 -0500
-+++ ./imap/src/osdep/unix/Makefile     2016-04-14 17:06:00.090973009 -0400
-@@ -132,10 +132,7 @@
+--- ../cache/alpine-2.20/imap/src/osdep/unix/Makefile  2015-01-12 05:12:25.505178442 +0000
++++ ./imap/src/osdep/unix/Makefile     2016-12-11 07:08:54.821695452 +0000
+@@ -131,13 +131,8 @@
  
- # Commands possibly overriden by the individual port
  
+ # Commands possibly overriden by the individual port
+-
 -ARRC=ar rc
 -CC=cc
  LN=ln -s
 -RANLIB=ranlib
+-
+-
++AARC="ar rc"
+ # Standard distribution build parameters
  
+ DEFAULTAUTHENTICATORS=ext md5 pla log
+@@ -513,8 +508,10 @@
+        SPOOLDIR=/var/spool \
+        ACTIVEFILE=/var/lib/news/active \
+        RSHPATH=/usr/bin/rsh \
+-       BASECFLAGS="$(GCCCFLAGS)"
+-
++       CC=${TERMUX_HOST_PLATFORM}-gcc \
++       BASECFLAGS="$(GCCCFLAGS)" \
++      RANLIB="${TERMUX_HOST_PLATFORM}-ranlib"
++                                  
+ lyn:  # LynxOS
+       $(BUILD) `$(CAT) SPECIALS` OS=$@ \
+        CRXTYPE=nfs \
+@@ -869,8 +866,13 @@
+ all:  $(ARCHIVE)
  
- # Standard distribution build parameters
+ $(ARCHIVE): $(BINARIES)
+-      sh -c '$(RM) $(ARCHIVE) || true'
++      rm -rf client-a
++       { echo -n 'ar rc '; cat ARCHIVE; } >ARCHIVE.new
++      rm ARCHIVE
++      mv ARCHIVE.new ARCHIVE
++      chmod +x ARCHIVE
+       @$(CAT) ./ARCHIVE
++      
+       @$(SH) ./ARCHIVE
+ .c.o: