Ticket #13333: pari-2.5.2.p2.diff

File pari-2.5.2.p2.diff, 1.5 KB (added by jpflori, 9 years ago)

spkg diff, for review only

  • SPKG.txt

    diff --git a/SPKG.txt b/SPKG.txt
    a b  
    6969
    7070== Changelog ==
    7171
     72=== pari-2.5.2.p2 (Jean-Pierre Flori, 30 September 2012) ===
     73 * Ticket #13333: add upstream patches to copy libpari.dll.a on Cygwin.
     74
    7275=== pari-2.5.2.p1 (Paul Zimmermann, 28 August 2012) ===
    7376 * Ticket #13314: add upstream patch rootpol.patch for rootpol().
    7477
  • new file patches/Makefile.SH.patch

    diff --git a/patches/Makefile.SH.patch b/patches/Makefile.SH.patch
    new file mode 100644
    - +  
     1diff -ur src.orig/config/Makefile.SH src/config/Makefile.SH
     2--- src.orig/config/Makefile.SH 2012-09-30 19:47:06.594410247 +0200
     3+++ src/config/Makefile.SH      2012-09-30 19:46:42.422591885 +0200
     4@@ -53,6 +53,12 @@
     5   darwin)
     6     ld_install_name="-Wl,-install_name -Wl,\"$libdir\"/\$(LIBPARI_DYN)";;
     7 esac
     8+case "$osname" in
     9+  mingw|cygwin)
     10+    install_implib="\$(INSTALL_DATA) \$(LIBPARI_SO)\$(_A) \$(LIBDIR)/\$(LIBPARI_SO)\$(_A)";;
     11+  *)
     12+    install_implib="";;
     13+esac
     14 
     15 PLOTCFLAGS=
     16 PLOTLIBS=
     17@@ -470,6 +476,8 @@
     18        -mkdir -p \$(LIBDIR)
     19        -\$(RM) \$(LIBDIR)/\$(LIBPARI_DYN) \$(LIBDIR)/\$(LIBPARI_SONAME) \$(LIBDIR)/\$(LIBPARI_SO)
     20        \$(DLLD_IGNORE)\$(DLLD) -o \$(LIBDIR)/\$(LIBPARI_DYN) \$(DLLDFLAGS) \$(OBJS) \$(EXTRADLLDFLAGS) \$(GMPLIBS) \$(EXPORT_FILE) \$(LD_INSTALL_NAME)
     21+       $install_implib
     22+
     23 install-lib-dyn-link: install-lib-dyn-base
     24        -if test "\$(LIBPARI_SONAME)" != "\$(LIBPARI_SO)"; then \
     25          \$(LN) \$(LIBPARI_DYN) \$(LIBDIR)/\$(LIBPARI_SONAME);\