summaryrefslogtreecommitdiff
path: root/graphics/glut/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/glut/patches/patch-ab')
-rw-r--r--graphics/glut/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/glut/patches/patch-ab b/graphics/glut/patches/patch-ab
new file mode 100644
index 00000000000..b36f8eae0cd
--- /dev/null
+++ b/graphics/glut/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2003/11/09 02:23:18 jschauma Exp $
+
+--- configure.orig 2003-11-08 19:10:36.000000000 -0500
++++ configure 2003-11-08 19:10:53.000000000 -0500
+@@ -7121,7 +7121,7 @@
+ if test "x$enable_optim" = xyes; then
+ if test "x$enable_debug" = xno && test "x$enable_prof" = xno; then
+ if test "x$GCC" = xyes; then
+- CFLAGS="$CFLAGS -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict-aliasing"
++ CFLAGS="$CFLAGS -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fno-strict-aliasing"
+ case "$host" in
+ i*86-*-*) CFLAGS="$CFLAGS -malign-loops=2 -malign-jumps=2 -malign-functions=2";;
+ esac