pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/gutenprint-lib Don't use -O6 and -O3 because som...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/579a8d48b5e0
branches:  trunk
changeset: 551835:579a8d48b5e0
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Sat Dec 20 18:08:07 2008 +0000

description:
Don't use -O6 and -O3 because some gcc versions choke.
>From Bernd Ernesti in private mail.

diffstat:

 print/gutenprint-lib/Makefile         |   4 ++--
 print/gutenprint-lib/distinfo         |   3 ++-
 print/gutenprint-lib/patches/patch-ab |  22 ++++++++++++++++++++++
 3 files changed, 26 insertions(+), 3 deletions(-)

diffs (54 lines):

diff -r ea382f747add -r 579a8d48b5e0 print/gutenprint-lib/Makefile
--- a/print/gutenprint-lib/Makefile     Sat Dec 20 18:06:39 2008 +0000
+++ b/print/gutenprint-lib/Makefile     Sat Dec 20 18:08:07 2008 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.9 2008/12/20 15:57:02 gdt Exp $
+# $NetBSD: Makefile,v 1.10 2008/12/20 18:08:07 gdt Exp $
 
 VERSION=       5.2.2
 DISTNAME=      gutenprint-${VERSION}
 EXTRACT_SUFX=  .tar.bz2
 PKGNAME=       gutenprint-lib-${VERSION}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    print
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=gimp-print/}
 
diff -r ea382f747add -r 579a8d48b5e0 print/gutenprint-lib/distinfo
--- a/print/gutenprint-lib/distinfo     Sat Dec 20 18:06:39 2008 +0000
+++ b/print/gutenprint-lib/distinfo     Sat Dec 20 18:08:07 2008 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2008/12/20 00:54:17 gdt Exp $
+$NetBSD: distinfo,v 1.3 2008/12/20 18:08:07 gdt Exp $
 
 SHA1 (gutenprint-5.2.2.tar.bz2) = 0efaadf2db4c67ecb66e79f5405315975dd1d11b
 RMD160 (gutenprint-5.2.2.tar.bz2) = eac1ce4304f044e9aadfc4081c0408f038f685bd
 Size (gutenprint-5.2.2.tar.bz2) = 4913895 bytes
 SHA1 (patch-aa) = b085bcf736d230c7f05d7b27bd1831165f958579
+SHA1 (patch-ab) = aa773c2c0789995df28b5533bf8b93cec8be6ec8
diff -r ea382f747add -r 579a8d48b5e0 print/gutenprint-lib/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/gutenprint-lib/patches/patch-ab     Sat Dec 20 18:08:07 2008 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1 2008/12/20 18:08:07 gdt Exp $
+
+--- ./configure.orig   2008-11-14 13:49:21.000000000 +0100
++++ ./configure        2008-12-19 21:23:35.000000000 +0100
+@@ -26682,7 +26682,7 @@
+ 
+   else
+ 
+-  for stp_ac_arg in -O6 -O3 -O2 -O1 -O ; do
++  for stp_ac_arg in -O2 -O1 -O ; do
+     stp_ac_save_CFLAGS="${CFLAGS}"
+ 
+   { echo "$as_me:$LINENO: checking if ${CC} supports ${stp_ac_arg}" >&5
+@@ -31879,6 +31879,8 @@
+   case $ac_option in
+   # Handling of the options.
+   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
++      : Avoid regenerating within pkgsrc
++      exit 0
+     ac_cs_recheck=: ;;
+   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
+     echo "$ac_cs_version"; exit ;;



Home | Main Index | Thread Index | Old Index