diff options
author | joerg <joerg> | 2005-12-11 23:12:11 +0000 |
---|---|---|
committer | joerg <joerg> | 2005-12-11 23:12:11 +0000 |
commit | b0b00e91f3a5ea5396e24af706949ed42b3fe6b7 (patch) | |
tree | 9622eec0f05f36ec4c8bedf69ef0f5c16c311a46 /lang/librep | |
parent | 9176121fc5f98daee96b2fe301df43ec139eb2ea (diff) | |
download | pkgsrc-b0b00e91f3a5ea5396e24af706949ed42b3fe6b7.tar.gz |
Fix errno. Add DragonFly.
Diffstat (limited to 'lang/librep')
-rw-r--r-- | lang/librep/distinfo | 4 | ||||
-rw-r--r-- | lang/librep/patches/patch-aa | 101 | ||||
-rw-r--r-- | lang/librep/patches/patch-ab | 18 |
3 files changed, 122 insertions, 1 deletions
diff --git a/lang/librep/distinfo b/lang/librep/distinfo index 500efef766e..355ec85fa5a 100644 --- a/lang/librep/distinfo +++ b/lang/librep/distinfo @@ -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 --git a/lang/librep/patches/patch-aa b/lang/librep/patches/patch-aa new file mode 100644 index 00000000000..70f5936f925 --- /dev/null +++ b/lang/librep/patches/patch-aa @@ -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 --git a/lang/librep/patches/patch-ab b/lang/librep/patches/patch-ab new file mode 100644 index 00000000000..45a2b83afd0 --- /dev/null +++ b/lang/librep/patches/patch-ab @@ -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); |