Kaydet (Commit) 8a4848b3 authored tarafından David Ostrovsky's avatar David Ostrovsky Kaydeden (comit) Michael Stahl

Fix liblangtag on MSVC 14.0

Change-Id: Ied20186f4863b49dba5d0c7ed98b3a297f3f2239
Reviewed-on: https://gerrit.libreoffice.org/16767Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst 7a30553b
...@@ -15,10 +15,9 @@ $(eval $(call gb_UnpackedTarball_set_pre_action,langtag,\ ...@@ -15,10 +15,9 @@ $(eval $(call gb_UnpackedTarball_set_pre_action,langtag,\
$(GNUTAR) -x -j -f $(gb_UnpackedTarget_TARFILE_LOCATION)/$(LANGTAGREG_TARBALL) \ $(GNUTAR) -x -j -f $(gb_UnpackedTarget_TARFILE_LOCATION)/$(LANGTAGREG_TARBALL) \
)) ))
# Currently no patches applied, if there were it would be: $(eval $(call gb_UnpackedTarball_add_patches,langtag,\
#$(eval $(call gb_UnpackedTarball_add_patches,langtag,\ external/liblangtag/liblangtag-msvc.patch \
# external/liblangtag/your-modification.patch \ ))
#))
ifeq ($(OS),WNT) ifeq ($(OS),WNT)
ifeq ($(COM),GCC) ifeq ($(COM),GCC)
......
--- foo/langtag.orig/configure 2015-06-26 10:53:36.000000000 +0200
+++ foo/langtag/configure 2015-09-03 08:16:58.672240500 +0200
@@ -14786,8 +14786,7 @@
fi
-if test "x$ac_cv_func_vsnprintf" = xyes; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether vsnprintf is C99-compliant" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether vsnprintf is C99-compliant" >&5
$as_echo_n "checking Whether vsnprintf is C99-compliant... " >&6; }
if ${lt_cv_c99_vsnprintf+:} false; then :
$as_echo_n "(cached) " >&6
@@ -14798,7 +14797,10 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
+#include <sys/types.h>
+#include <stdio.h>
#include <stdarg.h>
+#include <stdlib.h>
int
foo(char *format, ...)
{
@@ -14834,11 +14836,10 @@
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_c99_vsnprintf" >&5
$as_echo "$lt_cv_c99_vsnprintf" >&6; }
- if test "x$lt_cv_c99_vsnprintf" = xyes; then
+if test "x$lt_cv_c99_vsnprintf" = xyes; then
$as_echo "#define LT_HAVE_C99_VSNPRINTF 1" >>confdefs.h
- fi
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment