[med-svn] [charls] 01/03: Import patch from 1.0 over to 1.1.0
Mathieu Malaterre
malat at moszumanska.debian.org
Fri May 20 13:52:40 UTC 2016
This is an automated email from the git hooks/post-receive script.
malat pushed a commit to branch master
in repository charls.
commit 832542148df70eb451d6f748de2529e7f73fd317
Author: Mathieu Malaterre <malat at debian.org>
Date: Fri May 20 15:49:07 2016 +0200
Import patch from 1.0 over to 1.1.0
---
debian/patches/add_visibility.patch | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/debian/patches/add_visibility.patch b/debian/patches/add_visibility.patch
new file mode 100644
index 0000000..68499b9
--- /dev/null
+++ b/debian/patches/add_visibility.patch
@@ -0,0 +1,26 @@
+Description: Use GCC Visibility
+Author: Mathieu Malaterre <malat at debian.org>
+Forwarded: no
+
+--- charls-1.1.0+dfsg.orig/src/interface.cpp
++++ charls-1.1.0+dfsg/src/interface.cpp
+@@ -7,7 +7,7 @@
+ #if defined(WIN32) && defined(CHARLS_DLL)
+ #define CHARLS_IMEXPORT(returntype) __declspec(dllexport) returntype __stdcall
+ #else
+-#define CHARLS_IMEXPORT(returntype) returntype
++#define CHARLS_IMEXPORT(returntype) __attribute__ ((visibility ("default"))) returntype
+ #endif
+
+ #include "config.h"
+--- charls-1.1.0+dfsg.orig/src/interface.h
++++ charls-1.1.0+dfsg/src/interface.h
+@@ -20,7 +20,7 @@
+
+ /* windows dll */
+ #if !defined(CHARLS_IMEXPORT) && defined(CHARLS_DLL)
+-# define CHARLS_IMEXPORT(returntype) __declspec(dllimport) returntype __stdcall
++#define CHARLS_IMEXPORT(returntype) __attribute__ ((visibility ("default"))) returntype
+ #endif
+
+ #if !defined(CHARLS_IMEXPORT)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/charls.git
More information about the debian-med-commit
mailing list