pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/rpm make sure to include stdlib where alloca() is...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c2628823864e
branches: trunk
changeset: 525460:c2628823864e
user: tonio <tonio%pkgsrc.org@localhost>
date: Sun Feb 18 11:17:03 2007 +0000
description:
make sure to include stdlib where alloca() is used, to fix build under freebsd,
to pick the builtin alloca
diffstat:
misc/rpm/Makefile | 4 ++--
misc/rpm/distinfo | 5 ++++-
misc/rpm/patches/patch-cf | 12 ++++++++++++
misc/rpm/patches/patch-cg | 12 ++++++++++++
4 files changed, 30 insertions(+), 3 deletions(-)
diffs (61 lines):
diff -r 57c9f010f26f -r c2628823864e misc/rpm/Makefile
--- a/misc/rpm/Makefile Sun Feb 18 11:10:45 2007 +0000
+++ b/misc/rpm/Makefile Sun Feb 18 11:17:03 2007 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.63 2006/10/22 06:42:43 rillig Exp $
+# $NetBSD: Makefile,v 1.64 2007/02/18 11:17:03 tonio Exp $
DISTNAME= rpm-2.5.4
-PKGREVISION= 5
+PKGREVISION= 6
CATEGORIES= misc
MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-2.5.x/
diff -r 57c9f010f26f -r c2628823864e misc/rpm/distinfo
--- a/misc/rpm/distinfo Sun Feb 18 11:10:45 2007 +0000
+++ b/misc/rpm/distinfo Sun Feb 18 11:17:03 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2005/02/24 11:02:58 agc Exp $
+$NetBSD: distinfo,v 1.9 2007/02/18 11:17:03 tonio Exp $
SHA1 (rpm-2.5.4.tar.gz) = a7fcd67883aec8d5f17483d5efebe7e5f5453462
RMD160 (rpm-2.5.4.tar.gz) = 6c9a46d370fe97c7fcf7f814db049ea2bba300da
@@ -14,3 +14,6 @@
SHA1 (patch-cb) = 30f98037c6a5ba753bc19b20564e177ad1e8c1a9
SHA1 (patch-cc) = d5955ec8b51950aadf930a62743601c2d4a0a127
SHA1 (patch-cd) = 30e28a8f9453d4a4553ed08eeb43ba049fb35567
+SHA1 (patch-ce) = 9cbf130f8f10b5c8368028cfab295d9c61db2e7c
+SHA1 (patch-cf) = 636b77cd05f9eb5083d11aa362a5b75d424014ad
+SHA1 (patch-cg) = bc094d702cb13b5c89d696770bbcaffaca3b853c
diff -r 57c9f010f26f -r c2628823864e misc/rpm/patches/patch-cf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/rpm/patches/patch-cf Sun Feb 18 11:17:03 2007 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-cf,v 1.1 2007/02/18 11:17:03 tonio Exp $
+
+--- lib/rebuilddb.c.orig Sun Sep 27 22:17:08 1998
++++ lib/rebuilddb.c
+@@ -3,6 +3,7 @@
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <sys/stat.h> /* for mkdir(2) !?! */
+ #include <unistd.h>
diff -r 57c9f010f26f -r c2628823864e misc/rpm/patches/patch-cg
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/rpm/patches/patch-cg Sun Feb 18 11:17:03 2007 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-cg,v 1.1 2007/02/18 11:17:03 tonio Exp $
+
+--- build.c.orig Thu Sep 24 22:23:16 1998
++++ build.c
+@@ -8,6 +8,7 @@
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <sys/stat.h>
+ #include <unistd.h>
Home |
Main Index |
Thread Index |
Old Index