djvu port from 1.2 version bump need for okular
This commit is contained in:
@@ -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
|
||||
@@ -0,0 +1,13 @@
|
||||
Index: djvulibre-3.5.22/config/acinclude.m4
|
||||
===================================================================
|
||||
--- djvulibre-3.5.22.orig/config/acinclude.m4
|
||||
+++ djvulibre-3.5.22/config/acinclude.m4
|
||||
@@ -408,7 +408,7 @@ case "${host_os}-${GCC}" in
|
||||
# On Linux/GCC, libtool uses -nostdlib for linking, which cancel part
|
||||
# of the -pthread flag effect (libpthread is not automatically linked).
|
||||
# So we'll try to link with both -pthread and -lpthread first:
|
||||
- acx_pthread_flags="-pthread:pthread $acx_pthread_flags"
|
||||
+ acx_pthread_flags="-lpthread -pthread:pthread $acx_pthread_flags"
|
||||
;;
|
||||
esac
|
||||
if test x"$acx_pthread_ok" = xno; then
|
||||
Reference in New Issue
Block a user