openbsd-ports/audio/libvorbis/patches/patch-configure
naddy dfd38ed631 SECURITY update to 1.2.0.
Fix several vulnerabilities allowing heap overwrite, read violations
and a function pointer overwrite.
From: Moritz Grimm
2007-07-30 15:29:35 +00:00

26 lines
953 B
Plaintext

$OpenBSD: patch-configure,v 1.11 2007/07/30 15:29:36 naddy Exp $
--- configure.orig Sun Jul 29 17:10:05 2007
+++ configure Sun Jul 29 17:11:49 2007
@@ -19362,7 +19362,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
@@ -19480,9 +19480,9 @@ echo "$as_me: WARNING:
CFLAGS="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O4 -ffast-math -fsigned-char"
PROFILE="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -pg -O4 -ffast-math -fsigned-char";;
*)
- DEBUG="-g -Wall -W -D__NO_MATH_INLINES -fsigned-char"
- CFLAGS="-O20 -D__NO_MATH_INLINES -fsigned-char"
- PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
+ DEBUG="-g -Wall -W -fsigned-char"
+ CFLAGS="-fsigned-char"
+ PROFILE="-g -pg -fsigned-char" ;;
esac
fi
CFLAGS="$CFLAGS $cflags_save"