aboutsummaryrefslogtreecommitdiffstats
path: root/cad/alliance/files
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2017-02-02 04:21:38 +0800
committerjbeich <jbeich@FreeBSD.org>2017-02-02 04:21:38 +0800
commit48596c21050582c29cafd4f0c990670244ee95f0 (patch)
tree56b56dff581b9b76b1f1030fca233d0ff2cc034c /cad/alliance/files
parent70edeb56b4fb87bd151e13135b21183fdf6a17e4 (diff)
downloadfreebsd-ports-gnome-48596c21050582c29cafd4f0c990670244ee95f0.tar.gz
freebsd-ports-gnome-48596c21050582c29cafd4f0c990670244ee95f0.tar.zst
freebsd-ports-gnome-48596c21050582c29cafd4f0c990670244ee95f0.zip
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
Diffstat (limited to 'cad/alliance/files')
-rw-r--r--cad/alliance/files/patch-rds_src_ruterror.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/cad/alliance/files/patch-rds_src_ruterror.h b/cad/alliance/files/patch-rds_src_ruterror.h
new file mode 100644
index 000000000000..a34d72b7009a
--- /dev/null
+++ b/cad/alliance/files/patch-rds_src_ruterror.h
@@ -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__ ))
+