diff options
author | asau <asau@pkgsrc.org> | 2012-05-29 20:50:35 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2012-05-29 20:50:35 +0000 |
commit | 6ba2026e236d54132167cecd633d8d09dc388d47 (patch) | |
tree | 4c93c42c4a96bd9dfd0f5762f727d2c221bd65c4 /lang | |
parent | ecc933fd9769b1dfebfe2a15edb1dfc1982f8550 (diff) | |
download | pkgsrc-6ba2026e236d54132167cecd633d8d09dc388d47.tar.gz |
Pull common standard definitions in one place.
Addresses PR 46496, inspired by original patch by Alexander Polakov.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/scm/Makefile | 4 | ||||
-rw-r--r-- | lang/scm/distinfo | 4 | ||||
-rw-r--r-- | lang/scm/patches/patch-ad | 80 |
3 files changed, 76 insertions, 12 deletions
diff --git a/lang/scm/Makefile b/lang/scm/Makefile index 698cc641a30..d46365f4f7c 100644 --- a/lang/scm/Makefile +++ b/lang/scm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2010/02/04 01:37:19 joerg Exp $ +# $NetBSD: Makefile,v 1.22 2012/05/29 20:50:35 asau Exp $ # # Convert the version number as follows 2d2 -> 2.4.2, where the d is # changed to a 4, representing the 4th letter. @@ -8,7 +8,7 @@ DISTNAME= scm5e3 PKGNAME= scm-5.5.3 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= lang MASTER_SITES= http://swissnet.ai.mit.edu/ftpdir/scm/ EXTRACT_SUFX= .zip diff --git a/lang/scm/distinfo b/lang/scm/distinfo index 99fdfaaa217..42ebda847c6 100644 --- a/lang/scm/distinfo +++ b/lang/scm/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2007/08/02 14:47:24 obache Exp $ +$NetBSD: distinfo,v 1.7 2012/05/29 20:50:35 asau Exp $ SHA1 (scm5e3.zip) = 3d7a0160357840c6a96ef9ded6fb31d92507561d RMD160 (scm5e3.zip) = 91f97bf4efd6bf734fe3e789762a90f20ad7b9b2 @@ -6,7 +6,7 @@ Size (scm5e3.zip) = 901866 bytes SHA1 (patch-aa) = 456277f5bbce1fd90c0683a6fa66d7946aa84d07 SHA1 (patch-ab) = 9b3b078bdebad4bc12bd52d6a2db202d5cf88f89 SHA1 (patch-ac) = 248981dd6fe1e099dc747d2dfca14671e60a9897 -SHA1 (patch-ad) = 8f5a993d4adcb053884985f966ceb2092999ff70 +SHA1 (patch-ad) = 3510daaa41a19539b196ae345f832b129bcaa0e5 SHA1 (patch-ae) = dc6691615dced4295ce1fa21dff5c1b955de858b SHA1 (patch-af) = 8b8d61bf9a20ae3185c2b63ed4f56649ee80d7dc SHA1 (patch-ag) = 2e5b570e7664d2193bfd7e8e25c7e565a7aaf793 diff --git a/lang/scm/patches/patch-ad b/lang/scm/patches/patch-ad index c945fb1e2ef..ba91051f2a6 100644 --- a/lang/scm/patches/patch-ad +++ b/lang/scm/patches/patch-ad @@ -1,13 +1,77 @@ -$NetBSD: patch-ad,v 1.1 2006/02/19 17:50:11 joerg Exp $ +$NetBSD: patch-ad,v 1.2 2012/05/29 20:50:35 asau Exp $ ---- findexec.c.orig 2006-02-08 17:53:00.000000000 +0000 -+++ findexec.c -@@ -78,7 +78,7 @@ Wed Feb 21 23:06:35 1996 Aubrey Jaffer +Pull common standard definitions in one place. + +--- findexec.c.orig 2002-06-02 08:54:47.000000000 +0400 ++++ findexec.c 2012-05-30 00:44:57.000000000 +0400 +@@ -41,68 +41,22 @@ + # ifndef PLAN9 + # include <sys/file.h> + # include <sys/param.h> +-# endif +-# ifdef linux +-# include <stdlib.h> ++# include <sys/types.h> + # include <sys/stat.h> +-# include <unistd.h> /* for X_OK define */ +-# endif +-# ifdef __SVR4 + # include <string.h> + # include <stdlib.h> +-# include <sys/stat.h> + # include <unistd.h> /* for X_OK define */ +-# else +-# ifdef __sgi__ +-# include <string.h> +-# include <stdlib.h> +-# include <sys/stat.h> +-# include <unistd.h> /* for X_OK define */ +-# else ++# endif + # ifdef PLAN9 + # include <u.h> + # include <libc.h> + # define getcwd getwd + # define MAXPATHLEN 256 /* arbitrary? */ + # define X_OK AEXEC +-# else +-# include <strings.h> + # endif +-# endif +-# endif +-# ifdef __amigaos__ +-# include <stdlib.h> +-# include <sys/stat.h> +-# include <unistd.h> +-# endif # ifndef __STDC__ # define const /**/ # endif -# ifdef __FreeBSD__ -+# if defined(__FreeBSD__) || defined(__DragonFly__) - /* This might be same for 44bsd derived system. */ - # include <sys/types.h> - # include <sys/stat.h> +-/* This might be same for 44bsd derived system. */ +-# include <sys/types.h> +-# include <sys/stat.h> +-# endif +-# ifdef __NetBSD__ +-# include <stdlib.h> +-# include <unistd.h> +-# endif +-# ifdef __OpenBSD__ +-/* This might be same for 44bsd derived system. */ +-# include <stdlib.h> +-# include <unistd.h> +-# include <sys/types.h> +-# include <sys/stat.h> +-# endif +-# ifdef __alpha +-# include <string.h> +-# include <stdlib.h> +-# include <sys/types.h> +-# include <sys/stat.h> +-# endif +-# ifdef GO32 +-# include <sys/stat.h> +-# endif + + # ifndef DEFAULT_PATH + # define DEFAULT_PATH ".:~/bin::/usr/local/bin:/usr/new:/usr/ucb:/usr/bin:/bin:/usr/hosts" |