pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/librep Fix errno. Add DragonFly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e47df712cd0a
branches:  trunk
changeset: 504493:e47df712cd0a
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Dec 11 23:12:11 2005 +0000

description:
Fix errno. Add DragonFly.

diffstat:

 lang/librep/distinfo         |    4 +-
 lang/librep/patches/patch-aa |  101 +++++++++++++++++++++++++++++++++++++++++++
 lang/librep/patches/patch-ab |   18 +++++++
 3 files changed, 122 insertions(+), 1 deletions(-)

diffs (140 lines):

diff -r ddd055d18c61 -r e47df712cd0a lang/librep/distinfo
--- a/lang/librep/distinfo      Sun Dec 11 23:11:47 2005 +0000
+++ b/lang/librep/distinfo      Sun Dec 11 23:12:11 2005 +0000
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.10 2005/02/24 09:03:09 agc Exp $
+$NetBSD: distinfo,v 1.11 2005/12/11 23:12:11 joerg Exp $
 
 SHA1 (librep-0.17.tar.gz) = 00ae330eca0fdfb117797036f499dec61f868431
 RMD160 (librep-0.17.tar.gz) = 2239837386700ed4893fa91b684192cb8721a2d1
 Size (librep-0.17.tar.gz) = 1195890 bytes
+SHA1 (patch-aa) = 4914b74e5e2b8f413b7c0b759efd464fb7b921dc
+SHA1 (patch-ab) = 5c9c56a05a5c1adc88ce29f199051e9c61b972f8
 SHA1 (patch-ac) = 562f8a25b2da564fa4372101bfa1199b0c755ee3
diff -r ddd055d18c61 -r e47df712cd0a lang/librep/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/librep/patches/patch-aa      Sun Dec 11 23:12:11 2005 +0000
@@ -0,0 +1,101 @@
+$NetBSD: patch-aa,v 1.9 2005/12/11 23:12:11 joerg Exp $
+
+--- configure.orig     2005-12-11 22:49:43.000000000 +0000
++++ configure
+@@ -3311,13 +3311,13 @@ darwin* | rhapsody*)
+   lt_cv_deplibs_check_method=pass_all
+   ;;
+ 
+-freebsd* | kfreebsd*-gnu)
++freebsd* | kfreebsd*-gnu | dragonfly*)
+   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+     case $host_cpu in
+     i*86 )
+       # Not sure whether the presence of OpenBSD here was a mistake.
+       # Let's accept both of them until this is cleared up.
+-      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
++      lt_cv_deplibs_check_method='file_magic (DragonFly|FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
+       lt_cv_file_magic_cmd=/usr/bin/file
+       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+       ;;
+@@ -6562,7 +6562,7 @@ if test -z "$aix_libpath"; then aix_libp
+       ;;
+ 
+     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+-    freebsd* | kfreebsd*-gnu)
++    freebsd* | kfreebsd*-gnu | dragonfly*)
+       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+       hardcode_libdir_flag_spec='-R$libdir'
+       hardcode_direct=yes
+@@ -7140,7 +7140,7 @@ kfreebsd*-gnu)
+   dynamic_linker='GNU ld.so'
+   ;;
+ 
+-freebsd*)
++freebsd* | dragonfly*)
+   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+   version_type=freebsd-$objformat
+   case $version_type in
+@@ -9392,7 +9392,7 @@ if test -z "$aix_libpath"; then aix_libp
+   freebsd-elf*)
+     archive_cmds_need_lc_CXX=no
+     ;;
+-  freebsd* | kfreebsd*-gnu)
++  freebsd* | kfreebsd*-gnu | dragonfly*)
+     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
+     # conventions
+     ld_shlibs_CXX=yes
+@@ -10099,7 +10099,7 @@ echo $ECHO_N "checking for $compiler opt
+           ;;
+       esac
+       ;;
+-      freebsd* | kfreebsd*-gnu)
++      freebsd* | kfreebsd*-gnu | dragonfly*)
+       # FreeBSD uses GNU C++
+       ;;
+       hpux9* | hpux10* | hpux11*)
+@@ -10717,7 +10717,7 @@ kfreebsd*-gnu)
+   dynamic_linker='GNU ld.so'
+   ;;
+ 
+-freebsd*)
++freebsd* | dragonfly*)
+   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+   version_type=freebsd-$objformat
+   case $version_type in
+@@ -13165,7 +13165,7 @@ if test -z "$aix_libpath"; then aix_libp
+       ;;
+ 
+     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+-    freebsd* | kfreebsd*-gnu)
++    freebsd* | kfreebsd*-gnu | dragonfly*)
+       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+       hardcode_libdir_flag_spec_F77='-R$libdir'
+       hardcode_direct_F77=yes
+@@ -13743,7 +13743,7 @@ kfreebsd*-gnu)
+   dynamic_linker='GNU ld.so'
+   ;;
+ 
+-freebsd*)
++freebsd* | dragonfly*)
+   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+   version_type=freebsd-$objformat
+   case $version_type in
+@@ -15477,7 +15477,7 @@ if test -z "$aix_libpath"; then aix_libp
+       ;;
+ 
+     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+-    freebsd* | kfreebsd*-gnu)
++    freebsd* | kfreebsd*-gnu | dragonfly*)
+       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+       hardcode_libdir_flag_spec_GCJ='-R$libdir'
+       hardcode_direct_GCJ=yes
+@@ -16055,7 +16055,7 @@ kfreebsd*-gnu)
+   dynamic_linker='GNU ld.so'
+   ;;
+ 
+-freebsd*)
++freebsd* | dragonfly*)
+   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+   version_type=freebsd-$objformat
+   case $version_type in
diff -r ddd055d18c61 -r e47df712cd0a lang/librep/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/librep/patches/patch-ab      Sun Dec 11 23:12:11 2005 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-ab,v 1.3 2005/12/11 23:12:11 joerg Exp $
+
+--- src/sdbm.c.orig    2005-12-11 22:58:32.000000000 +0000
++++ src/sdbm.c
+@@ -37,13 +37,6 @@ static char rcsid[] = "$Id: sdbm.c,v 1.2
+ #endif
+ 
+ /*
+- * externals
+- */
+-#ifndef sun
+-extern int errno;
+-#endif
+-
+-/*
+  * forward
+  */
+ static int getdbit (SDBM *, long);



Home | Main Index | Thread Index | Old Index