rpms/pstoedit/devel pstoedit-3.45-gcc43.patch, NONE, 1.1 pstoedit.spec, 1.7, 1.8
Denis Leroy (denis)
fedora-extras-commits at redhat.com
Sun Feb 17 10:55:57 UTC 2008
Author: denis
Update of /cvs/pkgs/rpms/pstoedit/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28840
Modified Files:
pstoedit.spec
Added Files:
pstoedit-3.45-gcc43.patch
Log Message:
Added patch for gcc 4.3 rebuild
pstoedit-3.45-gcc43.patch:
--- NEW FILE pstoedit-3.45-gcc43.patch ---
--- pstoedit-3.45/src/cppcomp.h~ 2007-07-22 13:27:40.000000000 +0200
+++ pstoedit-3.45/src/cppcomp.h 2008-02-17 11:53:46.000000000 +0100
@@ -37,6 +37,9 @@
#define _unix
#endif
+#include <cstring>
+#include <cstdlib>
+
#if defined (_MSC_VER) && (_MSC_VER >= 1100)
// MSVC 5 and 6 have ANSI C++ header files, but the compilation
// is much slower and object files get bigger.
Index: pstoedit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pstoedit/devel/pstoedit.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- pstoedit.spec 20 Sep 2007 09:54:36 -0000 1.7
+++ pstoedit.spec 17 Feb 2008 10:55:21 -0000 1.8
@@ -1,6 +1,6 @@
Name: pstoedit
Version: 3.45
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Translates PostScript and PDF graphics into other vector formats
Group: Applications/Productivity
@@ -9,6 +9,7 @@
Source0: http://download.sourceforge.net/pstoedit/pstoedit-%{version}.tar.gz
Patch0: pstoedit-3.44-cxxflags.patch
Patch1: pstoedit-3.45-quiet.patch
+Patch2: pstoedit-3.45-gcc43.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: ghostscript
BuildRequires: gd-devel
@@ -42,6 +43,7 @@
%setup -q
%patch0 -p1 -b .cxxflags
%patch1 -p1 -b .quiet
+%patch2 -p1 -b .gcc43
dos2unix doc/*.htm doc/readme.txt
%build
@@ -86,6 +88,9 @@
%{_datadir}/aclocal/*.m4
%changelog
+* Sun Feb 17 2008 Denis Leroy <denis at poolshark.org> - 3.45-2
+- Added patch for gcc 4.3 rebuild
+
* Thu Sep 20 2007 Denis Leroy <denis at poolshark.org> - 3.45-1
- Update to new upstream 3.45, bugfix release
- Updated quiet patch for 3.45
More information about the fedora-extras-commits
mailing list