diff options
Diffstat (limited to 'dev-util/anjuta/files/anjuta-2.28.1.0-debug-mode.patch')
-rw-r--r-- | dev-util/anjuta/files/anjuta-2.28.1.0-debug-mode.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-util/anjuta/files/anjuta-2.28.1.0-debug-mode.patch b/dev-util/anjuta/files/anjuta-2.28.1.0-debug-mode.patch new file mode 100644 index 000000000000..ce8f0bb773fd --- /dev/null +++ b/dev-util/anjuta/files/anjuta-2.28.1.0-debug-mode.patch @@ -0,0 +1,26 @@ +From: Romain Perier <mrpouet@gentoo.org> +Date: Mon, 26 Oct 2009 11:12:22 +0100 +Subject: [PATCH] Fix the forced debugging mode even if --disable-debug is given on the command line + +--- + configure.in | 4 +++- + 1 files changed, 3 insertions(+), 1 deletions(-) + +diff --git a/configure.in b/configure.in +index 5f4c4bc..611faaa 100644 +--- a/configure.in ++++ b/configure.in +@@ -80,7 +80,9 @@ AM_CFLAGS="$AM_CFLAGS $WARN_CFLAGS" + dnl Enable debugging mode + AC_ARG_ENABLE(debug, + AC_HELP_STRING([--enable-debug],[Enable debug messages]), +- AM_CFLAGS="$AM_CFLAGS -DDEBUG") ++ [if test "x$enableval" = "xyes"; then ++ AM_CFLAGS="$AM_CFLAGS -DDEBUG" ++ fi]) + AC_SUBST(AM_CFLAGS) + + ANJUTA_LDFLAGS="-no-undefined" +-- +1.6.5.1 + |