main/gettext-tiny: upgrade to 0.3.3

This commit is contained in:
Wen Heping 2026-02-06 06:25:45 +00:00 committed by Natanael Copa
parent a170556394
commit 9704cec074
3 changed files with 3 additions and 43 deletions

View File

@ -1,8 +1,8 @@
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gettext-tiny
pkgver=0.3.2
pkgrel=6
pkgver=0.3.3
pkgrel=0
pkgdesc="Tiny Internationalized Message Handling Library and tools"
url="https://github.com/sabotage-linux/gettext-tiny"
arch="all"
@ -12,8 +12,6 @@ depends_dev="musl-libintl"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/sabotage-linux/gettext-tiny/archive/v$pkgver.tar.gz
line-length.patch
respect-cflags.patch
xgettext-version.patch
"
build() {
@ -25,8 +23,6 @@ package() {
}
sha512sums="
0ed85599c8dc4114764b8eeed1e35cde97f11185c3f689e377d020758cc010ba4402febb84dba4cdc78e94fa2cd65614dafade8708ea078db5b2921925c36e78 gettext-tiny-0.3.2.tar.gz
6084c6af1e215f095589de6c766cd091c308062deca55b4b717bb6ae94d6e9148ead5dabeed40b50623d5009fb66daac4f4fdff84c2531b1189ff77523b34e04 gettext-tiny-0.3.3.tar.gz
0a26a8481bffe2ce8c73f7f500963aea9db8379fb87849142d8efabf1656604b22f6ad345483256f14c388466f2f44e5924b9f65d88f26867a753a96d1529270 line-length.patch
b4e7db4e415f6bc31f2214f2044506ad18ea0bd3cae4200d93bbd34aa493c7478a7f953d0a7e08f29f0fd5a5d7b7cbfa2bcfd5692c37e423706a1c193239bf1d respect-cflags.patch
1fe209eef2f9c2fcd2992a96d484032865cd70c34df3c97e8efa3a67af7bee00edeaa21a9a16c3ee9ea61d65e06b6d7e0afcb411a8a5e19702d32daff1a412c6 xgettext-version.patch
"

View File

@ -1,11 +0,0 @@
--- gettext-tiny-0.2.0/Makefile.old 2017-08-02 06:14:20.000000000 -0500
+++ gettext-tiny-0.2.0/Makefile 2018-06-16 21:21:57.148735892 -0500
@@ -32,7 +32,7 @@
ALL_M4S=$(sort $(wildcard m4/*.m4))
ALL_DATA=$(sort $(wildcard data/*))
-CFLAGS=-O0 -fPIC
+CFLAGS ?= -O0 -fPIC
AR ?= $(CROSS_COMPILE)ar
RANLIB ?= $(CROSS_COMPILE)ranlib

View File

@ -1,25 +0,0 @@
Patch-Source: https://github.com/sabotage-linux/gettext-tiny/commit/bcb04de5afcf5532a110babfe3912b5725e7146b
From bcb04de5afcf5532a110babfe3912b5725e7146b Mon Sep 17 00:00:00 2001
From: Patrycja <github@ptrcnull.me>
Date: Wed, 9 Mar 2022 15:42:21 +0100
Subject: [PATCH] xgettext: fix --version output (#60)
"\n" in the printf parameter doesn't expand
and the comma gets printed after format string
---
src/xgettext.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xgettext.sh b/src/xgettext.sh
index fc38369..b113c98 100755
--- a/src/xgettext.sh
+++ b/src/xgettext.sh
@@ -16,7 +16,7 @@ syntax() {
}
show_version() {
- printf "%s\n", "xgettext (GNU gettext-tools compatible) 99.9999.9999\n"
+ printf "%s\n" "xgettext (GNU gettext-tools-compatible) 99.99"
exit 0
}