summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorwiz <wiz>2000-08-24 22:55:20 +0000
committerwiz <wiz>2000-08-24 22:55:20 +0000
commitb2153bc9ff7203816c3a58449a89ad8aedefe9f8 (patch)
tree56c5b648b3d80c9677d9d41b96cfdcaa17b89b9d /misc
parent8dcacd61acbc3f804d26f7fa8b28400fbe7f3f12 (diff)
downloadpkgsrc-b2153bc9ff7203816c3a58449a89ad8aedefe9f8.tar.gz
Fix this program to work on ELF systems.
Diffstat (limited to 'misc')
-rw-r--r--misc/dync/Makefile4
-rw-r--r--misc/dync/files/patch-sum5
-rw-r--r--misc/dync/patches/patch-aa15
-rw-r--r--misc/dync/patches/patch-ab13
4 files changed, 29 insertions, 8 deletions
diff --git a/misc/dync/Makefile b/misc/dync/Makefile
index 963983b4432..d042c755c2b 100644
--- a/misc/dync/Makefile
+++ b/misc/dync/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 1999/05/24 20:39:45 tv Exp $
+# $NetBSD: Makefile,v 1.6 2000/08/24 22:55:20 wiz Exp $
#
DISTNAME= dync-1.1
@@ -8,8 +8,6 @@ MASTER_SITES= http://www.westley.demon.co.uk/src/
MAINTAINER= agc@netbsd.org
HOMEPAGE= http://www.westley.demon.co.uk/software.html
-NOT_FOR_PLATFORM= *-*-alpha #dync: can't dlopen `lib1.so.1.0'
-
GNU_CONFIGURE= yes
ALL_TARGET= tst
diff --git a/misc/dync/files/patch-sum b/misc/dync/files/patch-sum
index 4c172d62c9e..baca6187287 100644
--- a/misc/dync/files/patch-sum
+++ b/misc/dync/files/patch-sum
@@ -1,3 +1,4 @@
-$NetBSD: patch-sum,v 1.1 1999/07/09 14:09:14 agc Exp $
+$NetBSD: patch-sum,v 1.2 2000/08/24 22:55:21 wiz Exp $
-MD5 (patch-aa) = 39669f25e82b6ecfb4a7547addd8ec40
+MD5 (patch-aa) = 09fd25b1ce00ea042a32b27bb8dc95e1
+MD5 (patch-ab) = 7fcba8c04c89c71a43831136ba0690f7
diff --git a/misc/dync/patches/patch-aa b/misc/dync/patches/patch-aa
index f1ecc28f2ae..ca41ecde0d8 100644
--- a/misc/dync/patches/patch-aa
+++ b/misc/dync/patches/patch-aa
@@ -1,7 +1,16 @@
-$NetBSD: patch-aa,v 1.1 1999/04/05 01:33:18 hubertf Exp $
+$NetBSD: patch-aa,v 1.2 2000/08/24 22:55:21 wiz Exp $
---- Makefile.in.BAK Mon Apr 5 03:25:03 1999
-+++ Makefile.in Mon Apr 5 03:26:07 1999
+--- Makefile.in.orig Thu Aug 13 16:12:55 1998
++++ Makefile.in
+@@ -15,7 +15,7 @@
+ CFLAGS= @CFLAGS@ -I. -I$(srcdir) -I$(INCDIR) \
+ -DCC_CMD=\"@CC_CMD@\" -DLDCONFIG_CMD=\"@LDCONFIG@\" -DLD_CMD=\"@LD@\" \
+ -DGREP_CMD=\"@GREP@\" -DFILE_CMD=\"@FILE_CMD@\"
+-LIBS= @LIBS@
++LIBS= -Wl,-R. @LIBS@
+ OBJS= dync.o
+ EXE= dync
+
@@ -32,8 +32,9 @@
@./$(EXE) -f tests/1.c root > tests/1.out
@diff tests/1.exp tests/1.out
diff --git a/misc/dync/patches/patch-ab b/misc/dync/patches/patch-ab
new file mode 100644
index 00000000000..729b0aeee7d
--- /dev/null
+++ b/misc/dync/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2000/08/24 22:55:22 wiz Exp $
+
+--- dync.c.orig Thu Aug 13 17:21:13 1998
++++ dync.c
+@@ -147,7 +147,7 @@
+ {
+ char cmd[MaxCmdLen];
+
+- return (asystem(cmd, sizeof(cmd), "%s %s | %s ELF", FILE_CMD, prog, GREP_CMD) == 0);
++ return (asystem(cmd, sizeof(cmd), "%s %s | %s ELF > /dev/null 2>&1", FILE_CMD, prog, GREP_CMD) == 0);
+ }
+
+ /* print usage message and die */