mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 19:06:28 -04:00
- Fix build with CLANG
PR: 163293 Submitted by: Jan Beich <jbeich@tormail.net>
This commit is contained in:
parent
8f03a7cc01
commit
1ca706ea46
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=288244
2 changed files with 18 additions and 0 deletions
|
@ -1,5 +1,14 @@
|
|||
--- configure.orig Mon Apr 8 22:32:10 2002
|
||||
+++ configure Mon Apr 8 22:51:13 2002
|
||||
@@ -599,7 +599,7 @@
|
||||
cat > conftest.c <<EOF
|
||||
#include "confdefs.h"
|
||||
|
||||
-int main(int argc, char *argv) { void *ptr; exit(0); }
|
||||
+int main(int argc, char **argv) { void *ptr; exit(0); }
|
||||
|
||||
EOF
|
||||
eval $compile
|
||||
@@ -1618,7 +1618,7 @@
|
||||
do
|
||||
echo "checking whether $func is declared in sys/ioctl.h"
|
||||
|
|
|
@ -9,3 +9,12 @@
|
|||
changequote([,])dnl
|
||||
AC_PROGRAM_EGREP($pattern, [
|
||||
#include <$1>
|
||||
@@ -260,7 +260,7 @@
|
||||
SAVECC="$CC"
|
||||
CC="$CC $opt"
|
||||
AC_TEST_PROGRAM([
|
||||
-int main(int argc, char *argv) { void *ptr; exit(0); }
|
||||
+int main(int argc, char **argv) { void *ptr; exit(0); }
|
||||
],
|
||||
[have_ansi=1
|
||||
break],
|
||||
|
|
Loading…
Add table
Reference in a new issue