- Correction of "implicit declaration of function 'g_fopen'" warning
- Resolves: #439114
This commit is contained in:
parent
a9bb47f76b
commit
e025cfad8d
11
gtk2.spec
11
gtk2.spec
@ -16,7 +16,7 @@
|
|||||||
Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
|
Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
|
||||||
Name: gtk2
|
Name: gtk2
|
||||||
Version: %{base_version}
|
Version: %{base_version}
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source: http://download.gnome.org/sources/gtk+/2.12/gtk+-%{version}.tar.bz2
|
Source: http://download.gnome.org/sources/gtk+/2.12/gtk+-%{version}.tar.bz2
|
||||||
@ -40,6 +40,9 @@ Patch4: im-setting.patch
|
|||||||
# fixed upstream
|
# fixed upstream
|
||||||
Patch5: foreign-cmap.patch
|
Patch5: foreign-cmap.patch
|
||||||
|
|
||||||
|
# fixed upstream
|
||||||
|
Patch6: implicit-g_fopen.patch
|
||||||
|
|
||||||
BuildRequires: atk-devel >= %{atk_version}
|
BuildRequires: atk-devel >= %{atk_version}
|
||||||
BuildRequires: pango-devel >= %{pango_version}
|
BuildRequires: pango-devel >= %{pango_version}
|
||||||
BuildRequires: glib2-devel >= %{glib2_version}
|
BuildRequires: glib2-devel >= %{glib2_version}
|
||||||
@ -120,6 +123,7 @@ docs for the GTK+ widget toolkit.
|
|||||||
%patch3 -p1 -b .system-log-crash
|
%patch3 -p1 -b .system-log-crash
|
||||||
%patch4 -p1 -b .im-setting
|
%patch4 -p1 -b .im-setting
|
||||||
%patch5 -p1 -b .foreign-cmap
|
%patch5 -p1 -b .foreign-cmap
|
||||||
|
%patch6 -p1 -b .implicit-g_fopen
|
||||||
|
|
||||||
for i in config.guess config.sub ; do
|
for i in config.guess config.sub ; do
|
||||||
test -f %{_datadir}/libtool/$i && cp %{_datadir}/libtool/$i .
|
test -f %{_datadir}/libtool/$i && cp %{_datadir}/libtool/$i .
|
||||||
@ -302,6 +306,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/gtk-2.0
|
%{_datadir}/gtk-2.0
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 7 2008 Marek Kasik <mkasik@redhat.com> - 2.12.9-3
|
||||||
|
- Correction of "implicit declaration of function 'g_fopen'"
|
||||||
|
warning
|
||||||
|
- Resolves: #439114
|
||||||
|
|
||||||
* Thu Apr 3 2008 Matthias Clasen <mclasen@redhat.com> - 2.12.9-2
|
* Thu Apr 3 2008 Matthias Clasen <mclasen@redhat.com> - 2.12.9-2
|
||||||
- Don't free foreign colormaps
|
- Don't free foreign colormaps
|
||||||
|
|
||||||
|
10
implicit-g_fopen.patch
Normal file
10
implicit-g_fopen.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- gtk+-2.12.9/modules/printbackends/cups/gtkprintbackendcups.c 2008-03-12 05:17:03.000000000 +0100
|
||||||
|
+++ gtk+-2.12.9/modules/printbackends/cups/gtkprintbackendcups.c 2008-04-07 19:06:13.000000000 +0200
|
||||||
|
@@ -35,6 +35,7 @@
|
||||||
|
#include <cairo-pdf.h>
|
||||||
|
#include <cairo-ps.h>
|
||||||
|
|
||||||
|
+#include <glib/gstdio.h>
|
||||||
|
#include <glib/gi18n-lib.h>
|
||||||
|
#include <gmodule.h>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user