rpms/djvulibre/devel djvulibre-3.5.15-gcc401.patch, NONE, 1.1 djvulibre.spec, 1.10, 1.11

Matthias Saou (thias) fedora-extras-commits at redhat.com
Thu Aug 4 19:38:55 UTC 2005


Author: thias

Update of /cvs/extras/rpms/djvulibre/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24481

Modified Files:
	djvulibre.spec 
Added Files:
	djvulibre-3.5.15-gcc401.patch 
Log Message:
Fixes for gcc 4.0.1 and mimetypes files install.


djvulibre-3.5.15-gcc401.patch:

--- NEW FILE djvulibre-3.5.15-gcc401.patch ---
===================================================================
RCS file: /cvsroot/djvu/djvulibre-3.5/libdjvu/GString.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- djvulibre-3.5/libdjvu/GString.h	2004/08/06 15:11:29	1.19
+++ djvulibre-3.5/libdjvu/GString.h	2005/07/22 15:28:07	1.20
@@ -138,6 +138,10 @@
 # endif
 #endif
 
+class GBaseString;
+class GUTF8String;
+class GNativeString;
+
 // Internal string representation.
 class GStringRep : public GPEnabled
 {
@@ -433,8 +437,6 @@
   virtual unsigned long getValidUCS4(const char *&source) const;
 };
 
-class GUTF8String;
-class GNativeString;
 
 /** General purpose character string.
     Each dirivied instance of class #GBaseString# represents a


Index: djvulibre.spec
===================================================================
RCS file: /cvs/extras/rpms/djvulibre/devel/djvulibre.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- djvulibre.spec	4 Aug 2005 18:19:43 -0000	1.10
+++ djvulibre.spec	4 Aug 2005 19:38:52 -0000	1.11
@@ -1,14 +1,15 @@
 Summary: DjVu viewers, encoders and utilities
 Name: djvulibre
 Version: 3.5.15
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPL
 Group: Applications/Publishing
 URL: http://djvulibre.djvuzone.org/
 Source: http://dl.sf.net/djvu/djvulibre-%{version}.tar.gz
+Patch0: djvulibre-3.5.15-gcc401.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: xorg-x11-devel, qt-devel, libjpeg-devel, libtiff-devel
-BuildRequires: mozilla, redhat-menus
+BuildRequires: mozilla, redhat-menus, hicolor-icon-theme
 # Provide these here, they're so small, it's not worth splitting them out
 Provides: mozilla-djvulibre = %{version}-%{release}
 Provides: djvulibre-devel = %{version}-%{release}
@@ -31,6 +32,7 @@
 
 %prep
 %setup
+%patch0 -p1 -b .gcc401
 
 
 %build
@@ -94,6 +96,11 @@
 
 
 %changelog
+* Thu Aug  4 2005 Matthias Saou <http://freshrpms.net/> 3.5.15-2
+- Include djvulibre-3.5.15-gcc401.patch to fix compilation with gcc 4.0.1.
+- Add hicolor-icon-theme build req for /usr/share/icons/hicolor/48x48/mimetypes
+  to exist.
+
 * Thu Aug  4 2005 Matthias Saou <http://freshrpms.net/> 3.5.15-1
 - Update to 3.5.15.
 - Move desktop icon to datadir/icons/hicolor.




More information about the scm-commits mailing list