ports/net/ndisc6/files/patch-configure
Tobias Kortkamp f2573c3d52 net/ndisc6: Update to 1.0.4
ndisc6 1.0.4 now requires a C11-capable compiler and no longer needs
the 'variable length array in structure' GCC extension.  As such
we can build it with Clang now.  This also removes the GCC run
dependency which was the initial request in the PR [1].

Changes:	http://git.remlab.net/gitweb/?p=ndisc6.git;a=blob_plain;f=NEWS;hb=81bdcb51b576a394ba01f5a8022e5b9354e431a6
PR:		233187
Reported by:	hashiz@meridiani.jp [1]
Submitted by:	tobik
Approved by:	m.tsatsenko@gmail.com (maintainer)
MFH:		2019Q1 (bug fixes and fewer run dependencies)
2019-01-20 21:43:57 +00:00

38 lines
1.7 KiB
Text

--- configure.orig 2019-01-06 14:36:38 UTC
+++ configure
@@ -5900,7 +5900,7 @@ fi
if test "X$additional_includedir" = "X/usr/local/include"; then
if test -n "$GCC"; then
case $host_os in
- linux* | gnu* | k*bsd*-gnu) haveit=yes;;
+ linux* | gnu* | k*bsd*-gnu | freebsd* ) haveit=yes;;
esac
fi
fi
@@ -5946,7 +5946,7 @@ fi
|| test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
if test -n "$GCC"; then
case $host_os in
- linux* | gnu* | k*bsd*-gnu) haveit=yes;;
+ linux* | gnu* | k*bsd*-gnu | freebsd* ) haveit=yes;;
esac
fi
fi
@@ -6784,7 +6784,7 @@ fi
if test "X$additional_includedir" = "X/usr/local/include"; then
if test -n "$GCC"; then
case $host_os in
- linux* | gnu* | k*bsd*-gnu) haveit=yes;;
+ linux* | gnu* | k*bsd*-gnu | freebsd* ) haveit=yes;;
esac
fi
fi
@@ -6830,7 +6830,7 @@ fi
|| test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
if test -n "$GCC"; then
case $host_os in
- linux* | gnu* | k*bsd*-gnu) haveit=yes;;
+ linux* | gnu* | k*bsd*-gnu | freebsd* ) haveit=yes;;
esac
fi
fi