diff options
author | tnn <tnn> | 2010-07-12 11:56:59 +0000 |
---|---|---|
committer | tnn <tnn> | 2010-07-12 11:56:59 +0000 |
commit | 1ac1ec89b513b9a5bff8bd858f99ed08a2f5f79f (patch) | |
tree | 98c88825421a6664d7c155edbe4c58c9159b93fc /www | |
parent | 8426fce468cf60024b8bbcdbace0221294660a58 (diff) | |
download | pkgsrc-1ac1ec89b513b9a5bff8bd858f99ed08a2f5f79f.tar.gz |
Add some DragonFlyBSD fixes, contributed by Francois Tigeot.
Diffstat (limited to 'www')
4 files changed, 68 insertions, 1 deletions
diff --git a/www/seamonkey/distinfo b/www/seamonkey/distinfo index 9287c695ab8..7a35e1ad162 100644 --- a/www/seamonkey/distinfo +++ b/www/seamonkey/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.50 2010/06/25 07:34:26 tnn Exp $ +$NetBSD: distinfo,v 1.51 2010/07/12 11:56:59 tnn Exp $ SHA1 (seamonkey-2.0.5.source.tar.bz2) = a2be375b89a7d1f641da285f1c8edb81c2831e7b RMD160 (seamonkey-2.0.5.source.tar.bz2) = ac8f03efa79ebd1c7f47434e0f8bfb79ff209f25 @@ -32,6 +32,9 @@ SHA1 (patch-ay) = 5aaeb992cab024fb2b6035ddee239a8534b23aee SHA1 (patch-az) = 0e04c1c740ad3f1462a6cda4a3832378acefb600 SHA1 (patch-ba) = fd28f3b24848e7221078ef692eef7ccae8625987 SHA1 (patch-bb) = 70d1d1fed2f611fa0185ca5736dae26c8cbc2f12 +SHA1 (patch-directory_c-sdk_configure.in) = 171cf70894cecf4cda149380deef2d859cb98d83 +SHA1 (patch-directory_c-sdk_ldap_include_portable.h) = f56ec8a4ce6a6a7b6c9423f6c3d914b70461a710 +SHA1 (patch-directory_c-sdk_ldap_libraries_libldap_Makefile.in) = ddc133cb552869c97d00ddea6f43e74ecf37e54e SHA1 (patch-ma) = 9b9bc5e5ced5831aa14e1549ed2ddf0b9c2ce986 SHA1 (patch-ma-toplevel) = 460326a0551fecd13ca188cff907c89cce359c31 SHA1 (patch-mb) = 8bdd47c4e57ae63c971766286ce8626d3341c92e diff --git a/www/seamonkey/patches/patch-directory_c-sdk_configure.in b/www/seamonkey/patches/patch-directory_c-sdk_configure.in new file mode 100644 index 00000000000..23d4fd35c04 --- /dev/null +++ b/www/seamonkey/patches/patch-directory_c-sdk_configure.in @@ -0,0 +1,23 @@ +$NetBSD$ + +Add DragonFly support. + +--- directory/c-sdk/configure.in.orig 2009-10-06 21:43:08.000000000 +0000 ++++ directory/c-sdk/configure.in +@@ -1233,6 +1233,16 @@ tools are selected during the Xcode/Deve + _DEBUG_FLAGS= + ;; + ++*-dragonfly*) ++ if test -z "$USE_NSPR_THREADS"; then ++ USE_PTHREADS=1 ++ fi ++ AC_DEFINE(XP_UNIX) ++ AC_DEFINE(DRAGONFLY) ++ DSO_CFLAGS=-fPIC ++ DSO_LDOPTS='-shared' ++ ;; ++ + *-freebsd*) + if test -z "$USE_NSPR_THREADS"; then + USE_PTHREADS=1 diff --git a/www/seamonkey/patches/patch-directory_c-sdk_ldap_include_portable.h b/www/seamonkey/patches/patch-directory_c-sdk_ldap_include_portable.h new file mode 100644 index 00000000000..f861e8529ab --- /dev/null +++ b/www/seamonkey/patches/patch-directory_c-sdk_ldap_include_portable.h @@ -0,0 +1,24 @@ +$NetBSD: patch-directory_c-sdk_ldap_include_portable.h,v 1.1 2010/07/12 11:57:00 tnn Exp $ + +Add DragonFly support. + +--- directory/c-sdk/ldap/include/portable.h.orig 2006-10-03 20:43:40.000000000 +0000 ++++ directory/c-sdk/ldap/include/portable.h +@@ -295,7 +295,7 @@ typedef char GETHOSTBYNAME_buf_t [NSLDAP + #elif defined(HPUX10) + #define GETHOSTBYNAME_BUF_T struct hostent_data + #define GETHOSTBYNAME( n, r, b, l, e ) nsldapi_compat_gethostbyname_r( n, r, (char *)&b, l, e ) +-#elif defined(LINUX) ++#elif defined(LINUX) || defined(DRAGONFLY) + typedef char GETHOSTBYNAME_buf_t [NSLDAPI_NETDB_BUF_SIZE]; + #define GETHOSTBYNAME_BUF_T GETHOSTBYNAME_buf_t + #define GETHOSTBYNAME( n, r, b, l, rp, e ) gethostbyname_r( n, r, b, l, rp, e ) +@@ -317,7 +317,7 @@ typedef char GETHOSTBYNAME_buf_t [NSLDAP + || defined(OSF1V4) || defined(AIX) || defined(UnixWare) \ + || defined(hpux) || defined(HPUX11) || defined(NETBSD) \ + || defined(IRIX6) || defined(FREEBSD) || defined(VMS) \ +- || defined(NTO) || defined(OPENBSD) ++ || defined(NTO) || defined(OPENBSD) || defined(DRAGONFLY) + #define NSLDAPI_CTIME( c, b, l ) ctime_r( c, b ) + #elif defined( OSF1V3 ) + #define NSLDAPI_CTIME( c, b, l ) (ctime_r( c, b, l ) ? NULL : b) diff --git a/www/seamonkey/patches/patch-directory_c-sdk_ldap_libraries_libldap_Makefile.in b/www/seamonkey/patches/patch-directory_c-sdk_ldap_libraries_libldap_Makefile.in new file mode 100644 index 00000000000..cbff051941c --- /dev/null +++ b/www/seamonkey/patches/patch-directory_c-sdk_ldap_libraries_libldap_Makefile.in @@ -0,0 +1,17 @@ +$NetBSD$ + +Add DragonFly support. + +--- directory/c-sdk/ldap/libraries/libldap/Makefile.in.orig 2008-12-24 09:39:55.000000000 +0000 ++++ directory/c-sdk/ldap/libraries/libldap/Makefile.in +@@ -262,6 +262,10 @@ ifeq ($(OS_ARCH), OpenBSD) + EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) -pthread + endif + ++ifeq ($(OS_ARCH), DragonFly) ++EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) ++endif ++ + ifeq ($(HAVE_SASL), 1) + EXTRA_LIBS += $(SASL_LINK) + endif |