openbsd-ports/net/transmission/patches/patch-configure
naddy 7985ea4a47 * update to 2.13: bug fixes
* install .desktop file for qt client; from FreeBSD
2010-12-12 20:42:38 +00:00

37 lines
1.7 KiB
Plaintext

$OpenBSD: patch-configure,v 1.24 2010/12/12 20:42:39 naddy Exp $
--- configure.orig Thu Dec 9 20:53:57 2010
+++ configure Fri Dec 10 21:55:05 2010
@@ -10870,8 +10870,8 @@ if test 0 = "0"; then
else
supported_build=no
if test "x$GCC" = "xyes" ; then
- CFLAGS="$CFLAGS -g -O0"
- CXXFLAGS="$CXXFLAGS -g -O0"
+ : CFLAGS="$CFLAGS -g -O0"
+ : CXXFLAGS="$CXXFLAGS -g -O0"
fi
fi
if test "x$supported_build" = "xno"; then
@@ -15387,7 +15387,7 @@ esac
if test "x$GCC" = "xyes" ; then
- CFLAGS="$CFLAGS -std=gnu99 -ggdb3 -Wall -W -Wpointer-arith -Wformat-security -Wcast-align -Wundef -Wcast-align -Wstrict-prototypes -Wmissing-declarations -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wunused-parameter -Wwrite-strings -Waggregate-return -Winline -Wfloat-equal"
+ : CFLAGS="$CFLAGS -std=gnu99 -ggdb3 -Wall -W -Wpointer-arith -Wformat-security -Wcast-align -Wundef -Wcast-align -Wstrict-prototypes -Wmissing-declarations -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wunused-parameter -Wwrite-strings -Waggregate-return -Winline -Wfloat-equal"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
$as_echo_n "checking gcc version... " >&6; }
@@ -15399,10 +15399,10 @@ $as_echo_n "checking gcc version... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_VERSION" >&5
$as_echo "$GCC_VERSION" >&6; }
if test $GCC_VERSION_NUM -ge 304; then
- CFLAGS="$CFLAGS -Wextra -Wdeclaration-after-statement -Winit-self"
+ : CFLAGS="$CFLAGS -Wextra -Wdeclaration-after-statement -Winit-self"
fi
if test $GCC_VERSION_NUM -ge 403; then
- CFLAGS="$CFLAGS -Wvariadic-macros"
+ : CFLAGS="$CFLAGS -Wvariadic-macros"
fi
fi