summaryrefslogtreecommitdiff
path: root/math/pari/patches
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2001-05-04 17:14:08 +0000
committerjtb <jtb@pkgsrc.org>2001-05-04 17:14:08 +0000
commit10a622bdda50c957c8025713a34e57087f00fb3b (patch)
treeb918846ed64d6b25f8b3cacefa841f58fb5a3f2c /math/pari/patches
parent576c187ad7ba529d65222d98aa7831d1ff19b81e (diff)
downloadpkgsrc-10a622bdda50c957c8025713a34e57087f00fb3b.tar.gz
* Install examples.
* Install library as libpari.a. (Previously the package installed libpari.a.2.1 and created a symbolic link libpari.a). * Fix warning about O_RDONLY being redefined.
Diffstat (limited to 'math/pari/patches')
-rw-r--r--math/pari/patches/patch-aa4
-rw-r--r--math/pari/patches/patch-ab20
-rw-r--r--math/pari/patches/patch-ad13
3 files changed, 30 insertions, 7 deletions
diff --git a/math/pari/patches/patch-aa b/math/pari/patches/patch-aa
index a81946bfc70..9e397cc1ed3 100644
--- a/math/pari/patches/patch-aa
+++ b/math/pari/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2001/03/20 13:49:35 jtb Exp $
+$NetBSD: patch-aa,v 1.3 2001/05/04 17:14:08 jtb Exp $
--- Configure.orig Mon Nov 13 14:35:43 2000
+++ Configure
@@ -47,9 +47,9 @@ $NetBSD: patch-aa,v 1.2 2001/03/20 13:49:35 jtb Exp $
esac;;
+ netbsd) case "`uname -m`" in
+ alpha) arch=alpha;;
-+ hp300) arch=hppa;;
+ i386) arch=ix86;;
+ sun3) arch=m68k;;
++ *68k) arch=m68k;;
+ *) arch=none;;
+ esac;;
sunos) case "$3" in 5*) osname=solaris;; esac
diff --git a/math/pari/patches/patch-ab b/math/pari/patches/patch-ab
index 81c96af1e7d..12a2aaabb77 100644
--- a/math/pari/patches/patch-ab
+++ b/math/pari/patches/patch-ab
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.1.1.1 2001/03/07 20:57:51 jtb Exp $
+$NetBSD: patch-ab,v 1.2 2001/05/04 17:14:08 jtb Exp $
---- config/Makefile.SH.orig Mon Mar 27 17:43:42 2000
+--- config/Makefile.SH.orig Mon Mar 27 18:43:42 2000
+++ config/Makefile.SH
@@ -80,7 +80,7 @@
X11)
@@ -70,12 +70,22 @@ $NetBSD: patch-ab,v 1.1.1.1 2001/03/07 20:57:51 jtb Exp $
-\$(INSTALL_DATA) $doc/translations \$(MISCDIR)
-\$(INSTALL_DATA) $doc/paricfg.tex \$(MISCDIR)
-\$(INSTALL_DATA) $doc/parimacro.tex \$(MISCDIR)
-@@ -311,7 +312,7 @@
+@@ -306,14 +307,13 @@
+ -\$(INSTALL_DATA) $doc/refcard.ps \$(MISCDIR)
+
+ install-data:
+- -mkdir -p \$(DATADIR)
+- @-for f in $data/*; do \$(INSTALL_DATA) \$\$f \$(DATADIR); done 2>/dev/null
++# -mkdir -p \$(DATADIR)
++# @-for f in $data/*; do \$(INSTALL_DATA) \$\$f \$(DATADIR); done 2>/dev/null
install-lib-sta: libpari.a
-mkdir -p \$(LIBDIR)
- -\$(RM) \$(LIBDIR)/libpari.a
+- \$(INSTALL_DATA) libpari.a \$(LIBDIR)/libpari.a.$version
+- -\$(LN) libpari.a.$version \$(LIBDIR)/libpari.a
+# -\$(RM) \$(LIBDIR)/libpari.a
- \$(INSTALL_DATA) libpari.a \$(LIBDIR)/libpari.a.$version
- -\$(LN) libpari.a.$version \$(LIBDIR)/libpari.a
++ \$(INSTALL_DATA) libpari.a \$(LIBDIR)
+ install-lib-dyn: libpari.$somake
+ -mkdir -p \$(LIBDIR)
diff --git a/math/pari/patches/patch-ad b/math/pari/patches/patch-ad
new file mode 100644
index 00000000000..9e4a71875e3
--- /dev/null
+++ b/math/pari/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2001/05/04 17:14:08 jtb Exp $
+
+--- src/headers/paristio.h.orig Fri Nov 3 21:00:25 2000
++++ src/headers/paristio.h
+@@ -15,6 +15,8 @@
+
+ /* This file contains memory and I/O management definitions */
+
++#include <fcntl.h>
++
+ typedef unsigned char *byteptr;
+
+ typedef struct stackzone