pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/libmms malloc.h: evil
details: https://anonhg.NetBSD.org/pkgsrc/rev/de575d77ff42
branches: trunk
changeset: 533371:de575d77ff42
user: joerg <joerg%pkgsrc.org@localhost>
date: Sun Sep 16 20:55:31 2007 +0000
description:
malloc.h: evil
stdlib.h: good
using patches: better
diffstat:
net/libmms/Makefile | 10 +---------
net/libmms/distinfo | 3 ++-
net/libmms/patches/patch-aa | 13 +++++++++++++
3 files changed, 16 insertions(+), 10 deletions(-)
diffs (52 lines):
diff -r 9a8d5eb5bd8e -r de575d77ff42 net/libmms/Makefile
--- a/net/libmms/Makefile Sun Sep 16 19:54:51 2007 +0000
+++ b/net/libmms/Makefile Sun Sep 16 20:55:31 2007 +0000
@@ -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 @@
.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 -r 9a8d5eb5bd8e -r de575d77ff42 net/libmms/distinfo
--- a/net/libmms/distinfo Sun Sep 16 19:54:51 2007 +0000
+++ b/net/libmms/distinfo Sun Sep 16 20:55:31 2007 +0000
@@ -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 -r 9a8d5eb5bd8e -r de575d77ff42 net/libmms/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libmms/patches/patch-aa Sun Sep 16 20:55:31 2007 +0000
@@ -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"
Home |
Main Index |
Thread Index |
Old Index