]> git.pld-linux.org Git - packages/liblangtag.git/commitdiff
- updated to 0.6.5; patch to avoid using ksh/bash arrays extension auto/th/liblangtag-0.6.5-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 25 Nov 2023 17:01:31 +0000 (18:01 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 25 Nov 2023 17:01:31 +0000 (18:01 +0100)
liblangtag-sh.patch [new file with mode: 0644]
liblangtag-tests.patch [deleted file]
liblangtag.spec

diff --git a/liblangtag-sh.patch b/liblangtag-sh.patch
new file mode 100644 (file)
index 0000000..4d5766f
--- /dev/null
@@ -0,0 +1,23 @@
+--- liblangtag-0.6.5/configure.ac.orig 2023-11-24 12:26:58.000000000 +0100
++++ liblangtag-0.6.5/configure.ac      2023-11-25 17:50:51.233768270 +0100
+@@ -29,17 +29,17 @@ AC_PROG_CC_STDC
+ AX_IS_RELEASE([git-directory])
+ AX_COMPILER_FLAGS()
+-warn=()
++warn=""
+ for w in $WARN_CFLAGS; do
+       case $w in
+       -Wdeclaration-after-statement)
+               ;;
+       *)
+-              warn+=($w)
++              warn="$warn $w"
+               ;;
+       esac
+ done
+-WARN_CFLAGS="${warn[[@]]}"
++WARN_CFLAGS="$warn"
+ LT_PREREQ([2.2])
+ LT_INIT([disable-static win32-dll])
diff --git a/liblangtag-tests.patch b/liblangtag-tests.patch
deleted file mode 100644 (file)
index 6afe543..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-Update following data/common/supplemental/supplementalMetadata.xml change
---- liblangtag-0.6.4/tests/check-tag.c.orig    2021-09-27 06:52:04.000000000 +0200
-+++ liblangtag-0.6.4/tests/check-tag.c 2023-03-04 15:04:16.449713051 +0100
-@@ -197,7 +197,7 @@ TDEF (lt_tag_canonicalize) {
-       fail_unless(lt_tag_parse(t1, "mo", NULL), "should be valid langtag.");
-       s = lt_tag_canonicalize(t1, NULL);
-       fail_unless(s != NULL, "Unable to be canonicalize.");
--      fail_unless(lt_strcmp0(s, "ro-MD") == 0, "Unexpected result to be canonicalized.");
-+      fail_unless(lt_strcmp0(s, "ro") == 0, "Unexpected result to be canonicalized.");
-       free(s);
-       lt_tag_unref(t1);
index 9bbda3962b2dbcde30047618dbbd6e593388a16a..4fe78554af2cc64a010e9239c8e9a6eb0737ab71 100644 (file)
@@ -7,13 +7,13 @@
 Summary:       An interface library to access tags for identifying languages
 Summary(pl.UTF-8):     Biblioteka interfejsu dostępu do znaczników identyfikujących języki
 Name:          liblangtag
-Version:       0.6.4
+Version:       0.6.5
 Release:       1
 License:       LGPL v3+
 Group:         Libraries
 Source0:       https://bitbucket.org/tagoh/liblangtag/downloads/%{name}-%{version}.tar.bz2
-# Source0-md5: c93611c472b5875166b4a3a35a66a62d
-Patch0:                %{name}-tests.patch
+# Source0-md5: b96d5918f163045a43aa97719af1c2e2
+Patch0:                %{name}-sh.patch
 URL:           http://tagoh.bitbucket.org/liblangtag/
 BuildRequires: autoconf >= 2.62
 BuildRequires: automake >= 1:1.11
This page took 0.591438 seconds and 4 git commands to generate.