public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Christian Faulhammer (opfer)" <opfer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/qof/files: qof-0.7.2-remove_spurious_CFLAGS.patch
Date: Sun, 04 Nov 2007 11:05:47 +0000	[thread overview]
Message-ID: <E1IodIZ-0008M8-Rb@stork.gentoo.org> (raw)

opfer       07/11/04 11:05:47

  Added:                qof-0.7.2-remove_spurious_CFLAGS.patch
  Log:
  remove all warning CFLAGS as they can hinder successful compilation, see bugs 197999 and 196103
  (Portage version: 2.1.3.16)

Revision  Changes    Path
1.1                  dev-libs/qof/files/qof-0.7.2-remove_spurious_CFLAGS.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/qof/files/qof-0.7.2-remove_spurious_CFLAGS.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/qof/files/qof-0.7.2-remove_spurious_CFLAGS.patch?rev=1.1&content-type=text/plain

Index: qof-0.7.2-remove_spurious_CFLAGS.patch
===================================================================
--- /tmp/configure	2007-11-04 11:44:13.000000000 +0100
+++ configure	2007-11-04 11:51:58.000000000 +0100
@@ -26367,18 +26367,18 @@
 echo $ECHO_N "checking what extra warning flags to pass to the C compiler... $ECHO_C" >&6; }
 if test ${GCC}x = yesx; then
   warnFLAGS=
-  CFLAGS="${CFLAGS} -g2 -Wall"
+  CFLAGS="${CFLAGS}"
   # Check whether --enable-error-on-warning was given.
 if test "${enable_error_on_warning+set}" = set; then
   enableval=$enable_error_on_warning; case "${enableval}" in
-        yes) warnFLAGS="${warnFLAGS} -Werror" ;;
+        yes) warnFLAGS="${warnFLAGS}" ;;
         no)  ;;
         *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-error-on-warning" >&5
 echo "$as_me: error: bad value ${enableval} for --enable-error-on-warning" >&2;}
    { (exit 1); exit 1; }; } ;;
         esac
 else
-    warnFLAGS="${warnFLAGS} -Werror"
+    warnFLAGS="${warnFLAGS}"
 fi
 
   GCC_VERSION=`${CC} -dumpversion`
@@ -26386,10 +26386,10 @@
      # This is gcc >= 3.x.x
      if test `echo ${GCC_VERSION} | cut -d. -f2` -ge 4; then
         # This is gcc >= 3.4.x
-        warnFLAGS="${warnFLAGS} -Wdeclaration-after-statement"
+        warnFLAGS="${warnFLAGS}"
      else if test `echo ${GCC_VERSION} | cut -d. -f1` -ge 4; then
         # This is gcc == 4.x.x
-        warnFLAGS="${warnFLAGS} -Wdeclaration-after-statement -Wno-pointer-sign"
+        warnFLAGS="${warnFLAGS}"
         fi
      fi
   fi
@@ -26408,16 +26408,6 @@
 fi
 
 
-if test "$GCC" = "yes" -a "$set_compile_warnings" != "no"; then
-        warnFLAGS="$warnFLAGS -Wcast-align -Wsign-compare \
- -Wmissing-prototypes -Wmissing-declarations -Werror -Wmissing-include-dirs \
- -Wstrict-prototypes -Winline -Wnested-externs -Wpointer-arith \
- -Wmissing-field-initializers"
-fi
-
-
-
-
 
 DATADIR=`eval echo $datadir`
 QSF_SCHEMA_DIR=`eval echo $DATADIR`"/xml/qof/qsf"



-- 
gentoo-commits@gentoo.org mailing list



             reply	other threads:[~2007-11-04 11:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-04 11:05 Christian Faulhammer (opfer) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-03-24 20:13 [gentoo-commits] gentoo-x86 commit in dev-libs/qof/files: qof-0.7.2-remove_spurious_CFLAGS.patch Christian Faulhammer (opfer)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1IodIZ-0008M8-Rb@stork.gentoo.org \
    --to=opfer@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox