From 518a404a99cb5010d023f9ddb11eb3e1751ef82e Mon Sep 17 00:00:00 2001 From: Michael Scheidell Date: Fri, 27 Jan 2012 09:38:15 +0000 Subject: - update to version 7.4 - adds devel/readline as mandatory dependency (the previous version is not compatible anymore) - fixes a problem with multihread applications (thanks Lee Thomas) - fixes a misconfiguration issue if the devel/binutils port is installed PR: ports/164521 Submitted by: maintainer Approved by: gabor (mentor, implicit) --- devel/gdb/files/patch-bfd-configure | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 devel/gdb/files/patch-bfd-configure (limited to 'devel/gdb/files/patch-bfd-configure') diff --git a/devel/gdb/files/patch-bfd-configure b/devel/gdb/files/patch-bfd-configure new file mode 100644 index 000000000000..ed62a66ac0d8 --- /dev/null +++ b/devel/gdb/files/patch-bfd-configure @@ -0,0 +1,17 @@ +--- bfd/configure.orig 2011-03-28 13:18:25.000000000 +0200 ++++ bfd/configure 2012-01-12 16:58:05.000000000 +0100 +@@ -12177,7 +12177,13 @@ + + # Enable -Werror by default when using gcc + if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then +- ERROR_ON_WARNING=yes ++ if test "${CC}" = clang ; then ++ echo "clang compiler - disabling -Werror" ++ ERROR_ON_WARNING=no ++ else ++ echo "gcc compiler - enabling -Werror" ++ ERROR_ON_WARNING=yes ++ fi + fi + + NO_WERROR= -- cgit v1.2.3