summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-10-27 20:29:44 +0000
committerjoerg <joerg@pkgsrc.org>2013-10-27 20:29:44 +0000
commit699bc8fd398341d405c8cc3761b510da338590f1 (patch)
tree9145d5c0dc9e4482dfd60c653db2bcaf48ccb140
parentab9037eb4481ff689596b5a72012eff48c54d8b3 (diff)
downloadpkgsrc-699bc8fd398341d405c8cc3761b510da338590f1.tar.gz
Don't play with -fno-schedule-insns2 or -fno-strength-reduce.
-rw-r--r--archivers/liblzo/distinfo4
-rw-r--r--archivers/liblzo/patches/patch-ab22
2 files changed, 22 insertions, 4 deletions
diff --git a/archivers/liblzo/distinfo b/archivers/liblzo/distinfo
index 2a74d25ceea..2bd9698cf1a 100644
--- a/archivers/liblzo/distinfo
+++ b/archivers/liblzo/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.10 2011/04/15 16:23:00 drochner Exp $
+$NetBSD: distinfo,v 1.11 2013/10/27 20:29:44 joerg Exp $
SHA1 (lzo-1.08.tar.gz) = ad1b458cf9d5d49153665d2adc25bd6129028221
RMD160 (lzo-1.08.tar.gz) = d7013f09a6c86241ceb75475323e841d3d9d0867
Size (lzo-1.08.tar.gz) = 426692 bytes
SHA1 (patch-aa) = e889ba225be55952b2dd65e0960561bf292d4843
-SHA1 (patch-ab) = 13cee5843c7f33896744266a9c2832826f04142a
+SHA1 (patch-ab) = 1297cd7636d6714dcda9e77cd34c26a11718cf48
diff --git a/archivers/liblzo/patches/patch-ab b/archivers/liblzo/patches/patch-ab
index f332262526c..00b420c77f5 100644
--- a/archivers/liblzo/patches/patch-ab
+++ b/archivers/liblzo/patches/patch-ab
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.3 2011/04/15 16:23:00 drochner Exp $
+$NetBSD: patch-ab,v 1.4 2013/10/27 20:29:44 joerg Exp $
---- configure.orig Fri May 21 22:08:40 2004
+--- configure.orig 2002-07-13 01:31:52.000000000 +0000
+++ configure
@@ -12063,8 +12063,6 @@ if test "X$GCC" = Xyes; then
MFX_CC="GCC"
@@ -11,3 +11,21 @@ $NetBSD: patch-ab,v 1.3 2011/04/15 16:23:00 drochner Exp $
fi
CFLAGS="$CFLAGS -Wall -Wcast-align -Wcast-qual -Wwrite-strings"
case $MFX_CPU in
+@@ -12072,17 +12070,10 @@ if test "X$GCC" = Xyes; then
+ MFX_ARCH="i386"
+ mfx_unaligned_ok_2="yes"
+ mfx_unaligned_ok_4="yes"
+- CFLAGS="$CFLAGS -fno-strength-reduce"
+ ;;
+ *)
+- if test "X$mfx_cv_prog_gcc_bug_strength_reduce" = Xyes; then
+- CFLAGS="$CFLAGS -fno-strength-reduce"
+- fi
+ ;;
+ esac
+- if test "X$mfx_cv_prog_gcc_bug_schedule_insns" = Xyes; then
+- CFLAGS="$CFLAGS -fno-schedule-insns -fno-schedule-insns2"
+- fi
+ fi
+
+