aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorAlexander Nedotsukov <bland@FreeBSD.org>2003-12-08 09:24:48 +0000
committerAlexander Nedotsukov <bland@FreeBSD.org>2003-12-08 09:24:48 +0000
commit1d556206a314b20b092e30f9c5f3b4dde2b95e05 (patch)
tree5c5c323d0d2dda2318f600129669cf3158b9d51d /lang
parent37c785f450d8f557c6a5364ae4b5a61f9eb6bb94 (diff)
downloadports-1d556206a314b20b092e30f9c5f3b4dde2b95e05.tar.gz
ports-1d556206a314b20b092e30f9c5f3b4dde2b95e05.zip
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/guile/Makefile2
-rw-r--r--lang/guile/files/patch-libguile::posix.c31
2 files changed, 32 insertions, 1 deletions
diff --git a/lang/guile/Makefile b/lang/guile/Makefile
index 5964887afa79..85211ba901b5 100644
--- a/lang/guile/Makefile
+++ b/lang/guile/Makefile
@@ -7,7 +7,7 @@
PORTNAME= guile
PORTVERSION= 1.6.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= lang scheme
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= guile
diff --git a/lang/guile/files/patch-libguile::posix.c b/lang/guile/files/patch-libguile::posix.c
new file mode 100644
index 000000000000..50a23dee7157
--- /dev/null
+++ b/lang/guile/files/patch-libguile::posix.c
@@ -0,0 +1,31 @@
+--- libguile/posix.c.orig Mon Dec 8 17:26:35 2003
++++ libguile/posix.c Mon Dec 8 17:31:20 2003
+@@ -147,10 +147,6 @@
+ #include <locale.h>
+ #endif
+
+-#if HAVE_LIBCRYPT && HAVE_CRYPT_H
+-# include <crypt.h>
+-#endif
+-
+ #if HAVE_SYS_RESOURCE_H
+ # include <sys/resource.h>
+ #endif
+@@ -1343,7 +1339,7 @@
+ #undef FUNC_NAME
+ #endif /* HAVE_SYNC */
+
+-#if HAVE_LIBCRYPT && HAVE_CRYPT_H
++#if HAVE_LIBCRYPT
+ SCM_DEFINE (scm_crypt, "crypt", 2, 0, 0,
+ (SCM key, SCM salt),
+ "Encrypt @var{key} using @var{salt} as the salt value to the\n"
+@@ -1361,7 +1357,7 @@
+ return scm_makfrom0str (p);
+ }
+ #undef FUNC_NAME
+-#endif /* HAVE_LIBCRYPT && HAVE_CRYPT_H */
++#endif /* HAVE_LIBCRYPT */
+
+ #if HAVE_CHROOT
+ SCM_DEFINE (scm_chroot, "chroot", 1, 0, 0,