diff --git a/inkscape-0.48.5-libgc-7.4.2.patch b/inkscape-0.48.5-libgc-7.4.2.patch new file mode 100644 index 0000000..8307859 --- /dev/null +++ b/inkscape-0.48.5-libgc-7.4.2.patch @@ -0,0 +1,33 @@ +Submitted By: Armin K. , rediffed by Fernando de Oliveira +Date: 2014-06-23 +Initial Package Version: 0.48.5 +Upstream Status: Unknown +Origin: Armin K. +URL: +Description: Fixes build with gc-7.4.2 + + +--- inkscape-0.48.5.orig/configure 2014-06-20 19:05:43.525382393 -0300 ++++ inkscape-0.48.5/configure 2014-06-23 15:24:38.730084988 -0300 +@@ -9044,8 +9044,8 @@ + # include + #endif + #include +- extern unsigned GC_version; + int main(void){ ++ unsigned GC_version = GC_get_version(); + unsigned min = ((6 << 16) | (4 << 8) | 0); + printf("%d.%d.%d ",GC_version >> 16, (GC_version >> 8) & 0xFF, GC_version & 0xFF); + if (GC_version>=min) return 0; +--- inkscape-0.48.5.orig/configure.ac 2014-06-20 17:29:03.717600589 -0300 ++++ inkscape-0.48.5/configure.ac 2014-06-23 15:24:19.592598799 -0300 +@@ -241,8 +241,8 @@ + # include + #endif + #include +- extern unsigned GC_version; + int main(void){ ++ unsigned GC_version = GC_get_version(); + unsigned min = ((6 << 16) | (4 << 8) | 0); + printf("%d.%d.%d ",GC_version >> 16, (GC_version >> 8) & 0xFF, GC_version & 0xFF); + if (GC_version>=min) return 0; diff --git a/inkscape.spec b/inkscape.spec index bd60e44..492fc20 100644 --- a/inkscape.spec +++ b/inkscape.spec @@ -1,6 +1,6 @@ Name: inkscape -Version: 0.48.4 -Release: 2mamba +Version: 0.48.5 +Release: 1mamba Summary: A SVG based generic vector-drawing application Group: Applications/Multimedia Vendor: openmamba @@ -11,6 +11,7 @@ Source: http://downloads.sourceforge.net/sourceforge/inkscape/inkscape-%{ Patch: %{name}-0.43-desktop_file.patch Patch1: %{name}-0.47-poppler-0.12.2.patch Patch2: %{name}-0.47-gcc45.patch +Patch3: inkscape-0.48.5-libgc-7.4.2.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: aspell-devel @@ -75,6 +76,7 @@ Additional planned work includes conversion of the codebase from C/Gtk to C++/Gt %setup -q #%patch1 -p1 #%patch2 -p1 +%patch3 -p1 # Fixes build with gcc 4.8 sed -e "s@commands_toolbox,@commands_toolbox@" -i src/widgets/desktop-widget.h @@ -118,6 +120,9 @@ LDFLAGS="-ldl" \ %doc AUTHORS ChangeLog COPYING* NEWS README %changelog +* Thu Sep 18 2014 Automatic Build System 0.48.5-1mamba +- automatic version update by autodist + * Sat Sep 14 2013 Silvan Calarco 0.48.4-2mamba - rebuilt