diff options
Diffstat (limited to 'devel/bennugd-modules/files')
-rw-r--r-- | devel/bennugd-modules/files/patch-configure | 60 | ||||
-rw-r--r-- | devel/bennugd-modules/files/patch-include-crypt.h | 11 | ||||
-rw-r--r-- | devel/bennugd-modules/files/patch-mod_mem-mod_mem.c | 20 |
3 files changed, 91 insertions, 0 deletions
diff --git a/devel/bennugd-modules/files/patch-configure b/devel/bennugd-modules/files/patch-configure new file mode 100644 index 000000000000..e4119a7e6a3c --- /dev/null +++ b/devel/bennugd-modules/files/patch-configure @@ -0,0 +1,60 @@ +--- configure.orig 2009-07-22 06:02:45.000000000 +0400 ++++ configure 2009-11-06 06:10:30.000000000 +0300 +@@ -10946,7 +10946,7 @@ + COMMON_LDFLAGS="-L/usr/i586-mingw32msvc/lib -lshlwapi" + ;; + +- dragonfly*) ++ freebsd* | dragonfly*) + COMMON_CFLAGS="-I/usr/local/include -Wall -DTARGET_BSD" + COMMON_LDFLAGS="-pthread -L/usr/local/lib" + ;; +@@ -13073,13 +13073,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 +@@ -13093,11 +13093,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; + } +@@ -13199,7 +13199,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 +@@ -13267,7 +13267,7 @@ + + fi + if test "x$ac_cv_header_des_h" = x""yes; then +- DESLIBS="-ldes" ++ DESLIBS="-lcrypto" + fi + + diff --git a/devel/bennugd-modules/files/patch-include-crypt.h b/devel/bennugd-modules/files/patch-include-crypt.h new file mode 100644 index 000000000000..5203fe4b806e --- /dev/null +++ b/devel/bennugd-modules/files/patch-include-crypt.h @@ -0,0 +1,11 @@ +--- ../core/include/crypt.h.orig 2009-07-02 04:20:53.000000000 +0400 ++++ ../core/include/crypt.h 2009-11-06 05:52:32.000000000 +0300 +@@ -24,7 +24,7 @@ +
+ /* ------------------------------------------------------------------------- */
+
+-#include <des.h>
++#include <openssl/des.h>
+
+ /* ------------------------------------------------------------------------- */
+
diff --git a/devel/bennugd-modules/files/patch-mod_mem-mod_mem.c b/devel/bennugd-modules/files/patch-mod_mem-mod_mem.c new file mode 100644 index 000000000000..bd50f146a618 --- /dev/null +++ b/devel/bennugd-modules/files/patch-mod_mem-mod_mem.c @@ -0,0 +1,20 @@ +--- mod_mem/mod_mem.c.orig 2009-06-15 22:34:24.000000000 +0400 ++++ mod_mem/mod_mem.c 2009-11-06 06:28:55.000000000 +0300 +@@ -128,7 +128,7 @@ + get_system_info( &info );
+ return B_PAGE_SIZE * ( info.max_pages - info.used_pages );
+
+-#elif !defined(TARGET_MAC)
++#elif !defined(TARGET_MAC) && !defined(TARGET_BSD)
+ /* Linux and other Unix (?) */
+ struct sysinfo meminf;
+ int fv;
+@@ -166,7 +166,7 @@ + get_system_info( &info );
+ return B_PAGE_SIZE * ( info.max_pages );
+
+-#elif !defined(TARGET_MAC)
++#elif !defined(TARGET_MAC) && !defined(TARGET_BSD)
+ /* Linux and other Unix (?) */
+ struct sysinfo meminf;
+ int fv;
|