public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-libs/qof/files: qof-0.7.2-remove_spurious_CFLAGS.patch
@ 2007-11-04 11:05 Christian Faulhammer (opfer)
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Faulhammer (opfer) @ 2007-11-04 11:05 UTC (permalink / raw
  To: gentoo-commits

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-libs/qof/files: qof-0.7.2-remove_spurious_CFLAGS.patch
@ 2008-03-24 20:13 Christian Faulhammer (opfer)
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Faulhammer (opfer) @ 2008-03-24 20:13 UTC (permalink / raw
  To: gentoo-commits

opfer       08/03/24 20:13:22

  Removed:              qof-0.7.2-remove_spurious_CFLAGS.patch
  Log:
  clean up
  (Portage version: 2.1.4.4)
-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-24 20:13 UTC | newest]

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox