Rebuilt for --enable-fully-dynamic-string
[git/cygwin-packages/mingw64-i686-djvulibre.git] / 3.5.25.3-dllexport.patch
CommitLineData
532ef547
YS
1--- origsrc/djvulibre-3.5.25/configure.ac 2012-05-07 21:56:53.000000000 -0500
2+++ src/djvulibre-3.5.25/configure.ac 2014-02-11 01:10:20.982015300 -0600
3@@ -71,7 +71,7 @@ AC_SUBST(DLLFLAGS)
4 case "$host" in
5 *-mingw32)
6 DLLFLAGS="$DLLFLAGS -Wl,--export-all-symbols"
7- LIBS=-lmsvcp60
8+ LIBS="$LIBS -lmsvcp60"
9 ;;
10 *-darwin* | *-macos10*)
11 if test -d /opt/local ; then
12--- origsrc/djvulibre-3.5.25/libdjvu/DjVuGlobal.h 2012-05-07 21:56:53.000000000 -0500
13+++ src/djvulibre-3.5.25/libdjvu/DjVuGlobal.h 2014-02-11 00:55:41.727982900 -0600
14@@ -73,9 +73,9 @@ inline void * operator new(size_t, void
15 #endif
16
17 #ifdef WIN32
18-# ifdef DLL_EXPORT
19+# if defined(INSIDE_DJVU) && defined(DLL_EXPORT)
20 # define DJVUAPI __declspec(dllexport)
21-# else
22+# elif !defined(INSIDE_DJVU)
23 # define DJVUAPI __declspec(dllimport)
24 # endif
25 #endif
26--- origsrc/djvulibre-3.5.25/libdjvu/Makefile.in 2012-05-07 21:56:53.000000000 -0500
27+++ src/djvulibre-3.5.25/libdjvu/Makefile.in 2014-02-11 01:21:04.279415800 -0600
28@@ -40,7 +40,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
29 INSTALL_DATA = @INSTALL_DATA@
30 LIBTOOL = @LIBTOOL@
31
32-DEFS = @DEFS@
33+DEFS = @DEFS@ -DINSIDE_DJVU
34 OPTS = @OPTS@
35 CXXRPOFLAGS = @CXXRPOFLAGS@
36 JPEG_LIBS=@JPEG_LIBS@
37--- origsrc/djvulibre-3.5.25/libdjvu/ddjvuapi.h 2012-05-07 21:56:53.000000000 -0500
38+++ src/djvulibre-3.5.25/libdjvu/ddjvuapi.h 2014-02-11 00:58:25.558580500 -0600
39@@ -70,9 +70,9 @@ extern "C" {
40
41 #ifndef DDJVUAPI
42 # ifdef WIN32
43-# ifdef DLL_EXPORT
44+# if defined(INSIDE_DJVU) && defined(DLL_EXPORT)
45 # define DDJVUAPI __declspec(dllexport)
46-# else
47+# elif !defined(INSIDE_DJVU)
48 # define DDJVUAPI __declspec(dllimport)
49 # endif
50 # endif
51--- origsrc/djvulibre-3.5.25/libdjvu/miniexp.h 2012-05-07 21:56:53.000000000 -0500
52+++ src/djvulibre-3.5.25/libdjvu/miniexp.h 2014-02-11 01:01:42.983859300 -0600
53@@ -28,9 +28,9 @@ extern "C" {
54
55 #ifndef MINILISPAPI
56 # ifdef WIN32
57-# ifdef DLL_EXPORT
58+# if defined(INSIDE_DJVU) && defined(DLL_EXPORT)
59 # define MINILISPAPI __declspec(dllexport)
60-# else
61+# elif !defined(INSIDE_DJVU)
62 # define MINILISPAPI __declspec(dllimport)
63 # endif
64 # endif
This page took 0.049826 seconds and 5 git commands to generate.