diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-11-08 03:19:45 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-11-08 03:19:45 +0000 |
commit | d724fca185a84b3a9e26a0f0c2156752b2183584 (patch) | |
tree | 5736bf8db65f5d505c9d5fda4d76db6592e978c9 /devel/bennugd-core/files | |
parent | d0221f9ce41e855b4b8840cf36270dada698df04 (diff) | |
download | ports-d724fca185a84b3a9e26a0f0c2156752b2183584.tar.gz ports-d724fca185a84b3a9e26a0f0c2156752b2183584.zip |
Notes
Diffstat (limited to 'devel/bennugd-core/files')
-rw-r--r-- | devel/bennugd-core/files/bgdc.in | 5 | ||||
-rw-r--r-- | devel/bennugd-core/files/bgdi.in | 5 | ||||
-rw-r--r-- | devel/bennugd-core/files/patch-bgdrtm-src-dirs.c | 13 | ||||
-rw-r--r-- | devel/bennugd-core/files/patch-configure | 60 | ||||
-rw-r--r-- | devel/bennugd-core/files/patch-include-crypt.h | 11 |
5 files changed, 94 insertions, 0 deletions
diff --git a/devel/bennugd-core/files/bgdc.in b/devel/bennugd-core/files/bgdc.in new file mode 100644 index 000000000000..ae6b5b921c37 --- /dev/null +++ b/devel/bennugd-core/files/bgdc.in @@ -0,0 +1,5 @@ +#!/bin/sh + +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%%PREFIX%%/lib/bennugd + +exec %%PREFIX%%/libexec/bgdc "$@" diff --git a/devel/bennugd-core/files/bgdi.in b/devel/bennugd-core/files/bgdi.in new file mode 100644 index 000000000000..2b27e3e75c21 --- /dev/null +++ b/devel/bennugd-core/files/bgdi.in @@ -0,0 +1,5 @@ +#!/bin/sh + +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%%PREFIX%%/lib/bennugd + +exec %%PREFIX%%/libexec/bgdi "$@" diff --git a/devel/bennugd-core/files/patch-bgdrtm-src-dirs.c b/devel/bennugd-core/files/patch-bgdrtm-src-dirs.c new file mode 100644 index 000000000000..14db56ebe5cb --- /dev/null +++ b/devel/bennugd-core/files/patch-bgdrtm-src-dirs.c @@ -0,0 +1,13 @@ +--- bgdrtm/src/dirs.c.orig 2009-07-09 05:10:52.000000000 +0400 ++++ bgdrtm/src/dirs.c 2009-11-06 05:50:02.000000000 +0300 +@@ -230,9 +230,7 @@ + /* Convert *.* to * */
+ if ( fptr > path_final + 2 && fptr[ -1 ] == '*' && fptr[ -2 ] == '.' && fptr[ -3 ] == '*' ) fptr[ -2 ] = 0;
+
+-#if defined(TARGET_MAC)
+- glob( path_final, GLOB_ERR | GLOB_NOSORT, NULL, &hDir->globd );
+-#elif defined(TARGET_BEOS)
++#if defined(TARGET_MAC) || defined(TARGET_BEOS) || defined(TARGET_BSD)
+ glob( path_final, GLOB_ERR | GLOB_NOSORT, NULL, &hDir->globd );
+ #else
+ glob( path_final, GLOB_ERR | GLOB_PERIOD | GLOB_NOSORT, NULL, &hDir->globd );
diff --git a/devel/bennugd-core/files/patch-configure b/devel/bennugd-core/files/patch-configure new file mode 100644 index 000000000000..e13174f974ea --- /dev/null +++ b/devel/bennugd-core/files/patch-configure @@ -0,0 +1,60 @@ +--- configure.orig 2009-07-22 06:02:45.000000000 +0400 ++++ configure 2009-11-06 06:00:29.000000000 +0300 +@@ -10929,7 +10929,7 @@ + COMMON_LDFLAGS="-L/usr/i586-mingw32msvc/lib -lshlwapi" + ;; + +- dragonfly*) ++ freebsd* | dragonfly*) + INCLUDES="-I/usr/local/include" + COMMON_CFLAGS="-Wall -DTARGET_BSD" + COMMON_LDFLAGS="-L/usr/local/lib -lpthread" +@@ -12461,13 +12461,13 @@ + { (exit 1); exit 1; }; } + fi + +-{ $as_echo "$as_me:$LINENO: checking for des_ecb_encrypt in -ldes" >&5 +-$as_echo_n "checking for des_ecb_encrypt in -ldes... " >&6; } ++{ $as_echo "$as_me:$LINENO: checking for des_ecb_encrypt in -lcrypto" >&5 ++$as_echo_n "checking for des_ecb_encrypt in -lcrypto... " >&6; } + if test "${ac_cv_lib_des_des_ecb_encrypt+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-ldes $LIBS" ++LIBS="-lcrypto $LIBS" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF +@@ -12481,11 +12481,11 @@ + #ifdef __cplusplus + extern "C" + #endif +-char des_ecb_encrypt (); ++char DES_ecb_encrypt (); + int + main () + { +-return des_ecb_encrypt (); ++return DES_ecb_encrypt(); + ; + return 0; + } +@@ -12587,7 +12587,7 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ +-#include <des.h> ++#include <openssl/des.h> + _ACEOF + if { (ac_try="$ac_cpp conftest.$ac_ext" + case "(($ac_try" in +@@ -12655,7 +12655,7 @@ + + fi + if test "x$ac_cv_header_des_h" = x""yes; then +- DESLIBS="-ldes" ++ DESLIBS="-lcrypto" + fi + + diff --git a/devel/bennugd-core/files/patch-include-crypt.h b/devel/bennugd-core/files/patch-include-crypt.h new file mode 100644 index 000000000000..3939740a1dbb --- /dev/null +++ b/devel/bennugd-core/files/patch-include-crypt.h @@ -0,0 +1,11 @@ +--- include/crypt.h.orig 2009-07-02 04:20:53.000000000 +0400 ++++ include/crypt.h 2009-11-06 05:52:32.000000000 +0300 +@@ -24,7 +24,7 @@ +
+ /* ------------------------------------------------------------------------- */
+
+-#include <des.h>
++#include <openssl/des.h>
+
+ /* ------------------------------------------------------------------------- */
+
|