diff options
author | Saqib Khan <khansa@us.ibm.com> | 2017-03-07 17:06:13 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-03-21 21:34:32 +0300 |
commit | 53f1668751628aa94189ea518b06391c228b6c5a (patch) | |
tree | dd8bf5a198b97c04c0a5c367f4af74883fab6d01 /meta-phosphor/common/recipes-devtools/python | |
parent | 46fd3711287c7a604164176d2d499087e660ea1a (diff) | |
download | openbmc-53f1668751628aa94189ea518b06391c228b6c5a.tar.xz |
Adding patch to remove GNOME compiler warning(deprecated)
gnome-common is completely deprecated and replaced by
autoconf. Therefore this patch removes all gnome
dependencies from the code.
For reference:
https://wiki.gnome.org/Projects/GnomeCommon/Migration
Change-Id: I108dd58152e8b60d1390bcbf184877ea415de669
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-devtools/python')
-rw-r--r-- | meta-phosphor/common/recipes-devtools/python/python-pygobject/remove_GNOME_compiler_warning.patch | 11 | ||||
-rw-r--r-- | meta-phosphor/common/recipes-devtools/python/python-pygobject_3.%.bbappend | 3 |
2 files changed, 14 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-devtools/python/python-pygobject/remove_GNOME_compiler_warning.patch b/meta-phosphor/common/recipes-devtools/python/python-pygobject/remove_GNOME_compiler_warning.patch new file mode 100644 index 000000000..06bf268cf --- /dev/null +++ b/meta-phosphor/common/recipes-devtools/python/python-pygobject/remove_GNOME_compiler_warning.patch @@ -0,0 +1,11 @@ +diff --git a/configure.ac b/configure.ac +--- a/configure.ac ++++ b/configure.ac +@@ -222,7 +222,6 @@ + AM_CONDITIONAL(WITH_COMMON, test "$with_common" = "yes") + + # compiler warnings, errors, required cflags, and code coverage support +-GNOME_COMPILE_WARNINGS([maximum]) + AC_MSG_CHECKING(for Gnome code coverage support) + m4_ifdef([GNOME_CODE_COVERAGE], + [AC_MSG_RESULT(yes) diff --git a/meta-phosphor/common/recipes-devtools/python/python-pygobject_3.%.bbappend b/meta-phosphor/common/recipes-devtools/python/python-pygobject_3.%.bbappend new file mode 100644 index 000000000..862f99f42 --- /dev/null +++ b/meta-phosphor/common/recipes-devtools/python/python-pygobject_3.%.bbappend @@ -0,0 +1,3 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +RDEPENDS_${PN}_class-native = "" +SRC_URI += "file://remove_GNOME_compiler_warning.patch" |