summaryrefslogtreecommitdiff
path: root/misc/rpm
diff options
context:
space:
mode:
authortonio <tonio>2007-02-18 11:17:03 +0000
committertonio <tonio>2007-02-18 11:17:03 +0000
commit9e0d3488ebd2336074be57c7768f611930afa1cc (patch)
tree3147ade56b9243629510fd80894593d0d29d8a5a /misc/rpm
parente55ad896a5d8b385c86c4cd5d5eca2fc2a22bb17 (diff)
downloadpkgsrc-9e0d3488ebd2336074be57c7768f611930afa1cc.tar.gz
make sure to include stdlib where alloca() is used, to fix build under freebsd,
to pick the builtin alloca
Diffstat (limited to 'misc/rpm')
-rw-r--r--misc/rpm/Makefile4
-rw-r--r--misc/rpm/distinfo5
-rw-r--r--misc/rpm/patches/patch-cf12
-rw-r--r--misc/rpm/patches/patch-cg12
4 files changed, 30 insertions, 3 deletions
diff --git a/misc/rpm/Makefile b/misc/rpm/Makefile
index 1cb68225023..8228303721d 100644
--- a/misc/rpm/Makefile
+++ b/misc/rpm/Makefile
@@ -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 --git a/misc/rpm/distinfo b/misc/rpm/distinfo
index a9d1470aa34..62a94617f32 100644
--- a/misc/rpm/distinfo
+++ b/misc/rpm/distinfo
@@ -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-ca) = 7f4b008eee3b9f1bd3abc49686f70a327376af55
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 --git a/misc/rpm/patches/patch-cf b/misc/rpm/patches/patch-cf
new file mode 100644
index 00000000000..e844f3e85da
--- /dev/null
+++ b/misc/rpm/patches/patch-cf
@@ -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 --git a/misc/rpm/patches/patch-cg b/misc/rpm/patches/patch-cg
new file mode 100644
index 00000000000..a504d0af63a
--- /dev/null
+++ b/misc/rpm/patches/patch-cg
@@ -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>