openbsd-ports/audio/libvorbis/patches/patch-configure
naddy 8e8a8f185d update to 1.3.3:
additional proofing against invalid/malicious streams in decode
2012-02-17 22:17:52 +00:00

26 lines
988 B
Plaintext

$OpenBSD: patch-configure,v 1.14 2012/02/17 22:17:52 naddy Exp $
--- configure.orig Fri Feb 3 23:01:11 2012
+++ configure Sun Feb 5 20:11:33 2012
@@ -12077,7 +12077,7 @@ if test -z "$GCC"; then
PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc" ;;
*)
DEBUG="-g"
- CFLAGS="-O"
+ CFLAGS=""
PROFILE="-g -p" ;;
esac
else
@@ -12221,9 +12221,9 @@ rm -f core conftest.err conftest.$ac_objext conftest.$
CFLAGS="-O20 -Wall -W -ffast-math -D_REENTRANT -fsigned-char"
PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char";;
*)
- DEBUG="-g -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char"
- CFLAGS="-O20 -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char"
- PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
+ DEBUG="-g -Wall -fsigned-char"
+ CFLAGS="-Wall -fsigned-char"
+ PROFILE="-g -pg -fsigned-char" ;;
esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wdeclaration-after-statement" >&5