diff options
author | joerg <joerg@pkgsrc.org> | 2007-09-16 20:55:31 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-09-16 20:55:31 +0000 |
commit | 22119eef72f8f6790efb0cb6ac097a11d6534e3d (patch) | |
tree | 0bf12c2570bb1ddfb84c7306f1491a3f529629be /net/libmms | |
parent | d374b5dd74c9523d417e0458db63d35591258d51 (diff) | |
download | pkgsrc-22119eef72f8f6790efb0cb6ac097a11d6534e3d.tar.gz |
malloc.h: evil
stdlib.h: good
using patches: better
Diffstat (limited to 'net/libmms')
-rw-r--r-- | net/libmms/Makefile | 10 | ||||
-rw-r--r-- | net/libmms/distinfo | 3 | ||||
-rw-r--r-- | net/libmms/patches/patch-aa | 13 |
3 files changed, 16 insertions, 10 deletions
diff --git a/net/libmms/Makefile b/net/libmms/Makefile index 9fe4eb8f6d4..2d355cead49 100644 --- a/net/libmms/Makefile +++ b/net/libmms/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2007/09/10 16:17:34 xtraeme Exp $ +# $NetBSD: Makefile,v 1.2 2007/09/16 20:55:31 joerg Exp $ # DISTNAME= libmms-0.3 @@ -15,14 +15,6 @@ USE_TOOLS+= pkg-config .include "../../mk/bsd.prefs.mk" -.if ${OPSYS} == "FreeBSD" -SUBST_CLASSES= includes -SUBST_STAGE.includes= post-patch -SUBST_FILES.includes= src/uri.c -SUBST_SED.includes= -e "s|malloc.h|stdlib.h|" -SUBST_MESSAGE.includes= Replacing malloc.h with stdlib.h for FreeBSD. -.endif - PKGCONFIG_OVERRIDE+= pkgconfig/libmms.pc.in .include "../../devel/glib2/buildlink3.mk" diff --git a/net/libmms/distinfo b/net/libmms/distinfo index ae97aa89ed1..6304dd33a3d 100644 --- a/net/libmms/distinfo +++ b/net/libmms/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2007/09/10 16:17:34 xtraeme Exp $ +$NetBSD: distinfo,v 1.2 2007/09/16 20:55:31 joerg Exp $ SHA1 (libmms-0.3.tar.gz) = a0774efbc91b6bb4ba2211bc4936bbbf798ec386 RMD160 (libmms-0.3.tar.gz) = 9de71af7ad5a056ce3554bdfcb5219504aa4d8e4 Size (libmms-0.3.tar.gz) = 342714 bytes +SHA1 (patch-aa) = 24bfc7a0b82761301f1a6a9a0095ec878009126f diff --git a/net/libmms/patches/patch-aa b/net/libmms/patches/patch-aa new file mode 100644 index 00000000000..91d6207f832 --- /dev/null +++ b/net/libmms/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2007/09/16 20:55:32 joerg Exp $ + +--- src/uri.c.orig 2007-09-16 20:32:33.000000000 +0000 ++++ src/uri.c +@@ -20,7 +20,7 @@ + /* FIXME: #include "gnet-private.h" */ + #include <glib.h> + #include <string.h> +-#include <malloc.h> ++#include <stdlib.h> + #include <ctype.h> + + #include "uri.h" |