external/libetonyek/ExternalProject_libetonyek.mk |    1 +
 external/libetonyek/UnpackedTarball_libetonyek.mk |    1 +
 external/libetonyek/win_build.patch.1             |   13 +++++++++++++
 3 files changed, 15 insertions(+)

New commits:
commit 97b643ac862d0d6d0a305a7fd82fd20dfb3dbf72
Author: Michael Stahl <mst...@redhat.com>
Date:   Wed May 20 00:52:44 2015 +0200

    libetonyek: fix windows build
    
    Putting source files into sub-directories is not really supported by
    autotools apparently.
    
    Change-Id: I6f0ff7e0ee0c2c4b59fb670a3cbaa9723b655d1f

diff --git a/external/libetonyek/ExternalProject_libetonyek.mk 
b/external/libetonyek/ExternalProject_libetonyek.mk
index 3de8605..4fd48b1 100644
--- a/external/libetonyek/ExternalProject_libetonyek.mk
+++ b/external/libetonyek/ExternalProject_libetonyek.mk
@@ -35,6 +35,7 @@ $(call gb_ExternalProject_get_state_target,libetonyek,build) :
                        --disable-werror \
                        --disable-weffc \
                        --without-tools \
+                       $(if $(filter WNT,$(OS_FOR_BUILD)),MKDIR_P="$(shell 
cygpath -m /usr/bin/mkdir) -p") \
                        $(if 
$(VERBOSE)$(verbose),--disable-silent-rules,--enable-silent-rules) \
                        BOOST_CFLAGS="$(if 
$(SYSTEM_BOOST),$(BOOST_CPPFLAGS),-I$(call gb_UnpackedTarball_get_dir,boost))" \
                        XML_CFLAGS="$(LIBXML_CFLAGS)" \
diff --git a/external/libetonyek/UnpackedTarball_libetonyek.mk 
b/external/libetonyek/UnpackedTarball_libetonyek.mk
index 01f35c3..4706d02 100644
--- a/external/libetonyek/UnpackedTarball_libetonyek.mk
+++ b/external/libetonyek/UnpackedTarball_libetonyek.mk
@@ -16,6 +16,7 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,libetonyek,0))
 $(eval $(call gb_UnpackedTarball_add_patches,libetonyek,\
        external/libetonyek/assert.patch \
        external/libetonyek/0001-missing-include.patch.1 \
+       external/libetonyek/win_build.patch.1 \
 ))
 
 # vim: set noet sw=4 ts=4:
diff --git a/external/libetonyek/win_build.patch.1 
b/external/libetonyek/win_build.patch.1
new file mode 100644
index 0000000..261167b
--- /dev/null
+++ b/external/libetonyek/win_build.patch.1
@@ -0,0 +1,13 @@
+Fix the windows build - fix libtool
+
+--- libetonyek/ltmain.sh.orig  2015-05-20 00:47:55.378800000 +0200
++++ libetonyek/ltmain.sh       2015-05-20 00:47:33.648000000 +0200
+@@ -3722,6 +3722,8 @@
+       sleep 2
+       done
+     fi
++    # Cygwin ar.exe does not create directories for the objects!
++    mkdir -p $f_ex_an_ar_dir/contexts
+     func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \
+                  'stat=$?; rm -f "$lockfile"; exit $stat'
+     if test "$lock_old_archive_extraction" = yes; then
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to