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 | 816658fbc0ee255521d1cea9ea7cfdc78dc340b4 (patch) | |
tree | 635f6accafae56b5ca61a45aaf8a29ba07c9bdb5 /media-gfx/gimp/files | |
parent | cleanup, minor fixes, stable amd64, x86 on bug #397091 (diff) | |
download | historical-816658fbc0ee255521d1cea9ea7cfdc78dc340b4.tar.gz historical-816658fbc0ee255521d1cea9ea7cfdc78dc340b4.tar.bz2 historical-816658fbc0ee255521d1cea9ea7cfdc78dc340b4.zip |
media-gfx/gimp: Fix compilation (bug #395695)
Package-Manager: portage-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 + ############################ |