]> git.pld-linux.org Git - packages/djvulibre.git/commitdiff
- fixed build with libstdc++v3 (gcc3 patch); release 2
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 11 Oct 2002 16:15:54 +0000 (16:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    djvulibre-gcc3.patch -> 1.1
    djvulibre.spec -> 1.9

djvulibre-gcc3.patch [new file with mode: 0644]
djvulibre.spec

diff --git a/djvulibre-gcc3.patch b/djvulibre-gcc3.patch
new file mode 100644 (file)
index 0000000..036a3f0
--- /dev/null
@@ -0,0 +1,11 @@
+--- djvulibre-3.5.8/libdjvu/GException.cpp.orig        Tue Jul 30 05:50:42 2002
++++ djvulibre-3.5.8/libdjvu/GException.cpp     Fri Oct 11 00:57:50 2002
+@@ -265,7 +265,7 @@
+ #if !defined(WIN32) && !defined(__CYGWIN32__)
+ // In general this is a bad idea since statics won't get initialized
+ // under WINDOWS, even with CYGWIN.
+-static void (*old_handler)() = set_new_handler(throw_memory_error);
++static void (*old_handler)() = std::set_new_handler(throw_memory_error);
+ #endif // ! WIN32
+ #endif // !_MSC_VER
+ #endif // !NEED_DJVU_MEMORY
index f6f6be90314222f3f11f39bf04543019b254e85b..524a0319b35ac21b859c36338a87708392920956 100644 (file)
@@ -2,12 +2,13 @@ Summary:      DjVu viewers, encoders and utilities.
 Summary(pl):   DjVu - przegl±darki, dekodery oraz narzêdzia.
 Name:          djvulibre
 Version:       3.5.8
-Release:       1
+Release:       2
 License:       GPL
 Group:         Applications/Graphics
 Source0:       ftp://ftp.sourceforge.net/pub/sourceforge/djvu/%{name}-%{version}.tar.gz
 Patch0:                %{name}-DESTDIR.patch
 Patch1:                %{name}-opt.patch
+Patch2:                %{name}-gcc3.patch
 URL:           http://djvu.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -117,6 +118,7 @@ Wtyczka DjVu do Netscape.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__aclocal}
This page took 0.057103 seconds and 4 git commands to generate.