diff options
author | Sebastian Pipping <sping@gentoo.org> | 2012-01-02 18:49:04 +0000 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2012-01-02 18:49:04 +0000 |
commit | ce67afa6bb96dcf1c3202117668207d775528500 (patch) | |
tree | 6e43e4bd4c9e5ce9d5a2717fc1b6860f2951830f /media-gfx/gimp/files | |
parent | cleanup, minor fixes, stable amd64, x86 on bug #397091 (diff) | |
download | gentoo-2-ce67afa6bb96dcf1c3202117668207d775528500.tar.gz gentoo-2-ce67afa6bb96dcf1c3202117668207d775528500.tar.bz2 gentoo-2-ce67afa6bb96dcf1c3202117668207d775528500.zip |
media-gfx/gimp: Fix compilation (bug #395695)
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/gimp/files')
-rw-r--r-- | media-gfx/gimp/files/gimp-2.7.4-no-deprecation.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/media-gfx/gimp/files/gimp-2.7.4-no-deprecation.patch b/media-gfx/gimp/files/gimp-2.7.4-no-deprecation.patch new file mode 100644 index 000000000000..66bd93d0d1aa --- /dev/null +++ b/media-gfx/gimp/files/gimp-2.7.4-no-deprecation.patch @@ -0,0 +1,36 @@ +--- configure.ac 2012-01-02 13:15:53.695067626 +0100 ++++ configure.ac 2012-01-02 13:21:49.161623684 +0100 +@@ -1943,33 +1943,6 @@ + AC_SUBST(MIME_TYPES) + + +-######################### +-# Disable deprecated APIs +-######################### +- +-CPPFLAGS="${CPPFLAGS} -DGIMP_DISABLE_DEPRECATED -DBABL_DISABLE_DEPRECATED -DGSEAL_ENABLE" +- +-# Make sure not to disable deprecated APIs for unreleased versions. +-# We must build without problems with future releases of libraries +-# and disabling deprecated API risks breaking the build +- +-if test "x$have_glib_2_31" != "xyes"; then +- CPPFLAGS="${CPPFLAGS} -DG_DISABLE_DEPRECATED" +-fi +- +-if test "x$have_gtk_2_26" != "xyes"; then +- CPPFLAGS="${CPPFLAGS} -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED" +-fi +- +-if test "x$have_gdk_pixbuf_2_26" != "xyes"; then +- CPPFLAGS="${CPPFLAGS} -DGDK_PIXBUF_DISABLE_DEPRECATED" +-fi +- +-if test "x$have_pango_1_32" != "xyes"; then +- CPPFLAGS="${CPPFLAGS} -DPANGO_DISABLE_DEPRECATED" +-fi +- +- + ############################ + # Require multihead safe API + ############################ |