Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2014 14:36:33 +0000 (UTC)
From:      Boris Samorodov <bsam@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360377 - in head/print/catdvi: . files
Message-ID:  <201407031436.s63EaXr0090442@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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);
+ }
+ 



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