diff options
author | Michael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com> | 2016-09-11 11:40:30 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-11-06 20:32:22 +0100 |
commit | a88cac840131eac99f4a1037ef4baf0c87913483 (patch) | |
tree | 45a2338d319137018e4e22d44e5e9fdb4da658b6 /dev-libs | |
parent | dev-libs/glib: remove unused file (diff) | |
download | gentoo-a88cac840131eac99f4a1037ef4baf0c87913483.tar.gz gentoo-a88cac840131eac99f4a1037ef4baf0c87913483.tar.bz2 gentoo-a88cac840131eac99f4a1037ef4baf0c87913483.zip |
dev-libs/gobject-introspection: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/2226
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/gobject-introspection/files/gobject-introspection-1.42.0-cpp-flags.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/dev-libs/gobject-introspection/files/gobject-introspection-1.42.0-cpp-flags.patch b/dev-libs/gobject-introspection/files/gobject-introspection-1.42.0-cpp-flags.patch deleted file mode 100644 index 8195cdf362da..000000000000 --- a/dev-libs/gobject-introspection/files/gobject-introspection-1.42.0-cpp-flags.patch +++ /dev/null @@ -1,32 +0,0 @@ -From d2dce55c971fc44cc327818b0341eb89f1243db6 Mon Sep 17 00:00:00 2001 -From: Michael Catanzaro <mcatanzaro@gnome.org> -Date: Wed, 28 Jan 2015 21:55:20 -0600 -Subject: scanner: don't pass certain debug level flags to cpp - -These may cause cpp to output code that still has #defines in them, -which the scanner does not expect. - -https://bugzilla.gnome.org/show_bug.cgi?id=720504 - -diff --git a/giscanner/sourcescanner.py b/giscanner/sourcescanner.py -index dab1602..9a81421 100644 ---- a/giscanner/sourcescanner.py -+++ b/giscanner/sourcescanner.py -@@ -294,6 +294,14 @@ class SourceScanner(object): - cpp_args += ['-E', '-C', '-I.', '-'] - cpp_args += self._cpp_options - -+ # We expect the preprocessor to remove macros. If debugging is turned -+ # up high enough that won't happen, so strip these out. Bug #720504 -+ for flag in ['-g3', '-ggdb3', '-gstabs3', '-gcoff3', '-gxcoff3', '-gvms3']: -+ try: -+ cpp_args.remove(flag) -+ except ValueError: -+ pass -+ - proc = subprocess.Popen(cpp_args, - stdin=subprocess.PIPE, - stdout=subprocess.PIPE) --- -cgit v0.10.2 - |