summaryrefslogtreecommitdiff
path: root/devel/pedisassem
diff options
context:
space:
mode:
Diffstat (limited to 'devel/pedisassem')
-rw-r--r--devel/pedisassem/distinfo3
-rw-r--r--devel/pedisassem/files/Makefile2
-rw-r--r--devel/pedisassem/patches/patch-aa18
3 files changed, 22 insertions, 1 deletions
diff --git a/devel/pedisassem/distinfo b/devel/pedisassem/distinfo
index 54fefb20fb1..cde4a6a35cb 100644
--- a/devel/pedisassem/distinfo
+++ b/devel/pedisassem/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.3 2002/09/26 17:25:46 jschauma Exp $
+$NetBSD: distinfo,v 1.4 2004/05/07 01:54:16 danw Exp $
SHA1 (dsasmsrc.zip) = bc50eb6786dd0f5c68e61036587e04919721156c
Size (dsasmsrc.zip) = 104759 bytes
+SHA1 (patch-aa) = fa289b7dad71b9c732681dd57ffd06a9118dc2d3
diff --git a/devel/pedisassem/files/Makefile b/devel/pedisassem/files/Makefile
index f3080db8ff6..2130db5b786 100644
--- a/devel/pedisassem/files/Makefile
+++ b/devel/pedisassem/files/Makefile
@@ -4,4 +4,6 @@ SRCS= decoder.c ieee.c main.c pedump.c print.c
NOMAN= yes
BINDIR= ${PREFIX}/bin
+NOGCCERROR=yes
+
.include <bsd.prog.mk>
diff --git a/devel/pedisassem/patches/patch-aa b/devel/pedisassem/patches/patch-aa
new file mode 100644
index 00000000000..2723a4e3916
--- /dev/null
+++ b/devel/pedisassem/patches/patch-aa
@@ -0,0 +1,18 @@
+--- disasm.h.orig Sat Mar 13 00:52:10 2004
++++ disasm.h Sat Mar 13 00:52:18 2004
+@@ -32,7 +32,7 @@
+ # include <stdio.h>
+ # include <stdarg.h>
+ # include <string.h>
+-# include <malloc.h>
++# include <stdlib.h>
+ # include <ctype.h>
+
+ # define pr1ntf(x) if(printMode==1)printf(x);else
+@@ -486,4 +486,4 @@
+ int print25case();
+
+ // functions in ieee.c
+-double ConvertFromIeeeExtended(PBYTE);
+\ No newline at end of file
++double ConvertFromIeeeExtended(PBYTE);