office-gobmx/liblangtag/liblangtag-0.5.1-mingw.patch

65 lines
2.3 KiB
Diff
Raw Normal View History

--- misc/liblangtag-0.4.0/liblangtag/lt-ext-module.c 2012-10-16 04:48:31.000000000 +0200
+++ misc/build/liblangtag-0.4.0/liblangtag/lt-ext-module.c 2012-11-06 14:35:11.226099206 +0100
@@ -605,8 +605,8 @@
size_t len;
while (1) {
- if (readdir_r(dir, &dent, &dresult) || dresult == NULL)
- break;
+/* if (readdir_r(dir, &dent, &dresult) || dresult == NULL)
+ break;*/ abort(); /* we do not use liblangtag-gobject anyway */
len = strlen(dent.d_name);
if (len > suffix_len &&
--- misc/liblangtag-0.4.0/liblangtag/Makefile.am 2012-10-12 04:07:20.000000000 +0200
+++ misc/build/liblangtag-0.4.0/liblangtag/Makefile.am 2012-11-06 14:35:11.226099206 +0100
@@ -184,6 +184,7 @@
liblangtag_la_LDFLAGS = \
$(LDFLAGS) \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
+ -no-undefined \
$(NULL)
-include $(top_srcdir)/git.mk
--- misc/liblangtag-0.4.0/liblangtag/Makefile.in 2012-10-22 05:47:23.000000000 +0200
+++ misc/build/liblangtag-0.4.0/liblangtag/Makefile.in 2012-11-06 14:35:11.226099206 +0100
@@ -548,6 +548,7 @@
liblangtag_la_LDFLAGS = \
$(LDFLAGS) \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
+ -no-undefined \
$(NULL)
all: $(BUILT_SOURCES)
--- misc/liblangtag-0.4.0/liblangtag-gobject/Makefile.am 2012-10-22 05:35:13.000000000 +0200
+++ misc/build/liblangtag-0.4.0/liblangtag-gobject/Makefile.am 2012-11-06 14:35:11.225099235 +0100
@@ -145,6 +145,7 @@
liblangtag_gobject_la_LDFLAGS = \
$(LDFLAGS) \
-version-info $(LT_G_CURRENT):$(LT_G_REVISION):$(LT_G_AGE) \
+ -no-undefined \
$(NULL)
#
if HAVE_INTROSPECTION
--- misc/liblangtag-0.4.0/liblangtag-gobject/Makefile.in 2012-10-22 05:47:23.000000000 +0200
+++ misc/build/liblangtag-0.4.0/liblangtag-gobject/Makefile.in 2012-11-06 14:35:11.225099235 +0100
@@ -461,6 +461,7 @@
liblangtag_gobject_la_LDFLAGS = \
$(LDFLAGS) \
-version-info $(LT_G_CURRENT):$(LT_G_REVISION):$(LT_G_AGE) \
+ -no-undefined \
$(NULL)
#
--- misc/liblangtag-0.4.0/Makefile.am 2012-10-22 05:26:12.000000000 +0200
+++ misc/build/liblangtag-0.4.0/Makefile.am 2012-11-06 14:35:11.225099235 +0100
@@ -6,7 +6,7 @@
SUBDIRS += liblangtag-gobject
endif
#SUBDIRS += docs tests
-SUBDIRS += tests
+#SUBDIRS += tests
ACLOCAL_AMFLAGS = \
-I m4macros \