Straightforward fix. The version.h header is oth generated and packaged,
I thought it better to fix both the generating script and the header.
Upstream has been dormant during the past decade, but they have updated
their homepage to use TLS.
Basic macros still work.
Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/zoem/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile 12 Jul 2019 20:50:17 -0000 1.12
+++ Makefile 4 Feb 2021 20:26:17 -0000
@@ -6,8 +6,9 @@ V= 09-149
DISTNAME= zoem-${V}
PKGNAME= zoem-${V:S,-,_,}
CATEGORIES= textproc lang
+REVISION= 0
-HOMEPAGE= http://micans.org/zoem/
+HOMEPAGE= https://micans.org/zoem/
# GPLv2
PERMIT_PACKAGE= Yes
Index: patches/patch-setversion
===================================================================
RCS file: patches/patch-setversion
diff -N patches/patch-setversion
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-setversion 4 Feb 2021 20:21:24 -0000
@@ -0,0 +1,18 @@
+$OpenBSD$
+
+Fix for -fno-common
+
+Index: setversion
+--- setversion.orig
++++ setversion
+@@ -25,8 +25,8 @@ vsh='src/version.h'
+ echo -n '' > $vsh
+ echo '#ifndef zoem_version_h__' >> $vsh
+ echo '#define zoem_version_h__' >> $vsh
+-echo 'char *zoemDateTag;' >> $vsh
+-echo 'char *zoemNumTag;' >> $vsh
++echo 'extern char *zoemDateTag;' >> $vsh
++echo 'extern char *zoemNumTag;' >> $vsh
+ echo '
No comments:
Post a Comment