fix g_enum_register_static use
This commit is contained in:
parent
68b10ce947
commit
ff4a14db10
12
libgsf-1.14.11.gcc39015.patch
Normal file
12
libgsf-1.14.11.gcc39015.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ru libgsf-1.14.11.orig/gsf/gsf-output-csv.c libgsf-1.14.11/gsf/gsf-output-csv.c
|
||||
--- libgsf-1.14.11.orig/gsf/gsf-output-csv.c 2009-01-30 11:51:12.000000000 +0000
|
||||
+++ libgsf-1.14.11/gsf/gsf-output-csv.c 2009-01-30 11:51:33.000000000 +0000
|
||||
@@ -182,7 +182,7 @@
|
||||
static GType gsf_output_csv_quoting_mode_type = 0;
|
||||
|
||||
if (gsf_output_csv_quoting_mode_type == 0) {
|
||||
- GEnumValue const values[] = {
|
||||
+ static GEnumValue const values[] = {
|
||||
{ GSF_OUTPUT_CSV_QUOTING_MODE_NEVER, (char *)"GSF_OUTPUT_CSV_QUOTING_MODE_NEVER", (char *)"never" },
|
||||
{ GSF_OUTPUT_CSV_QUOTING_MODE_AUTO, (char *)"GSF_OUTPUT_CSV_QUOTING_MODE_AUTO", (char *)"auto" },
|
||||
{ GSF_OUTPUT_CSV_QUOTING_MODE_ALWAYS, (char *)"GSF_OUTPUT_CSV_QUOTING_MODE_ALWAYS", (char *)"always" },
|
||||
@ -4,7 +4,7 @@
|
||||
Summary: GNOME Structured File library
|
||||
Name: libgsf
|
||||
Version: 1.14.11
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2
|
||||
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/1.14/%{name}-%{version}.tar.bz2
|
||||
@ -17,6 +17,8 @@ Requires(pre): GConf2
|
||||
Requires(post): GConf2
|
||||
Requires(preun): GConf2
|
||||
|
||||
Patch0: libgsf-1.14.11.gcc39015.patch
|
||||
|
||||
%description
|
||||
A library for reading and writing structured files (eg MS OLE and Zip)
|
||||
|
||||
@ -57,6 +59,7 @@ Python bindings for libgsf
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b.gcc39015
|
||||
|
||||
%build
|
||||
%configure --disable-gtk-doc --disable-static
|
||||
@ -132,6 +135,9 @@ fi
|
||||
rm -r $RPM_BUILD_ROOT
|
||||
|
||||
%changelog
|
||||
* Fri Jan 30 2009 Caolán McNamara <caolanm@redhat.com> 1.14.11-2
|
||||
- fix g_enum_register_static use
|
||||
|
||||
* Wed Jan 07 2009 Caolán McNamara <caolanm@redhat.com> 1.14.11-1
|
||||
- latest version
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user