]> git.pld-linux.org Git - packages/djvulibre.git/commitdiff
- updated to 3.5.9, removed obsolete gcc3 patch RA-1_0 STABLE djvulibre-3_5_9-1
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 11 Oct 2002 19:33:50 +0000 (19:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added nostrip patch
- workaround for SEGV when build by gcc 3.2 with "-O2 -march=athlon"
  (miscompilation? hard to find where :/)

Changed files:
    djvulibre-gcc3.patch -> 1.2
    djvulibre-nostrip.patch -> 1.1
    djvulibre.spec -> 1.10

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

diff --git a/djvulibre-gcc3.patch b/djvulibre-gcc3.patch
deleted file mode 100644 (file)
index 036a3f0..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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
diff --git a/djvulibre-nostrip.patch b/djvulibre-nostrip.patch
new file mode 100644 (file)
index 0000000..45db85b
--- /dev/null
@@ -0,0 +1,22 @@
+--- djvulibre-3.5.9/gui/djview/Makefile.in.orig        Fri Oct 11 20:39:33 2002
++++ djvulibre-3.5.9/gui/djview/Makefile.in     Fri Oct 11 21:02:22 2002
+@@ -181,7 +181,7 @@
+ install-bin: ${PROGRAM} FORCE
+       ${INSTALL} -d ${DESTDIR}${bindir}
+-      ${INSTALL} -s -m 0755 ${PROGRAM} ${DESTDIR}${bindir}
++      ${INSTALL} -m 0755 ${PROGRAM} ${DESTDIR}${bindir}
+ install-man: FORCE
+       ${INSTALL} -d ${DESTDIR}${mandir}/man1
+--- djvulibre-3.5.9/tools/Makefile.in.orig     Fri Oct 11 20:39:33 2002
++++ djvulibre-3.5.9/tools/Makefile.in  Fri Oct 11 21:02:37 2002
+@@ -67,7 +67,7 @@
+ install-bin: ${PROGRAMS} FORCE
+       ${INSTALL} -d ${DESTDIR}${bindir}
+       for n in ${PROGRAMS} ; do \
+-        ${INSTALL} -s -m 0755 $$n ${DESTDIR}${bindir} || exit ; done
++        ${INSTALL} -m 0755 $$n ${DESTDIR}${bindir} || exit ; done
+ install-man: FORCE
+       ${INSTALL} -d ${DESTDIR}${mandir}/man1
index 524a0319b35ac21b859c36338a87708392920956..48a12e1accc2996f91126d8b82b09f01d6586b9c 100644 (file)
@@ -1,14 +1,14 @@
 Summary:       DjVu viewers, encoders and utilities.
 Summary(pl):   DjVu - przegl±darki, dekodery oraz narzêdzia.
 Name:          djvulibre
-Version:       3.5.8
-Release:       2
+Version:       3.5.9
+Release:       1
 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
+Patch2:                %{name}-nostrip.patch
 URL:           http://djvu.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -23,6 +23,12 @@ BuildRoot:   %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                mozdir          /usr/X11R6/lib/mozilla/plugins
 %define                nsdir           /usr/X11R6/lib/netscape/plugins
 
+# compiling by gcc 3.2 with "-O2 -march=athlon" produces djview that only
+# segfaults... maybe miscompilation, but hard to find where :/
+%ifarch athlon
+%define                optflags        -O2 -march=i686
+%endif
+
 %description
 DjVu is a web-centric format and software platform for distributing
 documents and images. DjVu content downloads faster, displays and
This page took 0.038577 seconds and 4 git commands to generate.