Hi,
The version has been updated to 2011.07.11, and removed the tar ball
dpic-2011.04.19.tar.gz, causing the build the fail, only the current
version is available on the MASTER_SITE.
Patch is for the new version, this builds on amd64, limited testing
beyond that, I tried one example run just dpic with couple of options.
No regression tests are provided.
Alternative to the patch, is to replace the MASTER_SITE, with a site
that keeps the previous versions, if a copy can be found.
Regards
Nigel Taylor
Index: Makefile
===================================================================
RCS file: /home/cvs/ports/graphics/dpic/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile 15 May 2011 18:49:41 -0000 1.1.1.1
+++ Makefile 13 Jul 2011 23:52:27 -0000
@@ -2,7 +2,7 @@
COMMENT = pic-like interpreter for producing line graphics
-DISTNAME = dpic-2011.04.19
+DISTNAME = dpic-2011.07.11
CATEGORIES = graphics
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/graphics/dpic/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo 15 May 2011 18:49:41 -0000 1.1.1.1
+++ distinfo 13 Jul 2011 23:52:38 -0000
@@ -1,5 +1,5 @@
-MD5 (dpic-2011.04.19.tar.gz) = Q8hD6BvP4F+XrBEhNEMQJQ==
-RMD160 (dpic-2011.04.19.tar.gz) = fn0L65axeguQwcKSkr3i2Yofzu8=
-SHA1 (dpic-2011.04.19.tar.gz) = /uXE4xoKmTvsG5atbZNOE3/rCSk=
-SHA256 (dpic-2011.04.19.tar.gz) = Qbh95a/smVuf+GAoz/XfJOf7ns0MhVs5FqpQpzo0kFQ=
-SIZE (dpic-2011.04.19.tar.gz) = 474042
+MD5 (dpic-2011.07.11.tar.gz) = garxYC3KoGU13S1nCZpA6A==
+RMD160 (dpic-2011.07.11.tar.gz) = EjCRENuDxHgdcsLG9I6L+MB/zC4=
+SHA1 (dpic-2011.07.11.tar.gz) = 0OcoWwP4Mcdxiwc4pBilIAn/XbE=
+SHA256 (dpic-2011.07.11.tar.gz) = qbyeoBSIWjN7QyKHOv09zg7P4da/Nyv0PYKhf4cWYXo=
+SIZE (dpic-2011.07.11.tar.gz) = 480030
Index: patches/patch-Makefile
===================================================================
RCS file: /home/cvs/ports/graphics/dpic/patches/patch-Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-Makefile
--- patches/patch-Makefile 15 May 2011 18:49:41 -0000 1.1.1.1
+++ patches/patch-Makefile 13 Jul 2011 23:56:00 -0000
@@ -1,15 +1,13 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2011/05/15 18:49:41 landry Exp $
Honour CC and CFLAGS
---- Makefile.orig Sun May 15 20:37:54 2011
-+++ Makefile Sun May 15 20:38:31 2011
-@@ -44,8 +44,8 @@ DEST = ${DESTDIR}/${PREFIX}/bin
- # CC=xlc
+--- Makefile.orig Tue Jul 12 01:15:50 2011
++++ Makefile Thu Jul 14 00:55:38 2011
+@@ -45,7 +45,7 @@ DEST = ${DESTDIR}/${PREFIX}/bin
# other. cc usually works too.
--CFLAGS = $(DEFINEA) $(DEFINEB) $(SAFEMODE) -O
+ CFLAGS += $(DEFINEA) $(DEFINEB) $(SAFEMODE) -O
-CC=gcc
-+CFLAGS += $(DEFINEA) $(DEFINEB) $(SAFEMODE) -O
+CC?=gcc
+ # CC?=gcc
OBJECTS = dpic.o dpic2.o p2clib.o
-