Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Aug 2018 10:57:23 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r476230 - in head/math/orpie: . files
Message-ID:  <201808021057.w72AvNR0024102@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Thu Aug  2 10:57:23 2018
New Revision: 476230
URL: https://svnweb.freebsd.org/changeset/ports/476230

Log:
  Unbreak `math/orpie' against OCaml 4.05.0 and make it fetchable
  
  Obtained from:	Debian
  Bug-Debian:	https://bugs.debian.org/868849

Added:
  head/math/orpie/files/patch-gsl_gsl__sf.ml   (contents, props changed)
  head/math/orpie/files/patch-gsl_mlgsl__error.c   (contents, props changed)
Modified:
  head/math/orpie/Makefile
  head/math/orpie/files/patch-Makefile.in

Modified: head/math/orpie/Makefile
==============================================================================
--- head/math/orpie/Makefile	Thu Aug  2 10:22:44 2018	(r476229)
+++ head/math/orpie/Makefile	Thu Aug  2 10:57:23 2018	(r476230)
@@ -5,7 +5,7 @@ PORTNAME=	orpie
 PORTVERSION=	1.5.2
 PORTREVISION=	4
 CATEGORIES+=	math
-MASTER_SITES=	http://pessimization.com/software/orpie/
+MASTER_SITES=	GENTOO http://pessimization.com/software/orpie/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Fullscreen RPN calculator for the console

Modified: head/math/orpie/files/patch-Makefile.in
==============================================================================
--- head/math/orpie/files/patch-Makefile.in	Thu Aug  2 10:22:44 2018	(r476229)
+++ head/math/orpie/files/patch-Makefile.in	Thu Aug  2 10:57:23 2018	(r476230)
@@ -1,5 +1,14 @@
 --- Makefile.in.orig
 +++ Makefile.in
+@@ -81,7 +81,7 @@ CURSES_OOBJS = $(CURSES_CMX) $(CURSES_CO
+ GSL_CMO = gsl/gsl_error.cmo gsl/gsl_blas.cmo gsl/gsl_complex.cmo gsl/gsl_matrix.cmo gsl/gsl_matrix_complex.cmo \
+ 		gsl/gsl_vector.cmo gsl/gsl_vector_complex.cmo gsl/gsl_vector_flat.cmo gsl/gsl_matrix_flat.cmo \
+ 		gsl/gsl_vector_complex_flat.cmo gsl/gsl_matrix_complex_flat.cmo gsl/gsl_vectmat.cmo \
+-		gsl/gsl_permut.cmo gsl/gsl_linalg.cmo gsl/gsl_fun.cmo
++		gsl/gsl_permut.cmo gsl/gsl_linalg.cmo gsl/gsl_fun.cmo gsl/gsl_sf.cmo gsl/gsl_math.cmo
+ GSL_CMX = $(GSL_CMO:.cmo=.cmx)
+ GSL_COBJS = gsl/mlgsl_error.o gsl/mlgsl_blas.o gsl/mlgsl_blas_complex.o gsl/mlgsl_complex.o gsl/mlgsl_blas_float.o \
+ 		 gsl/mlgsl_blas_complex_float.o gsl/mlgsl_matrix_complex.o gsl/mlgsl_matrix_double.o gsl/mlgsl_matrix_float.o \
 @@ -201,7 +201,7 @@
  GSL_INCLUDES = -I ./gsl
  GSL_BFLAGS = -g $(GSL_INCLUDES) -thread

Added: head/math/orpie/files/patch-gsl_gsl__sf.ml
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/orpie/files/patch-gsl_gsl__sf.ml	Thu Aug  2 10:57:23 2018	(r476230)
@@ -0,0 +1,18 @@
+--- gsl/gsl_sf.ml.orig	2014-04-12 01:43:31 UTC
++++ gsl/gsl_sf.ml
+@@ -1142,6 +1142,7 @@ external legendre_Ql_e : int -> float -> result
+ 
+ 
+ 
++(*
+ (* Associated LEGENDRE functions *)
+ external legendre_Plm : int -> int -> float -> float
+     = "ml_gsl_sf_legendre_Plm"
+@@ -1167,6 +1168,7 @@ external  legendre_sphPlm_array : int -> int -> float 
+ 
+ external  legendre_array_size : int -> int -> int 
+     = "ml_gsl_sf_legendre_array_size"
++*)
+ 
+ 
+ 

Added: head/math/orpie/files/patch-gsl_mlgsl__error.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/orpie/files/patch-gsl_mlgsl__error.c	Thu Aug  2 10:57:23 2018	(r476230)
@@ -0,0 +1,10 @@
+--- gsl/mlgsl_error.c.orig	2014-04-12 01:43:31 UTC
++++ gsl/mlgsl_error.c
+@@ -34,6 +34,7 @@ static value       *ml_gsl_exn;
+ 
+ static void ml_gsl_raise_exn(const char *msg, int gsl_errno)
+ {
++  CAMLparam0();
+   CAMLlocal2(exn_msg, exn_arg);
+   exn_msg = copy_string(msg);
+   exn_arg = alloc_small(2, 0);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808021057.w72AvNR0024102>