diff --git a/inkscape-0.41-dgettext.patch b/inkscape-0.41-dgettext.patch deleted file mode 100644 index 2a7d12e..0000000 --- a/inkscape-0.41-dgettext.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nur inkscape-0.41-orig/configure inkscape-0.41/configure ---- inkscape-0.41-orig/configure 2005-02-09 04:55:31.000000000 +0100 -+++ inkscape-0.41/configure 2005-05-31 14:50:00.000000000 +0200 -@@ -20218,7 +20218,7 @@ - int - main () - { --return (int) dgettext ("","") -+return (int) (long)dgettext ("","") - ; - return 0; - } diff --git a/inkscape-0.42-gettext-x86_64.patch b/inkscape-0.42-gettext-x86_64.patch new file mode 100644 index 0000000..cdabb8e --- /dev/null +++ b/inkscape-0.42-gettext-x86_64.patch @@ -0,0 +1,21 @@ +diff -Nur inkscape-0.42-orig/configure inkscape-0.42/configure +--- inkscape-0.42-orig/configure 2005-07-25 07:25:35.000000000 +0200 ++++ inkscape-0.42/configure 2005-07-29 12:34:14.000000000 +0200 +@@ -21344,7 +21344,7 @@ + int + main () + { +-return (int) ngettext ("","", 1) ++return (int)(long) ngettext ("","", 1) + ; + return 0; + } +@@ -21402,7 +21402,7 @@ + int + main () + { +-return (int) dgettext ("","") ++return (int)(long) dgettext ("","") + ; + return 0; + } diff --git a/inkscape.spec b/inkscape.spec index 14cc8c6..63ae574 100644 --- a/inkscape.spec +++ b/inkscape.spec @@ -1,13 +1,13 @@ Name: inkscape Version: 0.42 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Vector-based drawing program using SVG Group: Applications/Productivity License: GPL URL: http://inkscape.sourceforge.net/ Source0: http://download.sourceforge.net/inkscape/inkscape-%{version}.tar.bz2 -Patch0: inkscape-0.41-dgettext.patch +Patch0: inkscape-0.42-gettext-x86_64.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: atk-devel @@ -102,6 +102,9 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : %changelog +* Fri Jul 29 2005 Michael Schwendt - 0.42-2 +- Extend ngettext/dgettext patch for x86_64 build. + * Tue Jul 26 2005 Michael Schwendt - 0.42-1 - update to 0.42 (also fixes #160326) - BR gnome-vfs2-devel