add include cstddefs for size_t

epel9
Karsten Hopp 14 years ago
parent 3a6c142b64
commit 481e292e47

@ -0,0 +1,12 @@
diff -up djvulibre-3.5.22/libdjvu/GSmartPointer.h.cdefs djvulibre-3.5.22/libdjvu/GSmartPointer.h
--- djvulibre-3.5.22/libdjvu/GSmartPointer.h.cdefs 2008-03-05 01:44:20.000000000 +0000
+++ djvulibre-3.5.22/libdjvu/GSmartPointer.h 2011-01-31 13:43:37.595917364 +0000
@@ -65,6 +65,8 @@
# pragma interface
#endif
+#include <cstddef>
+
/** @name GSmartPointer.h
Files #"GSmartPointer.h"# and #"GSmartPointer.cpp"# define a smart-pointer

@ -1,11 +1,12 @@
Summary: DjVu viewers, encoders, and utilities
Name: djvulibre
Version: 3.5.22
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+
Group: Applications/Publishing
URL: http://djvu.sourceforge.net/
Source: http://dl.sf.net/djvu/djvulibre-%{version}.tar.gz
Patch0: djvulibre-3.5.22-cdefs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires(post): xdg-utils, /sbin/ldconfig
Requires(preun): xdg-utils
@ -59,6 +60,7 @@ Development files for DjVuLibre.
%prep
%setup -q
%patch0 -p1 -b .cdefs
# Convert ISO8859-1 ja man pages to UTF-8 (still as of 3.5.20-2)
#for manpage in i18n/ja/*.1*; do
@ -159,6 +161,9 @@ fi
%changelog
* Mon Jan 31 2011 Karsten Hopp <karsten@redhat.com> 3.5.22-2
- add include cstddefs for size_t
* Mon Nov 30 2009 Ralesh Pandit <rakesh@fedoraproject.org> 3.5.22-1
- Updated to 3.5.22 (#542221) (Spec patch by Michal Schmidt)

Loading…
Cancel
Save