pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/pedisassem s/malloc.h/stdlib.h/ for darwin/freebsd



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c72d8a828eb8
branches:  trunk
changeset: 474886:c72d8a828eb8
user:      danw <danw%pkgsrc.org@localhost>
date:      Fri May 07 01:54:16 2004 +0000

description:
s/malloc.h/stdlib.h/ for darwin/freebsd
also make it build without -Werror since newer versions of gcc
complain about some of the code

diffstat:

 devel/pedisassem/distinfo         |   3 ++-
 devel/pedisassem/files/Makefile   |   2 ++
 devel/pedisassem/patches/patch-aa |  18 ++++++++++++++++++
 3 files changed, 22 insertions(+), 1 deletions(-)

diffs (42 lines):

diff -r 2f37550f40f7 -r c72d8a828eb8 devel/pedisassem/distinfo
--- a/devel/pedisassem/distinfo Fri May 07 01:50:15 2004 +0000
+++ b/devel/pedisassem/distinfo Fri May 07 01:54:16 2004 +0000
@@ -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 -r 2f37550f40f7 -r c72d8a828eb8 devel/pedisassem/files/Makefile
--- a/devel/pedisassem/files/Makefile   Fri May 07 01:50:15 2004 +0000
+++ b/devel/pedisassem/files/Makefile   Fri May 07 01:54:16 2004 +0000
@@ -4,4 +4,6 @@
 NOMAN= yes
 BINDIR=        ${PREFIX}/bin
 
+NOGCCERROR=yes
+
 .include <bsd.prog.mk>
diff -r 2f37550f40f7 -r c72d8a828eb8 devel/pedisassem/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/pedisassem/patches/patch-aa Fri May 07 01:54:16 2004 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index