aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-09-25 17:56:22 +0800
committermiwi <miwi@FreeBSD.org>2006-09-25 17:56:22 +0800
commitce1bdfc9f4db8c24827e8ca80da7d7045698ff12 (patch)
tree4979cf3319a8c66edfd80f5a67f37de8c137b8fb /math
parent7a2ae0b04911c1b937301b91fc1e0a73a1fa3fbb (diff)
downloadfreebsd-ports-graphics-ce1bdfc9f4db8c24827e8ca80da7d7045698ff12.tar.gz
freebsd-ports-graphics-ce1bdfc9f4db8c24827e8ca80da7d7045698ff12.tar.zst
freebsd-ports-graphics-ce1bdfc9f4db8c24827e8ca80da7d7045698ff12.zip
- Update to 1.4.3
PR: ports/103582 Submitted by: Dylan Simon <dylan(at)dylex.net> (maintainer)
Diffstat (limited to 'math')
-rw-r--r--math/orpie/Makefile3
-rw-r--r--math/orpie/distinfo6
-rw-r--r--math/orpie/files/patch-Makefile53
-rw-r--r--math/orpie/files/patch-gsl::mlgsl_error.c12
-rw-r--r--math/orpie/files/patch-gsl::wrappers.h11
5 files changed, 16 insertions, 69 deletions
diff --git a/math/orpie/Makefile b/math/orpie/Makefile
index b22b0dc4eac..2991a1ed3f8 100644
--- a/math/orpie/Makefile
+++ b/math/orpie/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= orpie
-PORTVERSION= 1.4.1
-PORTREVISION= 1
+PORTVERSION= 1.4.3
CATEGORIES+= math
MASTER_SITES= http://www.eecs.umich.edu/~pelzlpj/orpie/
diff --git a/math/orpie/distinfo b/math/orpie/distinfo
index f2666a47277..309dcfc4a94 100644
--- a/math/orpie/distinfo
+++ b/math/orpie/distinfo
@@ -1,3 +1,3 @@
-MD5 (orpie-1.4.1.tar.gz) = 04a3d7d4afc5374d8bcc476b348e6561
-SHA256 (orpie-1.4.1.tar.gz) = c9e5e8dc37558627337cafb5bf8e3828482b2a6ad473588f6179befedca1fb67
-SIZE (orpie-1.4.1.tar.gz) = 373649
+MD5 (orpie-1.4.3.tar.gz) = 1c9d87cf3f8d982a9a3662d48e13de55
+SHA256 (orpie-1.4.3.tar.gz) = beb46341286a8b4c38ce21a2e93cbd9e32924c5d4bb5015baf2dbf756d6dafc3
+SIZE (orpie-1.4.3.tar.gz) = 356721
diff --git a/math/orpie/files/patch-Makefile b/math/orpie/files/patch-Makefile
deleted file mode 100644
index 57f88c5f5dd..00000000000
--- a/math/orpie/files/patch-Makefile
+++ /dev/null
@@ -1,53 +0,0 @@
---- Makefile.in.orig Thu Jul 22 11:33:41 2004
-+++ Makefile.in Thu Aug 5 11:49:03 2004
-@@ -41,8 +41,8 @@
- INCLUDES = -I ./curses -I ./gsl
- BFLAGS = -pp camlp4o -g $(INCLUDES) -thread
- OFLAGS = -pp camlp4o $(INCLUDES) -thread
--BLFLAGS = -custom -cclib '$(CURSES_LIB) $(GSL_LIB) -lm'
--OLFLAGS = -cclib '$(CURSES_LIB) $(GSL_LIB) -lm'
-+BLFLAGS = -custom -cclib '@LDFLAGS@ $(CURSES_LIB) $(GSL_LIB) -lm'
-+OLFLAGS = -cclib '@LDFLAGS@ $(CURSES_LIB) $(GSL_LIB) -lm'
- DEPFLAGS = -pp camlp4o
-
- # main target
-@@ -144,21 +144,21 @@
- mkdir -p $(DESTDIR)/$(prefix)/etc; \
- install -m 644 orpierc $(DESTDIR)/$(prefix)/etc; \
- fi
-- install -m 644 -D doc/orpie.1 $(MANDIR)/man1/orpie.1
-- install -m 644 -D doc/orpie-curses-keys.1 $(MANDIR)/man1/orpie-curses-keys.1
-- install -m 644 -D doc/orpierc.5 $(MANDIR)/man5/orpierc.5
-+ install -m 644 doc/orpie.1 $(MANDIR)/man1/orpie.1
-+ install -m 644 doc/orpie-curses-keys.1 $(MANDIR)/man1/orpie-curses-keys.1
-+ install -m 644 doc/orpierc.5 $(MANDIR)/man5/orpierc.5
-
- install: install-indep
-- install -m 755 -D $(NAME).$(OCAMLBEST) $(BINDIR)/$(NAME)$(EXE)
-- install -m 755 -D $(NAME2).$(OCAMLBEST) $(BINDIR)/$(NAME2)$(EXE)
-+ install -m 755 $(NAME).$(OCAMLBEST) $(BINDIR)/$(NAME)$(EXE)
-+ install -m 755 $(NAME2).$(OCAMLBEST) $(BINDIR)/$(NAME2)$(EXE)
-
- install-byte: install-indep
-- install -m 755 -D $(NAME).byte $(BINDIR)/$(NAME)$(EXE)
-- install -m 755 -D $(NAME2).byte $(BINDIR)/$(NAME2)$(EXE)
-+ install -m 755 $(NAME).byte $(BINDIR)/$(NAME)$(EXE)
-+ install -m 755 $(NAME2).byte $(BINDIR)/$(NAME2)$(EXE)
-
- install-opt: install-indep
-- install -m 755 -D $(NAME).opt $(BINDIR)/$(NAME)$(EXE)
-- install -m 755 -D $(NAME2).opt $(BINDIR)/$(NAME2)$(EXE)
-+ install -m 755 $(NAME).opt $(BINDIR)/$(NAME)$(EXE)
-+ install -m 755 $(NAME2).opt $(BINDIR)/$(NAME2)$(EXE)
-
- uninstall:
- rm -f $(BINDIR)/$(NAME)$(EXE)
-@@ -185,7 +185,7 @@
- GSL_INCLUDES = -I ./gsl
- GSL_BFLAGS = -g $(GSL_INCLUDES) -thread
- GSL_OFLAGS = $(GSL_INCLUDES) -thread
--GSL_CFLAGS = -Wall -fPIC -DPIC
-+GSL_CFLAGS = -Wall -fPIC -DPIC @CPPFLAGS@
-
- gsl/%.cmi : gsl/%.mli
- $(OCAMLC) -c $(GSL_BFLAGS) $<
diff --git a/math/orpie/files/patch-gsl::mlgsl_error.c b/math/orpie/files/patch-gsl::mlgsl_error.c
new file mode 100644
index 00000000000..df85226699f
--- /dev/null
+++ b/math/orpie/files/patch-gsl::mlgsl_error.c
@@ -0,0 +1,12 @@
+--- gsl/mlgsl_error.c.orig Sat Oct 29 22:40:23 2005
++++ gsl/mlgsl_error.c Sun Sep 24 14:42:12 2006
+@@ -43,7 +43,8 @@
+ exn_arg = alloc_small(2, 0);
+ Store_field(exn_arg, 0, Val_int(conv_err_code(gsl_errno)));
+ Store_field(exn_arg, 1, copy_string(ml_gsl_exn_msg));
+- CAMLreturn(raise_with_arg(*ml_gsl_exn, exn_arg));
++ raise_with_arg(*ml_gsl_exn, exn_arg);
++ CAMLreturn0;
+ }
+
+ static void ml_gsl_error_handler(const char *reason, const char *file,
diff --git a/math/orpie/files/patch-gsl::wrappers.h b/math/orpie/files/patch-gsl::wrappers.h
deleted file mode 100644
index 3f3ee232228..00000000000
--- a/math/orpie/files/patch-gsl::wrappers.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- gsl/wrappers.h.orig Thu Jul 22 11:33:38 2004
-+++ gsl/wrappers.h Thu Aug 5 11:10:31 2004
-@@ -70,7 +70,7 @@
- #define CONCAT3(a,b,c) CONCAT3x(a,b,c)
-
- #ifndef DONT_USE_ALLOCA
--#include <malloc.h>
-+#include <stdlib.h>
- #define LOCALARRAY(type, x, len) type * x = ( type *) alloca(sizeof( type ) * (len))
- #else
- #define LOCALARRAY(type, x, len) type x [(len)]