pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/rpm no need to #include <malloc.h>.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/680c7c04ea20
branches:  trunk
changeset: 462939:680c7c04ea20
user:      grant <grant%pkgsrc.org@localhost>
date:      Sun Oct 19 16:05:21 2003 +0000

description:
no need to #include <malloc.h>.

fixes build on FreeBSD.

diffstat:

 misc/rpm/distinfo         |   6 +++++-
 misc/rpm/patches/patch-ca |  12 ++++++++++++
 misc/rpm/patches/patch-cb |  12 ++++++++++++
 misc/rpm/patches/patch-cc |  12 ++++++++++++
 misc/rpm/patches/patch-cd |  12 ++++++++++++
 5 files changed, 53 insertions(+), 1 deletions(-)

diffs (81 lines):

diff -r 70ed1bd60b61 -r 680c7c04ea20 misc/rpm/distinfo
--- a/misc/rpm/distinfo Sun Oct 19 10:24:05 2003 +0000
+++ b/misc/rpm/distinfo Sun Oct 19 16:05:21 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2001/07/15 22:38:15 jlam Exp $
+$NetBSD: distinfo,v 1.5 2003/10/19 16:05:21 grant Exp $
 
 SHA1 (rpm-2.5.4.tar.gz) = a7fcd67883aec8d5f17483d5efebe7e5f5453462
 Size (rpm-2.5.4.tar.gz) = 727849 bytes
@@ -9,3 +9,7 @@
 SHA1 (patch-bb) = dc0ea2dd366b793003218858ca3d67bc285a2089
 SHA1 (patch-bc) = 95a27125f8e17a5433bab273958d49ec3e0f3376
 SHA1 (patch-bd) = 1c9cd4587314ee45bccdf08c6ecaabbe641aaa5d
+SHA1 (patch-ca) = 7f4b008eee3b9f1bd3abc49686f70a327376af55
+SHA1 (patch-cb) = 30f98037c6a5ba753bc19b20564e177ad1e8c1a9
+SHA1 (patch-cc) = d5955ec8b51950aadf930a62743601c2d4a0a127
+SHA1 (patch-cd) = 30e28a8f9453d4a4553ed08eeb43ba049fb35567
diff -r 70ed1bd60b61 -r 680c7c04ea20 misc/rpm/patches/patch-ca
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/rpm/patches/patch-ca Sun Oct 19 16:05:21 2003 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ca,v 1.1 2003/10/19 16:05:21 grant Exp $
+
+--- build/files.c.orig 1998-09-28 06:16:39.000000000 +1000
++++ build/files.c
+@@ -7,7 +7,6 @@
+ #endif
+ 
+ #include <string.h>
+-#include <malloc.h>
+ #include <stdlib.h>
+ #include <sys/types.h>
+ #include <regex.h>
diff -r 70ed1bd60b61 -r 680c7c04ea20 misc/rpm/patches/patch-cb
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/rpm/patches/patch-cb Sun Oct 19 16:05:21 2003 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-cb,v 1.1 2003/10/19 16:05:21 grant Exp $
+
+--- build/pack.c.orig  1998-09-28 06:16:43.000000000 +1000
++++ build/pack.c
+@@ -4,7 +4,6 @@
+ #include <sys/stat.h>
+ #include <sys/wait.h>
+ #include <fcntl.h>
+-#include <malloc.h>
+ #include <string.h>
+ #include <errno.h>
+ #include <signal.h>
diff -r 70ed1bd60b61 -r 680c7c04ea20 misc/rpm/patches/patch-cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/rpm/patches/patch-cc Sun Oct 19 16:05:21 2003 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-cc,v 1.1 2003/10/19 16:05:21 grant Exp $
+
+--- build/parseScript.c.orig   1998-09-28 06:16:53.000000000 +1000
++++ build/parseScript.c
+@@ -1,6 +1,6 @@
+ #include "config.h"
+ 
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <string.h>
+ 
+ #include "intl.h"
diff -r 70ed1bd60b61 -r 680c7c04ea20 misc/rpm/patches/patch-cd
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/rpm/patches/patch-cd Sun Oct 19 16:05:21 2003 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-cd,v 1.1 2003/10/19 16:05:21 grant Exp $
+
+--- build/spec.c.orig  1998-09-28 06:16:58.000000000 +1000
++++ build/spec.c
+@@ -1,7 +1,6 @@
+ #include "config.h"
+ 
+ #include <stdlib.h>
+-#include <malloc.h>
+ #include <string.h>
+ 
+ #include "files.h"



Home | Main Index | Thread Index | Old Index