diff options
author | joerg <joerg> | 2005-12-31 00:39:01 +0000 |
---|---|---|
committer | joerg <joerg> | 2005-12-31 00:39:01 +0000 |
commit | 53bd5b5fa7014b71aa1c451814347610c62940c9 (patch) | |
tree | 7f9b5d70ad7b2cfc771e381bded9c3e0daecf51e /lang | |
parent | 5836a4fe1fc2d0c83616a1e5174a9001b46c6c7d (diff) | |
download | pkgsrc-53bd5b5fa7014b71aa1c451814347610c62940c9.tar.gz |
Fix errno. Add DragonFly support.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/chicken/distinfo | 8 | ||||
-rw-r--r-- | lang/chicken/patches/patch-ad | 12 | ||||
-rw-r--r-- | lang/chicken/patches/patch-ae | 13 | ||||
-rw-r--r-- | lang/chicken/patches/patch-af | 14 | ||||
-rw-r--r-- | lang/chicken/patches/patch-ag | 13 | ||||
-rw-r--r-- | lang/chicken/patches/patch-ah | 13 | ||||
-rw-r--r-- | lang/chicken/patches/patch-ai | 92 |
7 files changed, 164 insertions, 1 deletions
diff --git a/lang/chicken/distinfo b/lang/chicken/distinfo index 52f3a0303e4..87ada777940 100644 --- a/lang/chicken/distinfo +++ b/lang/chicken/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.14 2005/11/16 22:36:40 rillig Exp $ +$NetBSD: distinfo,v 1.15 2005/12/31 00:39:01 joerg Exp $ SHA1 (chicken-2.2.tar.gz) = 216692d24dcc6962bdfa83dee527335d9800b523 RMD160 (chicken-2.2.tar.gz) = 4cf88ca4c2ccd0b85cbc12b0f8211f1c5e1e0154 @@ -6,3 +6,9 @@ Size (chicken-2.2.tar.gz) = 3604051 bytes SHA1 (patch-aa) = 6caf2b3f93527498a5bc8b0847339a037db915d5 SHA1 (patch-ab) = 23ecb37a510d2a9b14411b5c7484661e6ae24a2d SHA1 (patch-ac) = 427ea4b8b0cae4bd5852c5fd9e10eeedafee552f +SHA1 (patch-ad) = 926244a681a9c561c649a6e7d7f413aee93c88d7 +SHA1 (patch-ae) = 879adca4cdf2a411559af510f4074bfe8880ec13 +SHA1 (patch-af) = 70aacbe9a01ebd941b41556db6e37068a123c4b8 +SHA1 (patch-ag) = 4532f03b2d888253f0dfad10541dca2de1ae75a5 +SHA1 (patch-ah) = c89c4076d8f8cb08785d4323ccbd88d16f6e133b +SHA1 (patch-ai) = 66e74d1253e5709faaafbef4ad42b7885b5e6585 diff --git a/lang/chicken/patches/patch-ad b/lang/chicken/patches/patch-ad new file mode 100644 index 00000000000..d6d67c910d2 --- /dev/null +++ b/lang/chicken/patches/patch-ad @@ -0,0 +1,12 @@ +$NetBSD: patch-ad,v 1.4 2005/12/31 00:39:01 joerg Exp $ + +--- scheduler.c.orig 2005-12-30 23:46:23.000000000 +0000 ++++ scheduler.c +@@ -9,7 +9,6 @@ + + #ifdef HAVE_ERRNO_H + # include <errno.h> +-extern int errno; + # define C_signal_interrupted_p C_mk_bool(errno == EINTR) + #else + # define C_signal_interrupted_p C_SCHEME_FALSE diff --git a/lang/chicken/patches/patch-ae b/lang/chicken/patches/patch-ae new file mode 100644 index 00000000000..6bb1f1b2ee6 --- /dev/null +++ b/lang/chicken/patches/patch-ae @@ -0,0 +1,13 @@ +$NetBSD: patch-ae,v 1.3 2005/12/31 00:39:01 joerg Exp $ + +--- posix.c.orig 2005-12-30 23:52:04.000000000 +0000 ++++ posix.c +@@ -209,7 +209,7 @@ static void C_fcall C_free_exec_env() { + #define C_execvp(f) C_fix(execvp(C_data_pointer(f), C_exec_args)) + #define C_execve(f) C_fix(execve(C_data_pointer(f), C_exec_args, C_exec_env)) + +-#if defined(__FreeBSD__) || defined(C_MACOSX) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__sgi__) || defined(sgi) ++#if defined(__FreeBSD__) || defined(C_MACOSX) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__sgi__) || defined(sgi) || defined(__DragonFly__) + static C_TLS int C_uw; + # define C_WIFEXITED(n) (C_uw = C_unfix(n), C_mk_bool(WIFEXITED(C_uw))) + # define C_WIFSIGNALED(n) (C_uw = C_unfix(n), C_mk_bool(WIFSIGNALED(C_uw))) diff --git a/lang/chicken/patches/patch-af b/lang/chicken/patches/patch-af new file mode 100644 index 00000000000..99a57f5d4f0 --- /dev/null +++ b/lang/chicken/patches/patch-af @@ -0,0 +1,14 @@ +$NetBSD: patch-af,v 1.1 2005/12/31 00:39:01 joerg Exp $ + +--- runtime.c.orig 2005-12-30 23:52:36.000000000 +0000 ++++ runtime.c +@@ -7510,6 +7510,9 @@ void C_software_version(C_word c, C_word + #if defined(__linux__) + a = C_alloc(2 + C_bytestowords(5)); + s = C_string2(&a, "linux"); ++#elif defined(__DragonFly__) ++ a = C_alloc(2 + C_bytestowords(9)); ++ s = C_string2(&a, "dragonfly"); + #elif defined(__FreeBSD__) + a = C_alloc(2 + C_bytestowords(7)); + s = C_string2(&a, "freebsd"); diff --git a/lang/chicken/patches/patch-ag b/lang/chicken/patches/patch-ag new file mode 100644 index 00000000000..ef8d0b2a963 --- /dev/null +++ b/lang/chicken/patches/patch-ag @@ -0,0 +1,13 @@ +$NetBSD: patch-ag,v 1.1 2005/12/31 00:39:01 joerg Exp $ + +--- uposix.c.orig 2005-12-30 23:53:26.000000000 +0000 ++++ uposix.c +@@ -209,7 +209,7 @@ static void C_fcall C_free_exec_env() { + #define C_execvp(f) C_fix(execvp(C_data_pointer(f), C_exec_args)) + #define C_execve(f) C_fix(execve(C_data_pointer(f), C_exec_args, C_exec_env)) + +-#if defined(__FreeBSD__) || defined(C_MACOSX) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__sgi__) || defined(sgi) ++#if defined(__FreeBSD__) || defined(C_MACOSX) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__sgi__) || defined(sgi) || defined(__DragonFly__) + static C_TLS int C_uw; + # define C_WIFEXITED(n) (C_uw = C_unfix(n), C_mk_bool(WIFEXITED(C_uw))) + # define C_WIFSIGNALED(n) (C_uw = C_unfix(n), C_mk_bool(WIFSIGNALED(C_uw))) diff --git a/lang/chicken/patches/patch-ah b/lang/chicken/patches/patch-ah new file mode 100644 index 00000000000..e10a935c54c --- /dev/null +++ b/lang/chicken/patches/patch-ah @@ -0,0 +1,13 @@ +$NetBSD: patch-ah,v 1.1 2005/12/31 00:39:01 joerg Exp $ + +--- chicken.h.orig 2005-12-30 23:53:55.000000000 +0000 ++++ chicken.h +@@ -210,7 +210,7 @@ int strncasecmp(const char *one, const c + # define isatty _isatty + #endif + +-#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) ++#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) + # define C_GNU_ENV + #endif + diff --git a/lang/chicken/patches/patch-ai b/lang/chicken/patches/patch-ai new file mode 100644 index 00000000000..29c2abe5e30 --- /dev/null +++ b/lang/chicken/patches/patch-ai @@ -0,0 +1,92 @@ +$NetBSD: patch-ai,v 1.1 2005/12/31 00:39:01 joerg Exp $ + +--- configure.orig 2005-12-31 00:20:40.000000000 +0000 ++++ configure +@@ -4022,13 +4022,13 @@ darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; + +-freebsd*) ++freebsd* | 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.*` + ;; +@@ -7462,7 +7462,7 @@ if test -z "$aix_libpath"; then aix_libp + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. +- freebsd*) ++ freebsd* | dragonfly*) + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes +@@ -8095,7 +8095,7 @@ freebsd1*) + dynamic_linker=no + ;; + +-freebsd*) ++freebsd* | dragonfly*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in +@@ -10365,7 +10365,7 @@ if test -z "$aix_libpath"; then aix_libp + freebsd-elf*) + archive_cmds_need_lc_CXX=no + ;; +- freebsd*) ++ freebsd* | dragonfly*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + ld_shlibs_CXX=yes +@@ -11741,7 +11741,7 @@ freebsd1*) + dynamic_linker=no + ;; + +-freebsd*) ++freebsd* | dragonfly*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in +@@ -14193,7 +14193,7 @@ if test -z "$aix_libpath"; then aix_libp + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. +- freebsd*) ++ freebsd* | dragonfly*) + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes +@@ -14826,7 +14826,7 @@ freebsd1*) + dynamic_linker=no + ;; + +-freebsd*) ++freebsd* | dragonfly*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in +@@ -16474,7 +16474,7 @@ if test -z "$aix_libpath"; then aix_libp + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. +- freebsd*) ++ freebsd* | dragonfly*) + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes +@@ -17107,7 +17107,7 @@ freebsd1*) + dynamic_linker=no + ;; + +-freebsd*) ++freebsd* | dragonfly*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in |