mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
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
This commit is contained in:
parent
841114a820
commit
f3dc33ecc2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433094
@ -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/ \
|
||||
|
11
cad/alliance/files/patch-rds_src_ruterror.h
Normal file
11
cad/alliance/files/patch-rds_src_ruterror.h
Normal file
@ -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__ ))
|
||||
|
Loading…
Reference in New Issue
Block a user