- Fix build on alpha, amd64 and sparc64

PR:		ports/59690
Submitted by:	Ulrich Spoerlein <q@uni.de> (maintainer)
Approved by:	marcus (portmgr)
Approved by:	adamw (mentor)
This commit is contained in:
Pav Lucistnik 2003-11-26 20:29:40 +00:00
parent 7adf04504d
commit d45dc8fc7b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94796

View file

@ -23,4 +23,12 @@
*bsd*) *bsd*)
touch conftest.c touch conftest.c
CPP_NAME="`(f=\`$CC -v -E -Dfoo conftest.c -o conftest.i 2>&1 | grep -e -Dfoo\`; set $f; echo "$1")` %d %i %o" CPP_NAME="`(f=\`$CC -v -E -Dfoo conftest.c -o conftest.i 2>&1 | grep -e -Dfoo\`; set $f; echo "$1")` %d %i %o"
@@ -10726,7 +10729,7 @@
int
main ()
{
-void *(*foo)(size_t) = alloca;
+void *foo = alloca(sizeof(void));
;
return 0;
}