rpms/libEMF/devel libEMF-gcc43.patch,NONE,1.1 libEMF.spec,1.3,1.4

Dominik Mierzejewski (rathann) fedora-extras-commits at redhat.com
Sun Jan 6 14:15:34 UTC 2008


Author: rathann

Update of /cvs/pkgs/rpms/libEMF/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv579

Modified Files:
	libEMF.spec 
Added Files:
	libEMF-gcc43.patch 
Log Message:
- fixed compilation with gcc-4.3

libEMF-gcc43.patch:

--- NEW FILE libEMF-gcc43.patch ---
diff -up libEMF-1.0.3/libemf/libemf.cpp.gcc43 libEMF-1.0.3/libemf/libemf.cpp
--- libEMF-1.0.3/libemf/libemf.cpp.gcc43	2003-01-27 20:36:25.000000000 +0100
+++ libEMF-1.0.3/libemf/libemf.cpp	2008-01-06 14:52:50.000000000 +0100
@@ -19,7 +19,7 @@
  *
  */
 #include <iostream>
-
+#include <climits>
 #include "libemf.h"
 
 namespace EMF {


Index: libEMF.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libEMF/devel/libEMF.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- libEMF.spec	3 Dec 2007 21:42:23 -0000	1.3
+++ libEMF.spec	6 Jan 2008 14:14:57 -0000	1.4
@@ -2,13 +2,14 @@
 Summary(pl):	Biblioteka do generowania plików w formacie Enhanced Metafile
 Name:		libEMF
 Version:	1.0.3
-Release:	5%{?dist}
+Release:	6%{?dist}
 License:	LGPLv2+ and GPLv2+
 Group:		System Environment/Libraries
 Source0:	http://dl.sourceforge.net/pstoedit/%{name}-%{version}.tar.gz
 # Source0-md5:	a4e91fd8077ce5f540f569e20e8ef7ff
 Patch0:		%{name}-amd64.patch
 Patch1:		%{name}-axp.patch
+Patch2:		%{name}-gcc43.patch
 URL:		http://libemf.sourceforge.net/
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool
@@ -45,6 +46,7 @@
 %setup -q
 %patch0 -p1 -b .amd64
 %patch1 -p1 -b .axp
+%patch2 -p1 -b .gcc43
 chmod 0644 libemf/libemf.h
 
 %build
@@ -90,6 +92,9 @@
 %{_includedir}/libEMF
 
 %changelog
+* Sun Jan 06 2008 Dominik 'Rathann' Mierzejewski <rpm at greysector.net> 1.0.3-6
+- fixed compilation with gcc-4.3
+
 * Mon Dec 03 2007 Dominik 'Rathann' Mierzejewski <rpm at greysector.net> 1.0.3-5
 - fixed compilation on Alpha platform (patch by Oliver Falk)
 




More information about the fedora-extras-commits mailing list