diff options
Diffstat (limited to 'external/liblangtag/0001-use-standard-function.patch.1')
-rw-r--r-- | external/liblangtag/0001-use-standard-function.patch.1 | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/external/liblangtag/0001-use-standard-function.patch.1 b/external/liblangtag/0001-use-standard-function.patch.1 deleted file mode 100644 index fc21f1853e0a..000000000000 --- a/external/liblangtag/0001-use-standard-function.patch.1 +++ /dev/null @@ -1,35 +0,0 @@ -From 5caa5eb0cb1b356fcbdef586ea700c0b8df34ce1 Mon Sep 17 00:00:00 2001 -From: David Tardon <dtardon@redhat.com> -Date: Thu, 22 Sep 2016 18:12:36 +0200 -Subject: [PATCH] use standard function - ---- - liblangtag/lt-xml.c | 5 +---- - 1 file changed, 1 insertion(+), 4 deletions(-) - -diff --git a/liblangtag/lt-xml.c b/liblangtag/lt-xml.c -index 170d8bb..abf2254 100644 ---- a/liblangtag/lt-xml.c -+++ b/liblangtag/lt-xml.c -@@ -16,9 +16,6 @@ - - #include <stddef.h> - #include <string.h> --#ifdef HAVE_STRINGS_H --#include <strings.h> --#endif - #include <sys/stat.h> - #include <libxml/parser.h> - #include <libxml/xpath.h> -@@ -409,7 +406,7 @@ lt_xml_get_cldr(lt_xml_t *xml, - xmlDocPtr *d = &pref[idx - 1], doc = NULL; - - do { -- p = index(pp, ':'); -+ p = strchr(pp, ':'); - if (p) - s = lt_strndup(pp, p - pp); - else --- -2.7.4 - |