Skip to content

Commit

Permalink
Update gettext to version 0.22.3
Browse files Browse the repository at this point in the history
  • Loading branch information
danyeaw committed Nov 10, 2023
1 parent a5cb70b commit 7896888
Show file tree
Hide file tree
Showing 285 changed files with 82,264 additions and 99,261 deletions.
14 changes: 14 additions & 0 deletions gvsbuild/patches/gettext/0001-gettext-tools-src-its-c.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
--- a/gettext-tools/src/its.c 2022-06-03 15:01:03.758890100 +0800
+++ b/gettext-tools/src/its.c 2022-06-03 14:52:09.356533100 +0800
@@ -23,6 +23,11 @@
/* Specification. */
#include "its.h"

+/* we need to do this to import xmlFree properly from the libgettextlib DLL */
+#ifdef _MSC_VER
+# undef LIBXML_STATIC
+#endif
+
#include <assert.h>
#include <errno.h>
#include "error.h"
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
--- a/gettext-tools/src/locating-rule.c 2022-06-13 16:16:59.962064900 +0800
+++ b/gettext-tools/src/locating-rule.c 2022-06-13 16:17:04.033420200 +0800
@@ -27,15 +27,13 @@
#include "concat-filename.h"
#include "c-strcase.h"

-#if HAVE_DIRENT_H
-# include <dirent.h>
+/* we need to do this to import xmlFree properly from the libgettextlib DLL */
+#ifdef _MSC_VER
+# undef LIBXML_STATIC
#endif

-#if HAVE_DIRENT_H
-# define HAVE_DIR 1
-#else
-# define HAVE_DIR 0
-#endif
+#include <dirent.h>
+#define HAVE_DIR 1

#include "dir-list.h"
#include <errno.h>
103 changes: 0 additions & 103 deletions gvsbuild/patches/gettext/gettext-runtime-c99.patch

This file was deleted.

Loading

0 comments on commit 7896888

Please sign in to comment.