package/gettext-tiny: bump version to latest

Drop patch already upstreamed to fix install failure if path contains
"m4/ string.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Tested-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Giulio Benetti 2020-01-19 23:53:48 +01:00 committed by Peter Korsgaard
parent 2f932ca608
commit f227623172
3 changed files with 2 additions and 33 deletions

View File

@ -1,31 +0,0 @@
From 2ad9d66d733396b655f05b477a5e91592378fb21 Mon Sep 17 00:00:00 2001
From: Giulio Benetti <giulio.benetti@benettiengineering.com>
Date: Fri, 17 Jan 2020 18:34:42 +0100
Subject: [PATCH] Makefile: fix install failure if path contains "m4/" string
Actually Makefile install recipe substitutes every occurence of "m4/" in
file name of the target of the rule($@), in an absolute path there could
more than one "m4/" occurence, so install will fail. Let's change
$(subst ...) with $(patsubst ...) substituting only last occurence of
"m4/" pattern.
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 4a3c3f6..2e13403 100644
--- a/Makefile
+++ b/Makefile
@@ -88,6 +88,6 @@ $(DESTDIR)$(datadir)/%: %
$(INSTALL) -D -m 644 $< $@
$(DESTDIR)$(acdir)/%: %
- $(INSTALL) -D -l ../$(subst $(datarootdir)/,,$(datadir))/$< $(subst m4/,,$@)
+ $(INSTALL) -D -l ../$(subst $(datarootdir)/,,$(datadir))/$< $(patsubst %m4/,%,$(dir $@))/$(notdir $@)
.PHONY: all clean install
--
2.20.1

View File

@ -1,5 +1,5 @@
# Locally Computed:
sha256 ba7b6960018022d876e39aa723d40b6745823b2ff71dae591d05bbd1b8ec180f gettext-tiny-73fc3e7ef7e016a3874b632fd0475969d288f309.tar.gz
sha256 efc740007c82a9b3a0d382fb50d212fa7dc0beddb9695409ee79684f9f2124b2 gettext-tiny-adaa9c64921e80f2b8dd3610ffb508618b9204f3.tar.gz
sha256 b57aa4fdc1c614c28d41c1e2d5c4090935964c5f86291ba7d1c99ffd1d698b34 LICENSE
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 extra/COPYING
# From http://lists.gnu.org/archive/html/bug-gettext/2016-06/msg00008.html

View File

@ -4,7 +4,7 @@
#
################################################################################
GETTEXT_TINY_VERSION = 73fc3e7ef7e016a3874b632fd0475969d288f309
GETTEXT_TINY_VERSION = adaa9c64921e80f2b8dd3610ffb508618b9204f3
GETTEXT_TINY_SITE = $(call github,sabotage-linux,gettext-tiny,$(GETTEXT_TINY_VERSION))
GETTEXT_TINY_LICENSE = MIT, GPL-3.0+ (extra gettext)
GETTEXT_TINY_INSTALL_STAGING = YES