diff options
author | agc <agc@pkgsrc.org> | 1997-10-13 14:59:15 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1997-10-13 14:59:15 +0000 |
commit | f83d70e8397d3294bfe09a2ced147b334f2ede75 (patch) | |
tree | 2b8c8f4306d9b972592bd6dc20cb3553d474227b /misc/rpm | |
parent | a996542f28c511dab71f5cec886d55f7868e2133 (diff) | |
download | pkgsrc-f83d70e8397d3294bfe09a2ced147b334f2ede75.tar.gz |
Remove obsolete patch to include <malloc.h> - this has been fixed in
the distribution sources.
Add a new patch to lib/rpmrc.c to include <sys/time.h> before
including <sys/resource.h>
Add a patch to po/Makefile.in to use mkdir to create a directory,
rather than $(INSTALL).
Diffstat (limited to 'misc/rpm')
-rw-r--r-- | misc/rpm/patches/patch-ab | 33 |
1 files changed, 25 insertions, 8 deletions
diff --git a/misc/rpm/patches/patch-ab b/misc/rpm/patches/patch-ab index bcdb0e7575c..dcff547be56 100644 --- a/misc/rpm/patches/patch-ab +++ b/misc/rpm/patches/patch-ab @@ -1,10 +1,27 @@ ---- lib/header.c.orig Thu Jan 16 17:20:50 1997 -+++ lib/header.c Thu Jan 23 17:18:34 1997 -@@ -9,7 +9,6 @@ +--- lib/rpmrc.c 1997/10/13 14:28:44 1.1 ++++ lib/rpmrc.c 1997/10/13 14:31:38 +@@ -5,6 +5,12 @@ + # include <alloca.h> + #endif - #include <stdlib.h> ++#include <sys/param.h> ++ ++#if (defined(BSD) && BSD >= 199306) ++#include <sys/time.h> ++#endif ++ #include <ctype.h> --#include <malloc.h> - #include <string.h> - #include <unistd.h> - #include <netinet/in.h> + #include <errno.h> + #include <fcntl.h> +--- po/Makefile.in 1997/10/13 14:37:47 1.1 ++++ po/Makefile.in 1997/10/13 14:39:08 +@@ -58,8 +58,7 @@ + install: + for n in $(CATALOGS); do \ + l=`basename $$n .mo`; \ +- $(INSTALL) -m 755 -d $(installprefix)/$(RPMNLSDIR)/$$l; \ +- $(INSTALL) -m 755 -d $(installprefix)/$(RPMNLSDIR)/$$l/LC_MESSAGES; \ ++ mkdir -p $(installprefix)/$(RPMNLSDIR)/$$l/LC_MESSAGES; \ + $(INSTALL) -m 644 $$n $(installprefix)/$(RPMNLSDIR)/$$l/LC_MESSAGES/rpm.mo; \ + done + |