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 <[email protected]>
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 <[email protected]>
+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

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to