summaryrefslogtreecommitdiff
path: root/devel/gnustep-make
diff options
context:
space:
mode:
authorrh <rh>2004-11-24 02:37:32 +0000
committerrh <rh>2004-11-24 02:37:32 +0000
commit62691da80a1b9cbf0ecbb8fd396567352d62cf72 (patch)
tree02ad558e191fc99cdb6b6b6f6211a5d719327470 /devel/gnustep-make
parent403d538716bdd2ef600883a0253135d5a97c72b2 (diff)
downloadpkgsrc-62691da80a1b9cbf0ecbb8fd396567352d62cf72.tar.gz
Fix bogus double pwent reuse and make user lookup actually work in
'user_home'. Bump PKGREVISION.
Diffstat (limited to 'devel/gnustep-make')
-rw-r--r--devel/gnustep-make/Makefile3
-rw-r--r--devel/gnustep-make/distinfo3
-rw-r--r--devel/gnustep-make/patches/patch-ab22
3 files changed, 26 insertions, 2 deletions
diff --git a/devel/gnustep-make/Makefile b/devel/gnustep-make/Makefile
index b3cef7f4d0a..781874be2b2 100644
--- a/devel/gnustep-make/Makefile
+++ b/devel/gnustep-make/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2004/09/24 01:24:31 rh Exp $
+# $NetBSD: Makefile,v 1.17 2004/11/24 02:37:32 rh Exp $
DISTNAME= gnustep-make-1.10.0
+PKGREVISION= 1
CATEGORIES= devel gnustep
MASTER_SITES= ftp://ftp.gnustep.org/pub/gnustep/core/
diff --git a/devel/gnustep-make/distinfo b/devel/gnustep-make/distinfo
index 6614d52564c..4f764faf613 100644
--- a/devel/gnustep-make/distinfo
+++ b/devel/gnustep-make/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.10 2004/09/24 01:24:31 rh Exp $
+$NetBSD: distinfo,v 1.11 2004/11/24 02:37:32 rh Exp $
SHA1 (gnustep-make-1.10.0.tar.gz) = 24a4a948d834f8d12173a394ee3966a05f6a6f5f
Size (gnustep-make-1.10.0.tar.gz) = 372852 bytes
SHA1 (patch-aa) = 4969ea2cbd61e4bc2dab109abcbbdf5177ebdd8c
+SHA1 (patch-ab) = ee585d5bb5d12f72dff3f0fd3f4c356a8522da38
SHA1 (patch-ac) = d7616f27ed876125348a3c6c001b3f02029a89d8
SHA1 (patch-ad) = 4793cb5c75062e6c9b79f9190791f3bfc393779a
SHA1 (patch-ae) = b7af49c45fed5fb72a7b455b533a23e78f6f20ce
diff --git a/devel/gnustep-make/patches/patch-ab b/devel/gnustep-make/patches/patch-ab
new file mode 100644
index 00000000000..218af331686
--- /dev/null
+++ b/devel/gnustep-make/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.4 2004/11/24 02:37:32 rh Exp $
+
+--- user_home.c.orig 2004-09-04 06:27:56.000000000 +1000
++++ user_home.c
+@@ -140,6 +140,7 @@ int main (int argc, char** argv)
+ #endif /* HAVE_GETEUID */
+ struct passwd *pwent = getpwuid (uid);
+ loginName = pwent->pw_name;
++ pw = pwent;
+ #endif /* HAVE_GETPWUID */
+ #endif
+ if (loginName == 0)
+@@ -150,7 +151,9 @@ int main (int argc, char** argv)
+ }
+
+ #if !defined(__MINGW__)
++#if !HAVE_GETPWUID
+ pw = getpwnam (loginName);
++#endif
+ if (pw == 0)
+ {
+ fprintf(stderr, "Unable to locate home directory for '%s'\n", loginName);