summarylogtreecommitdiffstats
path: root/jasper-static-fix.patch
diff options
context:
space:
mode:
authorNicola Murino2018-05-04 11:51:47 +0200
committerNicola Murino2018-05-04 11:51:47 +0200
commitb24279a4dfa8f3469c86dd1499db4a5b15aaffdb (patch)
tree816ac52e66d9814974c3f0166b21462c341717fb /jasper-static-fix.patch
parent1bf4da7616c447579fe94389d715053a310910fd (diff)
downloadaur-b24279a4dfa8f3469c86dd1499db4a5b15aaffdb.tar.gz
update to 2.0.14
Diffstat (limited to 'jasper-static-fix.patch')
-rw-r--r--jasper-static-fix.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/jasper-static-fix.patch b/jasper-static-fix.patch
new file mode 100644
index 000000000000..f0216ef549a7
--- /dev/null
+++ b/jasper-static-fix.patch
@@ -0,0 +1,23 @@
+--- a/src/libjasper/include/jasper/jas_config.h.in
++++ b/src/libjasper/include/jasper/jas_config.h.in
+@@ -0,6 +0,8 @@
+ #ifndef JAS_CONFIG_H
+ #define JAS_CONFIG_H
+
++#ifndef JAS_DLL
+ #cmakedefine JAS_DLL 1
++#endif
+
+ #include <jasper/jas_dll.h>
+
+--- a/src/libjasper/include/jasper/jas_dll.h
++++ b/src/libjasper/include/jasper/jas_dll.h
+@@ -0,7 +0,7 @@
+ #ifndef JAS_DLL_H
+ #define JAS_DLL_H
+
+-#if defined(JAS_DLL)
++#if JAS_DLL
+ #if defined(_WIN32)
+ #if defined(JAS_BUILDING_DLL)
+ #define JAS_DLLEXPORT __declspec(dllexport)