- Extend ngettext/dgettext patch for x86_64 build.

This commit is contained in:
Michael Schwendt 2005-07-29 10:34:59 +00:00
parent 41e2a18e6d
commit 607290c223
3 changed files with 26 additions and 14 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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 <mschwendt[AT]users.sf.net> - 0.42-2
- Extend ngettext/dgettext patch for x86_64 build.
* Tue Jul 26 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.42-1
- update to 0.42 (also fixes #160326)
- BR gnome-vfs2-devel