openbsd-ports/x11/gnome/ekiga/patches/patch-configure

24 lines
911 B
Plaintext

$OpenBSD: patch-configure,v 1.7 2012/11/27 08:15:12 ajacoutot Exp $
--- configure.orig Mon Nov 26 20:52:20 2012
+++ configure Tue Nov 27 08:46:11 2012
@@ -16536,8 +16536,8 @@ fi
if test ".$ac_cv_c_compiler_gnu" = .yes; then
- CFLAGS="$CFLAGS -Wall -Wextra -Winit-self -Wswitch-default -Wswitch-enum -Wstrict-aliasing=2 -Wfloat-equal -Wshadow"
- CXXFLAGS="$CXXFLAGS -Wall -Wextra -Winit-self -Wswitch-default -Wswitch-enum -Wstrict-aliasing=2 -Wfloat-equal -Wshadow"
+ CFLAGS="$CFLAGS -Wall -Wswitch-default -Wswitch-enum -Wfloat-equal -Wshadow"
+ CXXFLAGS="$CXXFLAGS -Wall -Wswitch-default -Wswitch-enum -Wfloat-equal -Wshadow"
fi
case $host in
@@ -16591,7 +16591,7 @@ case $target_os in
gm_platform="gnu"
;;
- FreeBSD* | freebsd* | kfreebsd* | NetBSD* | netbsd* )
+ FreeBSD* | freebsd* | kfreebsd* | NetBSD* | netbsd* | OpenBSD* | openbsd* )
gm_platform="freebsd"
;;