freebsd-ports/emulators/generator-cbiere/files/patch-configure
Martin Wilke e8d901f873 - Unbreak build with clang
PR:		180511
Submitted by:	ports fury
2013-07-15 15:03:09 +00:00

44 lines
687 B
Text

--- configure.orig
+++ configure
@@ -3968,10 +3968,6 @@
#endif
#endif
-int
-main ()
-{
-
int main(int argc, char *argv[])
{
int fd = 0;
@@ -3979,9 +3975,6 @@
ioctl(fd, SNDCTL_DSP_SETFRAGMENT, (char *)0);
return 0;
}
- ;
- return 0;
-}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
@@ -4026,10 +4019,6 @@
#endif
#endif
-int
-main ()
-{
-
int main(int argc, char *argv[])
{
int fd = 0;
@@ -4037,9 +4026,6 @@
ioctl(fd, SNDCTL_DSP_SETFRAGMENT, (char *)0);
return 0;
}
- ;
- return 0;
-}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5