1 |
sping 12/01/02 18:49:04 |
2 |
|
3 |
Added: gimp-2.7.4-no-deprecation.patch |
4 |
Log: |
5 |
media-gfx/gimp: Fix compilation (bug #395695) |
6 |
|
7 |
(Portage version: 2.1.10.44/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 media-gfx/gimp/files/gimp-2.7.4-no-deprecation.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/gimp/files/gimp-2.7.4-no-deprecation.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/gimp/files/gimp-2.7.4-no-deprecation.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: gimp-2.7.4-no-deprecation.patch |
16 |
=================================================================== |
17 |
--- configure.ac 2012-01-02 13:15:53.695067626 +0100 |
18 |
+++ configure.ac 2012-01-02 13:21:49.161623684 +0100 |
19 |
@@ -1943,33 +1943,6 @@ |
20 |
AC_SUBST(MIME_TYPES) |
21 |
|
22 |
|
23 |
-######################### |
24 |
-# Disable deprecated APIs |
25 |
-######################### |
26 |
- |
27 |
-CPPFLAGS="${CPPFLAGS} -DGIMP_DISABLE_DEPRECATED -DBABL_DISABLE_DEPRECATED -DGSEAL_ENABLE" |
28 |
- |
29 |
-# Make sure not to disable deprecated APIs for unreleased versions. |
30 |
-# We must build without problems with future releases of libraries |
31 |
-# and disabling deprecated API risks breaking the build |
32 |
- |
33 |
-if test "x$have_glib_2_31" != "xyes"; then |
34 |
- CPPFLAGS="${CPPFLAGS} -DG_DISABLE_DEPRECATED" |
35 |
-fi |
36 |
- |
37 |
-if test "x$have_gtk_2_26" != "xyes"; then |
38 |
- CPPFLAGS="${CPPFLAGS} -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED" |
39 |
-fi |
40 |
- |
41 |
-if test "x$have_gdk_pixbuf_2_26" != "xyes"; then |
42 |
- CPPFLAGS="${CPPFLAGS} -DGDK_PIXBUF_DISABLE_DEPRECATED" |
43 |
-fi |
44 |
- |
45 |
-if test "x$have_pango_1_32" != "xyes"; then |
46 |
- CPPFLAGS="${CPPFLAGS} -DPANGO_DISABLE_DEPRECATED" |
47 |
-fi |
48 |
- |
49 |
- |
50 |
############################ |
51 |
# Require multihead safe API |
52 |
############################ |