svn commit: r550867 - in head/devel/libnaji: . files
Stefan Eßer
se at FreeBSD.org
Thu Oct 1 19:24:45 UTC 2020
Author: se
Date: Thu Oct 1 19:24:44 2020
New Revision: 550867
URL: https://svnweb.freebsd.org/changeset/ports/550867
Log:
Fix build of dependent port najitool
Multiple global variables named buffer caused link errors when building
with -fno-common by declaring these arrays as static.
Added:
head/devel/libnaji/files/
head/devel/libnaji/files/patch-naji__db.c (contents, props changed)
head/devel/libnaji/files/patch-naji__len.c (contents, props changed)
Modified:
head/devel/libnaji/Makefile
Modified: head/devel/libnaji/Makefile
==============================================================================
--- head/devel/libnaji/Makefile Thu Oct 1 19:02:23 2020 (r550866)
+++ head/devel/libnaji/Makefile Thu Oct 1 19:24:44 2020 (r550867)
@@ -4,11 +4,15 @@
PORTNAME= libnaji
PORTVERSION= 0.6.4
DISTVERSIONSUFFIX= .src
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SF/najitool/${PORTNAME}/${PORTVERSION}
MAINTAINER= rodrigo at FreeBSD.org
COMMENT= Library that generates, converts, and filters files
+
+LICENSE= PD
+LICENSE_FILE= ${WRKSRC}/LICENSE
MAKE_ARGS= cc="${CC}"
Added: head/devel/libnaji/files/patch-naji__db.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libnaji/files/patch-naji__db.c Thu Oct 1 19:24:44 2020 (r550867)
@@ -0,0 +1,11 @@
+--- naji_db.c.orig 2011-09-03 05:33:13 UTC
++++ naji_db.c
+@@ -20,7 +20,7 @@
+
+ #include "libnaji.h"
+
+-char buffer[306];
++static char buffer[306];
+
+ FILE *naji_db_file;
+
Added: head/devel/libnaji/files/patch-naji__len.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libnaji/files/patch-naji__len.c Thu Oct 1 19:24:44 2020 (r550867)
@@ -0,0 +1,11 @@
+--- naji_len.c.orig 2011-09-03 05:33:13 UTC
++++ naji_len.c
+@@ -21,7 +21,7 @@
+ #include "libnaji.h"
+
+
+-char buffer[1024];
++static char buffer[1024];
+ char *end;
+
+ double meters=0;
More information about the svn-ports-head
mailing list