summaryrefslogtreecommitdiff
path: root/archivers/arj/patches
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-04-27 17:16:28 +0000
committertv <tv@pkgsrc.org>2004-04-27 17:16:28 +0000
commiteff762a8fa61fb82c6dedbff73b3721080d9cdd3 (patch)
tree2c1c9a764fd437a33847fdd2acca995ca4b7c1ea /archivers/arj/patches
parentd4ffdb80aa66b36d87aafd60c10426cab959afb9 (diff)
downloadpkgsrc-eff762a8fa61fb82c6dedbff73b3721080d9cdd3.tar.gz
nb1: Make work on Interix; check for -ldl in configure.in automagically;
install without stripping binaries (so that "arj" works properly)
Diffstat (limited to 'archivers/arj/patches')
-rw-r--r--archivers/arj/patches/patch-aa32
-rw-r--r--archivers/arj/patches/patch-ab14
2 files changed, 41 insertions, 5 deletions
diff --git a/archivers/arj/patches/patch-aa b/archivers/arj/patches/patch-aa
index 8aaf3a89726..0445c385383 100644
--- a/archivers/arj/patches/patch-aa
+++ b/archivers/arj/patches/patch-aa
@@ -1,7 +1,25 @@
-$NetBSD: patch-aa,v 1.3 2004/04/22 20:16:58 dillo Exp $
+$NetBSD: patch-aa,v 1.4 2004/04/27 17:16:28 tv Exp $
---- environ.c.orig Sat Apr 17 15:19:40 2004
+--- environ.c.orig Sat Apr 17 09:19:40 2004
+++ environ.c
+@@ -61,7 +61,7 @@
+ #elif defined(__FreeBSD__)||defined(__NetBSD__)
+ #include <sys/param.h>
+ #include <sys/mount.h>
+- #elif defined(__QNXNTO__)
++ #elif defined(__QNXNTO__)||defined(__INTERIX)
+ #include <sys/statvfs.h>
+ #else
+ #include <sys/statfs.h>
+@@ -2286,7 +2286,7 @@ unsigned long file_getfree(char *name)
+ else
+ return((LONG_MAX/(spclu*bps)<fclu)?LONG_MAX:spclu*bps*fclu);
+ #elif TARGET==UNIX
+- #if defined(__QNXNTO__)||defined(__sco__)||defined(SUNOS)
++ #if defined(__QNXNTO__)||defined(__sco__)||defined(SUNOS)||defined(__INTERIX)
+ struct statvfs vfs;
+
+ if(statvfs(name, &vfs)==-1)
@@ -3005,7 +3005,7 @@ void get_exe_name(char *dest, char *arg)
they are missing altogether, the corresponding code will gracefully
terminate. */
@@ -20,3 +38,13 @@ $NetBSD: patch-aa,v 1.3 2004/04/22 20:16:58 dillo Exp $
#else
dest[0]='\0';
#endif
+@@ -3802,7 +3802,9 @@ int reset_drive(char *name)
+ #elif TARGET==WIN32
+ return(0);
+ #elif TARGET==UNIX
++ #ifndef __INTERIX
+ sync();
++ #endif
+ return(0);
+ #endif
+ }
diff --git a/archivers/arj/patches/patch-ab b/archivers/arj/patches/patch-ab
index 1918efc82a7..51f973daaf4 100644
--- a/archivers/arj/patches/patch-ab
+++ b/archivers/arj/patches/patch-ab
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.2 2004/04/22 20:16:58 dillo Exp $
+$NetBSD: patch-ab,v 1.3 2004/04/27 17:16:28 tv Exp $
---- gnu/configure.in.orig Sat Apr 17 13:28:06 2004
+--- gnu/configure.in.orig Sat Apr 17 07:28:06 2004
+++ gnu/configure.in
@@ -12,7 +12,7 @@ dnl Installation script (let it be, temp
AC_PROG_INSTALL([e:/os2apps/autoconf/install-sh])
@@ -11,7 +11,15 @@ $NetBSD: patch-ab,v 1.2 2004/04/22 20:16:58 dillo Exp $
dnl Checks for the canonical system name
AC_CANONICAL_HOST
-@@ -115,7 +115,7 @@ dnl Initial setup
+@@ -36,6 +36,7 @@ AC_FUNC_SETVBUF_REVERSED
+ AC_TYPE_SIGNAL
+ AC_FUNC_VPRINTF
+ AC_CHECK_FUNCS([getcwd min max mkdir mkdtemp rmdir fcloseall strcasecmp setpriority strdup strerror strstr strupr strlwr strtol strtoul])
++AC_SEARCH_LIBS([dlsym], [dl])
+
+ dnl Platform-specific tuning
+ PROG_EXT=
+@@ -115,7 +116,7 @@ dnl Initial setup
test -z "$CONFIG_SHELL" && CONFIG_SHELL=/bin/sh
AC_SUBST(CONFIG_SHELL)