svn commit: r360377 - in head/print/catdvi: . files
Boris Samorodov
bsam at FreeBSD.org
Thu Jul 3 14:36:34 UTC 2014
Author: bsam
Date: Thu Jul 3 14:36:33 2014
New Revision: 360377
URL: http://svnweb.freebsd.org/changeset/ports/360377
QAT: https://qat.redports.org/buildarchive/r360377/
Log:
. fix build:
-----
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCFG_HAS_GETOPT_LONG -c -o kpathsea.o kpathsea.c
kpathsea.c:39:23: error: redefinition of 'kpathsea_version_string' with a different type: 'char *' vs 'const char *'
extern char * kpathsea_version_string;
-----
. remove the indefinite article from COMMENT;
. add LICENSE (GPLv2).
Added:
head/print/catdvi/files/
head/print/catdvi/files/patch-kpathsea.c (contents, props changed)
Modified:
head/print/catdvi/Makefile
Modified: head/print/catdvi/Makefile
==============================================================================
--- head/print/catdvi/Makefile Thu Jul 3 14:25:58 2014 (r360376)
+++ head/print/catdvi/Makefile Thu Jul 3 14:36:33 2014 (r360377)
@@ -8,7 +8,9 @@ CATEGORIES= print
MASTER_SITES= SF
MAINTAINER= ports at FreeBSD.org
-COMMENT= A DVI to text/plain translator
+COMMENT= DVI to text/plain translator
+
+LICENSE= GPLv2
USE_TEX= latex
USES= gmake
Added: head/print/catdvi/files/patch-kpathsea.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/print/catdvi/files/patch-kpathsea.c Thu Jul 3 14:36:33 2014 (r360377)
@@ -0,0 +1,11 @@
+--- kpathsea.c.orig 2014-04-08 16:18:57.296160200 +0400
++++ kpathsea.c 2014-04-08 16:19:06.680160318 +0400
+@@ -36,7 +36,7 @@ void copyright_findtfm(void)
+
+ void version_findtfm(void)
+ {
+- extern char * kpathsea_version_string;
++ extern const char * kpathsea_version_string;
+ puts(kpathsea_version_string);
+ }
+
More information about the svn-ports-head
mailing list