forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gimp-2.7.4-no-deprecation.patch
36 lines (34 loc) · 1.04 KB
/
gimp-2.7.4-no-deprecation.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
############################