As pointed out OOB, `make test` didn't work on clang archs.  I don't
think we're going to be running the coverage tests in the port, so here
is another try where tests seem to pass.  Not sure if this is the most
appropriate fix though.

On Fri, Nov 24, 2017 at 08:26:41PM -0700, Andrew Hewus Fresh wrote:
> Sent this to the maintainer two weeks ago and haven't seen a response,
> have an OK to update the perl6 ports that is waiting on this update.
> 
> OK?
> 
> 
> I was working on updating rakudo (perl6) and ran into a weird error
> message about an undefined something and google led me to libtomath
> where I found a minor update that resolved it.  I'd appreciate an update
> so I can do the advent of code in perl6 again this year.
 
Index: Makefile
===================================================================
RCS file: /cvs/ports/math/libtommath/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile    27 Feb 2017 19:53:23 -0000      1.6
+++ Makefile    25 Nov 2017 20:13:36 -0000
@@ -8,7 +8,7 @@ MAINTAINER =            Dmitrij D. Czarkoff <czark
 
 GH_ACCOUNT =           libtom
 GH_PROJECT =           libtommath
-GH_TAGNAME =           v1.0
+GH_TAGNAME =           v1.0.1
 
 # WTFPL
 PERMIT_PACKAGE_CDROM = Yes
Index: distinfo
===================================================================
RCS file: /cvs/ports/math/libtommath/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo    4 Mar 2016 10:38:48 -0000       1.3
+++ distinfo    25 Nov 2017 20:13:36 -0000
@@ -1,2 +1,2 @@
-SHA256 (libtommath-1.0.tar.gz) = Wg1PmnLfussFy128VFz/5YsIwQNQbeaLJ43HbQXP4BA=
-SIZE (libtommath-1.0.tar.gz) = 643248
+SHA256 (libtommath-1.0.1.tar.gz) = 2ytua1EqrFzJvn5P/dFdlxw/A9P6NfkWB7/hp/p1p6c=
+SIZE (libtommath-1.0.1.tar.gz) = 653112
Index: patches/patch-makefile_include_mk
===================================================================
RCS file: patches/patch-makefile_include_mk
diff -N patches/patch-makefile_include_mk
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-makefile_include_mk   25 Nov 2017 20:13:36 -0000
@@ -0,0 +1,18 @@
+$OpenBSD$
+
+Index: makefile_include.mk
+--- makefile_include.mk.orig
++++ makefile_include.mk
+@@ -87,12 +87,6 @@ LIBPATH  ?= $(PREFIX)/lib
+ INCPATH  ?= $(PREFIX)/include
+ DATAPATH ?= $(PREFIX)/share/doc/libtommath/pdf
+ 
+-#make the code coverage of the library
+-#
+-coverage: CFLAGS += -fprofile-arcs -ftest-coverage -DTIMING_NO_LOGS
+-coverage: LFLAGS += -lgcov
+-coverage: LDFLAGS += -lgcov
+-
+ coverage: $(COVERAGE)
+       $(COVERAGE_APP)
+ 

Reply via email to