svn commit: r433094 - in head/cad/alliance: . files
Jan Beich
jbeich at FreeBSD.org
Wed Feb 1 20:21:39 UTC 2017
Author: jbeich
Date: Wed Feb 1 20:21:38 2017
New Revision: 433094
URL: https://svnweb.freebsd.org/changeset/ports/433094
Log:
cad/alliance: unbreak on 12.0 after base r308264
In file included from /usr/include/math.h:20:0,
from rutacces.c:18:
ruterror.h:49:14: error: expected identifier or '(' before '__builtin_choose_expr'
extern char *basename();
^
Reported by: pkg-fallout
Added:
head/cad/alliance/files/patch-rds_src_ruterror.h (contents, props changed)
Modified:
head/cad/alliance/Makefile (contents, props changed)
Modified: head/cad/alliance/Makefile
==============================================================================
--- head/cad/alliance/Makefile Wed Feb 1 20:21:29 2017 (r433093)
+++ head/cad/alliance/Makefile Wed Feb 1 20:21:38 2017 (r433094)
@@ -3,7 +3,7 @@
PORTNAME= alliance
DISTVERSION= 5.0-20120515
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= cad
MASTER_SITES= http://ftp.lyx.org/lip6/softs/alliance/distribution/5.0/ \
http://ftp.jussieu.fr/lip6/softs/alliance/distribution/5.0/ \
Added: head/cad/alliance/files/patch-rds_src_ruterror.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/cad/alliance/files/patch-rds_src_ruterror.h Wed Feb 1 20:21:38 2017 (r433094)
@@ -0,0 +1,11 @@
+--- rds/src/ruterror.h.orig 2002-04-25 14:13:59 UTC
++++ rds/src/ruterror.h
+@@ -46,7 +46,7 @@
+ | |
+ \------------------------------------------------------------*/
+
+-extern char *basename();
++#include <libgen.h>
+
+ # define ruterror( E, V ) (rut_error( (E), (V), basename(__FILE__), __LINE__ ))
+
More information about the svn-ports-all
mailing list