diff options
author | bland <bland@FreeBSD.org> | 2003-12-08 09:24:48 +0000 |
---|---|---|
committer | bland <bland@FreeBSD.org> | 2003-12-08 09:24:48 +0000 |
commit | 25cf50efb3fe03408686ea9d5911aa8b35d48947 (patch) | |
tree | 033a55b8939e6a45347cfdcaac9c3af343b6ede8 /lang | |
parent | d8e18e89635eb5a367e8502336e2beaa5334293c (diff) | |
download | FreeBSD-ports-25cf50efb3fe03408686ea9d5911aa8b35d48947.zip FreeBSD-ports-25cf50efb3fe03408686ea9d5911aa8b35d48947.tar.gz |
Enable crypt(3) support.
Submitted by: Alexey Antipov <rabbit@lipetsk.ru>
Diffstat (limited to 'lang')
-rw-r--r-- | lang/guile/Makefile | 2 | ||||
-rw-r--r-- | lang/guile/files/patch-libguile::posix.c | 31 |
2 files changed, 32 insertions, 1 deletions
diff --git a/lang/guile/Makefile b/lang/guile/Makefile index 5964887..85211ba 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 0000000..50a23de --- /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, |