diff options
author | davidovski <david@davidovski.xyz> | 2022-05-31 11:05:19 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-31 11:05:19 +0100 |
commit | 48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch) | |
tree | 00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/system/gettext | |
parent | 871b2b573f01c1b3176a0f65458b3d281b41c437 (diff) |
removed idea of repos
Diffstat (limited to 'repo/system/gettext')
-rw-r--r-- | repo/system/gettext/fix-xgettext-version-string.patch | 11 | ||||
-rw-r--r-- | repo/system/gettext/flip-macro-logic.patch | 20 | ||||
-rw-r--r-- | repo/system/gettext/gettext.xibuild | 27 | ||||
-rw-r--r-- | repo/system/gettext/line-length.patch | 15 | ||||
-rw-r--r-- | repo/system/gettext/respect-cflags.patch | 11 |
5 files changed, 0 insertions, 84 deletions
diff --git a/repo/system/gettext/fix-xgettext-version-string.patch b/repo/system/gettext/fix-xgettext-version-string.patch deleted file mode 100644 index de35749..0000000 --- a/repo/system/gettext/fix-xgettext-version-string.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/xgettext.sh 2020-04-06 11:43:29.000000000 +0100 -+++ b/src/xgettext.sh 2020-04-06 11:43:29.000000000 +0100 -@@ -16,7 +16,7 @@ - } - - show_version() { -- printf "%s\n", "xgettext (GNU gettext-tools compatible) 99.9999.9999\n" -+ printf "%s\n\n" "xgettext (GNU gettext-tools) 0.19.8.1" - exit 0 - } - diff --git a/repo/system/gettext/flip-macro-logic.patch b/repo/system/gettext/flip-macro-logic.patch deleted file mode 100644 index 277bc7a..0000000 --- a/repo/system/gettext/flip-macro-logic.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- gettext-tiny-0.2.0/include/libintl.h.old 2017-08-02 06:14:20.000000000 -0500 -+++ gettext-tiny-0.2.0/include/libintl.h 2018-06-15 02:31:14.241446687 -0500 -@@ -34,14 +34,14 @@ - #undef gettext_noop - #define gettext_noop(X) X - --#ifndef LIBINTL_NO_MACROS -+#ifdef LIBINTL_MACROS - /* if these macros are defined, configure checks will detect libintl as - * built into the libc because test programs will work without -lintl. - * for example: - * checking for ngettext in libc ... yes - * the consequence is that -lintl will not be added to the LDFLAGS. -- * so if for some reason you want that libintl.a gets linked, -- * add -DLIBINTL_NO_MACROS=1 to your CPPFLAGS. */ -+ * so if for some reason you dont want that libintl.a gets linked, -+ * add -DLIBINTL_MACROS=1 to your CPPFLAGS. */ - - #define gettext(X) ((char*) (X)) - #define dgettext(dom, X) ((void)(dom), (char*) (X)) diff --git a/repo/system/gettext/gettext.xibuild b/repo/system/gettext/gettext.xibuild deleted file mode 100644 index 8da13a5..0000000 --- a/repo/system/gettext/gettext.xibuild +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - -MAKEDEPS="make" -DEPS="acl sh" - -PKG_VER=0.3.2 -SOURCE=https://ftp.barfooze.de/pub/sabotage/tarballs/gettext-tiny-$PKG_VER.tar.xz -DESC="Lightweight replacement for tools used in the GNU gettext suite" - -ADDITIONAL=" - line-length.patch - respect-cflags.patch - flip-macro-logic.patch - fix-xgettext-version-string.patch -" - -prepare () { - apply_patches -} - -build () { - LIBINTL=MUSL prefix=/usr make -} - -package () { - make LIBINTL=MUSL prefix=/usr DESTDIR=$PKG_DEST install -} diff --git a/repo/system/gettext/line-length.patch b/repo/system/gettext/line-length.patch deleted file mode 100644 index 0ba9781..0000000 --- a/repo/system/gettext/line-length.patch +++ /dev/null @@ -1,15 +0,0 @@ -https://github.com/sabotage-linux/gettext-tiny/issues/50 - -We're losing the battle of the bulge; someone really should make this use malloc. - ---- gettext-tiny-0.3.1_git20191130/src/msgfmt.c.old 2020-01-14 08:03:11.000000000 +0000 -+++ gettext-tiny-0.3.1_git20191130/src/msgfmt.c 2020-01-21 18:58:28.257709860 +0000 -@@ -160,7 +160,7 @@ - - int process(FILE *in, FILE *out, bool strict) { - struct mo_hdr mohdr = def_hdr; -- char line[8192]; char *lp; -+ char line[12288]; char *lp; - size_t off, i; - enum po_error t; - char convbuf[32768]; diff --git a/repo/system/gettext/respect-cflags.patch b/repo/system/gettext/respect-cflags.patch deleted file mode 100644 index dd1cf3f..0000000 --- a/repo/system/gettext/respect-cflags.patch +++ /dev/null @@ -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 |