summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-24 17:16:44 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-24 17:16:44 +0000
commit9f313b8e5ae95a47ede79ae93a770b84847a2729 (patch)
treec5867a0de2efceacf8a80911bed36465a5c1f385 /sys-freebsd/freebsd-mk-defs
parentamd64 stable (diff)
downloadgentoo-2-9f313b8e5ae95a47ede79ae93a770b84847a2729.tar.gz
gentoo-2-9f313b8e5ae95a47ede79ae93a770b84847a2729.tar.bz2
gentoo-2-9f313b8e5ae95a47ede79ae93a770b84847a2729.zip
Restore -Werror mangling, or the kernel will fail to build.
(Portage version: 2.1.2_rc2-r1)
Diffstat (limited to 'sys-freebsd/freebsd-mk-defs')
-rw-r--r--sys-freebsd/freebsd-mk-defs/ChangeLog6
-rw-r--r--sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-6.2-2-gentoo.patch24
2 files changed, 29 insertions, 1 deletions
diff --git a/sys-freebsd/freebsd-mk-defs/ChangeLog b/sys-freebsd/freebsd-mk-defs/ChangeLog
index 009d8f432c09..9c347794f921 100644
--- a/sys-freebsd/freebsd-mk-defs/ChangeLog
+++ b/sys-freebsd/freebsd-mk-defs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-freebsd/freebsd-mk-defs
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-mk-defs/ChangeLog,v 1.25 2006/11/21 14:30:39 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-mk-defs/ChangeLog,v 1.26 2006/11/24 17:16:44 flameeyes Exp $
+
+ 24 Nov 2006; Diego Pettenò <flameeyes@gentoo.org>
+ files/freebsd-mk-defs-6.2-2-gentoo.patch:
+ Restore -Werror mangling, or the kernel will fail to build.
21 Nov 2006; Diego Pettenò <flameeyes@gentoo.org>
files/freebsd-mk-defs-6.2-2-gentoo.patch:
diff --git a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-6.2-2-gentoo.patch b/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-6.2-2-gentoo.patch
index 613aac808b1a..c09633b575b0 100644
--- a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-6.2-2-gentoo.patch
+++ b/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-6.2-2-gentoo.patch
@@ -262,3 +262,27 @@ Index: fbsd-6.2b3/share/mk/bsd.libnames.mk
LIBLN?= "don't use LIBLN, use LIBL"
.if !defined(NO_BIND)
LIBLWRES?= ${DESTDIR}${LIBDIR}/liblwres.a
+Index: fbsd-6.2b3/share/mk/bsd.sys.mk
+===================================================================
+--- fbsd-6.2b3.orig/share/mk/bsd.sys.mk
++++ fbsd-6.2b3/share/mk/bsd.sys.mk
+@@ -27,9 +27,6 @@ CFLAGS += -std=${CSTD}
+ . if defined(WARNS)
+ . if ${WARNS} >= 1
+ CWARNFLAGS += -Wsystem-headers
+-. if !defined(NO_WERROR)
+-CWARNFLAGS += -Werror
+-. endif
+ . endif
+ . if ${WARNS} >= 2
+ CWARNFLAGS += -Wall -Wno-format-y2k
+@@ -60,9 +57,6 @@ WFORMAT = 1
+ . if ${WFORMAT} > 0
+ #CWARNFLAGS += -Wformat-nonliteral -Wformat-security -Wno-format-extra-args
+ CWARNFLAGS += -Wformat=2 -Wno-format-extra-args
+-. if !defined(NO_WERROR)
+-CWARNFLAGS += -Werror
+-. endif
+ . endif
+ . endif
+ .endif