diff options
Diffstat (limited to 'app-office/libreoffice/files/libreoffice-3.3.0_libxmlsec_fix_extern_c.diff')
-rw-r--r-- | app-office/libreoffice/files/libreoffice-3.3.0_libxmlsec_fix_extern_c.diff | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/app-office/libreoffice/files/libreoffice-3.3.0_libxmlsec_fix_extern_c.diff b/app-office/libreoffice/files/libreoffice-3.3.0_libxmlsec_fix_extern_c.diff new file mode 100644 index 0000000..168d272 --- /dev/null +++ b/app-office/libreoffice/files/libreoffice-3.3.0_libxmlsec_fix_extern_c.diff @@ -0,0 +1,38 @@ +--- libxmlsec/makefile.mk.ORIGINAL 2010-11-11 09:35:21.000000000 -0600 ++++ libxmlsec/makefile.mk 2011-02-13 03:13:41.496866392 -0600 +@@ -67,7 +67,8 @@ + xmlsec1-noverify.patch \ + xmlsec1-mingw32.patch \ + xmlsec1-mingw-keymgr-mscrypto.patch \ +- xmlsec1-vc10.patch ++ xmlsec1-vc10.patch \ ++ xmlsec1-1.2.14_fix_extern_c.patch + + ADDITIONAL_FILES= \ + include$/xmlsec$/mscrypto$/akmngr.h \ +--- libxmlsec/xmlsec1-1.2.14_fix_extern_c.patch.ORIGINAL 1969-12-31 18:00:00.000000000 -0600 ++++ libxmlsec/xmlsec1-1.2.14_fix_extern_c.patch 2011-02-13 03:11:34.740594681 -0600 +@@ -0,0 +1,23 @@ ++--- misc/build/xmlsec1-1.2.14/include/xmlsec/xmlsec.h.ORIGINAL 2009-12-05 15:19:18.000000000 -0600 +++++ misc/build/xmlsec1-1.2.14/include/xmlsec/xmlsec.h 2011-02-13 03:09:42.917240245 -0600 ++@@ -11,16 +11,16 @@ ++ #ifndef __XMLSEC_H__ ++ #define __XMLSEC_H__ ++ ++-#ifdef __cplusplus ++-extern "C" { ++-#endif /* __cplusplus */ ++- ++ #include <libxml/tree.h> ++ ++ #include <xmlsec/version.h> ++ #include <xmlsec/exports.h> ++ #include <xmlsec/strings.h> ++ +++#ifdef __cplusplus +++extern "C" { +++#endif /* __cplusplus */ +++ ++ /*********************************************************************** ++ * ++ * Basic types to make ports to exotic platforms easier |