[Libreoffice-commits] core.git: 2 commits - distro-configs/LibreOfficeMinGW64.conf libxmlsec/xmlsec1-mingw32.patch
Fridrich Å trba
fridrich.strba at bluewin.ch
Tue Jun 4 01:58:39 PDT 2013
distro-configs/LibreOfficeMinGW64.conf | 31 +++++++++++++++++++++++++
libxmlsec/xmlsec1-mingw32.patch | 40 +++++++++++++++------------------
2 files changed, 50 insertions(+), 21 deletions(-)
New commits:
commit d60d1300f56d008056ccc8739e67495ba31cad97
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date: Tue Jun 4 10:58:07 2013 +0200
Win64 MinGW configuration
Change-Id: I273b019409f36d0b4488458e152099493ce81147
diff --git a/distro-configs/LibreOfficeMinGW64.conf b/distro-configs/LibreOfficeMinGW64.conf
new file mode 100644
index 0000000..81f7e94
--- /dev/null
+++ b/distro-configs/LibreOfficeMinGW64.conf
@@ -0,0 +1,31 @@
+--build=x86_64-unknown-linux-gnu
+--host=x86_64-w64-mingw32
+--with-system-altlinuxhyph
+--with-system-boost
+--with-system-cairo
+--with-system-cppunit
+--with-system-curl
+--with-system-expat
+--with-system-graphite
+--with-system-hunspell
+--with-system-icu
+--with-system-libpng
+--with-system-libxml
+--with-system-lpsolve
+--with-system-mythes
+--with-system-neon
+--with-system-nss
+--with-system-openssl
+--with-system-poppler
+--with-system-redland
+--with-system-zlib
+--without-junit
+--without-myspell-dicts
+--disable-activex
+--disable-cairo-canvas
+--disable-directx
+--disable-extension-integration
+--disable-postgresql-sdbc
+--disable-gtk
+--with-help
+--with-myspell-dicts
commit 035c60436901385928b190e7abbc115229174348
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date: Tue Jun 4 10:56:21 2013 +0200
Defuzz a patch
Change-Id: I9c301f7d8b5295854e12585fa12df416ed5dbf02
diff --git a/libxmlsec/xmlsec1-mingw32.patch b/libxmlsec/xmlsec1-mingw32.patch
index 720af73..879b25c 100644
--- a/libxmlsec/xmlsec1-mingw32.patch
+++ b/libxmlsec/xmlsec1-mingw32.patch
@@ -9,26 +9,13 @@
dnl
dnl Find programs
-@@ -671,7 +671,9 @@
+@@ -672,6 +674,26 @@
done
for dir in $ac_nss_lib_dir ; do
-- if test -f $dir/libnspr4.so -o -f $dir/libnspr4.dylib ; then
+ case $host_os in
+ cygwin* | mingw* | pw32*)
+ if test -f $dir/libnspr4.$libext ; then
- dnl do not add -L/usr/lib because compiler does it anyway
- if test "z$dir" = "z/usr/lib" ; then
- NSPR_LIBS="$NSPR_LIBS_LIST"
-@@ -685,6 +687,26 @@
- NSPR_LIBS_FOUND="yes"
- break
- fi
-+ ;;
-+
-+ *)
-+
-+ if test -f $dir/libnspr4.so -o -f $dir/libnspr4.dylib ; then
+ dnl do not add -L/usr/lib because compiler does it anyway
+ if test "z$dir" = "z/usr/lib" ; then
+ NSPR_LIBS="$NSPR_LIBS_LIST"
@@ -43,11 +30,22 @@
+ break
+ fi
+ ;;
++
++ *)
++
+ if test -f $dir/libnspr4.so -o -f $dir/libnspr4.dylib ; then
+ dnl do not add -L/usr/lib because compiler does it anyway
+ if test "z$dir" = "z/usr/lib" ; then
+@@ -686,6 +708,8 @@
+ NSPR_LIBS_FOUND="yes"
+ break
+ fi
++ ;;
+ esac
done
fi
-@@ -742,6 +764,25 @@
+@@ -743,6 +767,25 @@
done
for dir in $ac_nss_lib_dir ; do
@@ -73,7 +71,7 @@
if test -f $dir/libnss3.so -o -f $dir/libnss3.dylib ; then
dnl do not add -L/usr/lib because compiler does it anyway
if test "z$dir" = "z/usr/lib" ; then
-@@ -756,6 +797,8 @@
+@@ -757,6 +800,8 @@
NSS_LIBS_FOUND="yes"
break
fi
@@ -82,7 +80,7 @@
done
fi
-@@ -926,7 +969,7 @@
+@@ -927,7 +972,7 @@
dnl cannot detect __stdcall functions
dnl AC_CHECK_LIB(crypt32, CertOpenStore, ....
LIBS_SAVE="$LIBS"
@@ -91,7 +89,7 @@
AC_MSG_CHECKING(for mscrypto libraries)
AC_LINK_IFELSE([
#include <windows.h>
-@@ -943,15 +986,7 @@
+@@ -944,15 +989,7 @@
XMLSEC_NO_MSCRYPTO="0"
MSCRYPTO_CFLAGS="$MSCRYPTO_CFLAGS -DXMLSEC_CRYPTO_MSCRYPTO=1"
@@ -136,7 +134,7 @@
--- misc/xmlsec1-1.2.14/src/nss/keywrapers.c 2009-09-29 15:55:33.430875248 +0200
+++ misc/build/xmlsec1-1.2.14/src/nss/keywrapers.c 2009-09-29 15:49:39.749963247 +0200
@@ -1126,6 +1126,7 @@
- NULL, /* void* reserved1; */
+ NULL, /* void* reserved1; */
};
+#ifndef __MINGW32__
@@ -152,13 +150,13 @@
#endif /* XMLSEC_NO_AES */
@@ -1197,6 +1199,7 @@
- NULL, /* void* reserved1; */
+ NULL, /* void* reserved1; */
};
+#ifndef __MINGW32__
/**
* xmlSecNssTransformKWDes3GetKlass:
- *
+ *
@@ -1208,6 +1211,7 @@
xmlSecNssTransformKWDes3GetKlass(void) {
return(&xmlSecNssKWDes3Klass);
More information about the Libreoffice-commits
mailing list