public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in x11-terms/terminal/files: terminal-configure.in.patch
@ 2009-06-13  3:22 Jeremy Olexa (darkside)
  0 siblings, 0 replies; 2+ messages in thread
From: Jeremy Olexa (darkside) @ 2009-06-13  3:22 UTC (permalink / raw
  To: gentoo-commits

darkside    09/06/13 03:22:42

  Added:                terminal-configure.in.patch
  Log:
  Add patch to remove -Werror during build with USE=debug, patch by Tiago Cunha - bug 265587
  (Portage version: 2.1.6.13/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  x11-terms/terminal/files/terminal-configure.in.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/terminal/files/terminal-configure.in.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/terminal/files/terminal-configure.in.patch?rev=1.1&content-type=text/plain

Index: terminal-configure.in.patch
===================================================================
# Add HAVE_DBUS to AM_CONDITIONAL (prevents automake from failing).
# Do not append -Werror to CFLAGS if debugging support was enabled (ie
# -enable-debug), and while there remove the Sun Studio specific check for
# -errwarn.

--- configure.in.orig	2009-06-11 19:49:23.580627864 +0100
+++ configure.in	2009-06-11 19:50:05.001816291 +0100
@@ -107,6 +107,7 @@
     AC_MSG_RESULT([no])
   fi
 fi
+AM_CONDITIONAL([HAVE_DBUS], [test "x$DBUS_FOUND" = "xyes"])
 
 dnl **************************
 dnl *** Check for xsltproc ***
@@ -162,28 +163,6 @@
   dnl Print the result
   AC_MSG_RESULT([$enable_debug])
 
-  dnl Check whether the compiler accepts the -Werror
-  save_CFLAGS="$CFLAGS"
-  CFLAGS="$CFLAGS -Werror"
-  AC_MSG_CHECKING([whether $CC accepts -Werror])
-  AC_COMPILE_IFELSE(AC_LANG_SOURCE([int x;]), [
-    AC_MSG_RESULT([yes])
-    PLATFORM_CFLAGS="$PLATFORM_CFLAGS -Werror"
-  ], [
-    AC_MSG_RESULT([no])
-
-		dnl Check whether the compiler accepts the -errwarn=%all
-		CFLAGS="$save_CFLAGS -errwarn=%all"
-		AC_MSG_CHECKING([whether $CC accepts -errwarn=%all])
-		AC_COMPILE_IFELSE(AC_LANG_SOURCE([int x;]), [
-			AC_MSG_RESULT([yes])
-			PLATFORM_CFLAGS="$PLATFORM_CFLAGS -errwarn=%all"
-		], [
-			AC_MSG_RESULT([no])
-		])
-  ])
-  CFLAGS="$save_CFLAGS"
-
   dnl Check whether the compiler accepts the -Wall
   save_CFLAGS="$CFLAGS"
   CFLAGS="$CFLAGS -Wall"






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

* [gentoo-commits] gentoo-x86 commit in x11-terms/terminal/files: terminal-configure.in.patch
@ 2009-09-23 11:29 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 2+ messages in thread
From: Samuli Suominen (ssuominen) @ 2009-09-23 11:29 UTC (permalink / raw
  To: gentoo-commits

ssuominen    09/09/23 11:29:26

  Removed:              terminal-configure.in.patch
  Log:
  old
  (Portage version: 2.2_rc41/cvs/Linux x86_64)



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

end of thread, other threads:[~2009-09-23 11:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-23 11:29 [gentoo-commits] gentoo-x86 commit in x11-terms/terminal/files: terminal-configure.in.patch Samuli Suominen (ssuominen)
  -- strict thread matches above, loose matches on Subject: below --
2009-06-13  3:22 Jeremy Olexa (darkside)

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