From 4c0f7251840259304ff6ec7502148b7ae630b6d4 Mon Sep 17 00:00:00 2001 From: pkgsrc fixup Date: Sun, 5 May 2013 12:31:05 -0700 Subject: [PATCH] Fixup fromcvs/togit conversion --- math/R/distinfo | 4 +-- math/R/patches/patch-ac | 66 +++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 61 insertions(+), 9 deletions(-) diff --git a/math/R/distinfo b/math/R/distinfo index 32f90919a9e..059613c6e8a 100644 --- a/math/R/distinfo +++ b/math/R/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.49 2012/08/02 13:52:17 jperkin Exp $ +$NetBSD: distinfo,v 1.50 2012/12/17 09:08:46 wen Exp $ SHA1 (R-2.15.1.tar.gz) = f0e6912be6dfc0d1fdc4be66048304d8befe8424 RMD160 (R-2.15.1.tar.gz) = 84a010906424f3e84b84a71236424a8f2bf1df08 Size (R-2.15.1.tar.gz) = 24592493 bytes -SHA1 (patch-ac) = 8c43dc9ae76612eaf1a8c67e54917d0651da9c6d +SHA1 (patch-ac) = 527234c663ea7f2fe0d6e303cf692aad0276bdbe SHA1 (patch-ad) = 9268c33c999ed39f9e8d0769486706bb920c8253 SHA1 (patch-src_main_format.c) = 96290cd5f2e509a25ab71cd32854b20a43028cf6 diff --git a/math/R/patches/patch-ac b/math/R/patches/patch-ac index 07c0dc123eb..4d7fd6e5f18 100644 --- a/math/R/patches/patch-ac +++ b/math/R/patches/patch-ac @@ -1,5 +1,5 @@ $NetBSD$ -Ensure the correct linker flags are used on Solaris/GCC. + --- configure.orig 2012-06-14 22:05:51.000000000 +0000 +++ configure @@ -3976,7 +3976,7 @@ fi @@ -52,16 +52,23 @@ Ensure the correct linker flags are used on Solaris/GCC. int main () { Rcomplex z[3]; -@@ -26224,7 +26235,7 @@ $as_echo "$as_me: WARNING: Use of flat n +@@ -26224,12 +26235,12 @@ $as_echo "$as_me: WARNING: Use of flat n SHLIB_LIBADD="-lcc_dynamic" fi ;; - freebsd*) +- main_ldflags="-export-dynamic" + freebsd*|dragonfly*) - main_ldflags="-export-dynamic" ++ main_ldflags="${wl}-export-dynamic" shlib_ldflags="-shared" ;; -@@ -26312,6 +26323,13 @@ $as_echo "$as_me: WARNING: Use of flat n + gnu*) # GNU Hurd +- main_ldflags="-export-dynamic" ++ main_ldflags="${wl}-export-dynamic" + ;; + hpux*) + SHLIB_EXT=".sl" +@@ -26312,8 +26323,15 @@ $as_echo "$as_me: WARNING: Use of flat n fcpicflags= ;; netbsd*) @@ -73,8 +80,11 @@ Ensure the correct linker flags are used on Solaris/GCC. + esac + if ${CPP} - -dM < /dev/null | grep __ELF__ >/dev/null ; then - main_ldflags="-export-dynamic" +- main_ldflags="-export-dynamic" ++ main_ldflags="${wl}-export-dynamic" shlib_ldflags="-shared" + else + shlib_ldflags="-Bshareable" @@ -26335,22 +26353,22 @@ $as_echo "$as_me: WARNING: Use of flat n solaris*) ## SPARC has only an 8k global object table, 1024 entries on 64-bit, @@ -111,7 +121,49 @@ Ensure the correct linker flags are used on Solaris/GCC. ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I could not determine CPICFLAGS." >&5 -@@ -29539,6 +29557,15 @@ cat > conftest.c <&5 + $as_echo_n "checking whether $ac_func exists and is declared... " >&6; } +@@ -26925,24 +26951,12 @@ else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include ++volatile long double x; + +-#ifdef F77_DUMMY_MAIN +- +-# ifdef __cplusplus +- extern "C" +-# endif +- int F77_DUMMY_MAIN() { return 1; } +- +-#endif + int + main () + { +-#ifndef $ac_func +- char *p = (char *) $ac_func; +-#endif +- +- ; +- return 0; ++ return $ac_func($args); + } + _ACEOF + if ac_fn_c_try_link "$LINENO"; then : +@@ -29539,6 +29553,15 @@ cat > conftest.c <