summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-25 19:08:33 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-25 19:08:33 -0500
commit45b2f80485481b7e062de2ed92bbe11ee942a17b (patch)
tree20d1c3a306fc908eb0932cb429ee390eff74393d
parent27215e5b9e09dddfdf2dc796a213dc0221c42e88 (diff)
downloadpackages-45b2f80485481b7e062de2ed92bbe11ee942a17b.tar.gz
packages-45b2f80485481b7e062de2ed92bbe11ee942a17b.tar.bz2
packages-45b2f80485481b7e062de2ed92bbe11ee942a17b.tar.xz
packages-45b2f80485481b7e062de2ed92bbe11ee942a17b.zip
system/gettext-tiny: expand dong more
-rw-r--r--system/gettext-tiny/APKBUILD8
-rw-r--r--system/gettext-tiny/double-stack-size.patch4
-rw-r--r--system/gettext-tiny/dynamic.patch18
3 files changed, 25 insertions, 5 deletions
diff --git a/system/gettext-tiny/APKBUILD b/system/gettext-tiny/APKBUILD
index 5294526c3..6edd0b4b3 100644
--- a/system/gettext-tiny/APKBUILD
+++ b/system/gettext-tiny/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=gettext-tiny
pkgver=0.3.0_pre1
-pkgrel=5
+pkgrel=6
pkgdesc="An internationalisation and localisation system"
url="https://github.com/sabotage-linux/gettext-tiny"
arch="all"
@@ -19,6 +19,7 @@ source="https://distfiles.adelielinux.org/source/$pkgname-$pkgver.tar.xz
cpp-compat.patch
double-stack-size.patch
m4-installation.patch
+ dynamic.patch
"
build() {
@@ -36,5 +37,6 @@ sha512sums="3795b9923f6820ce6e2c6a27480365a4ee1cb1f8f8916256887a40c8e0f0b582ada0
cea1596f3f20c8983e57d2e49e955a43ed2e261b244f6c4c2ae7d8b869e3cfce3bb87b0a17c16bdac59afd99703cef9c7ef4e93fca536bf1bf9aa5f9be9fa34f respect-cflags.patch
d2a1a6b1f135c25172cf98dfed64739ff85f6016a31c3ce028b3a7aa72de0b55c1f9a54c5ba2c58817f5222c3d2a5bc3d03ec9058ae5fbae2c798df9227a4e52 stop-doing-macro-crap.patch
0f1a1be10a038e6d30976f060c271e926f8f6b0541af7044f1b0ac2641825fc784ce3e3ff6ca13f3a5d15bbcd355a0999b60d4aa6f30c7b75254ca0edcaccc4d cpp-compat.patch
-d5227a56fd136a00832ad224675e333cb8a686415a45485bd02406a2cefa13ef5698b6790ee23bac05d5ad43d4d01657c17c663bf578e4d7681451a25f800618 double-stack-size.patch
-090b685f6846b1cf4c266cbc982701283c7e30ddcbb1d3d263d50f83645ed168530db4bc03b6b688e46a32ac7ad09f0cd3f0e94f5c1a39e86d904f010353d91e m4-installation.patch"
+331bd0442b400407d690cce4a90aac09acf64e1a26f9951dc1d1332cc29916987d34cc13bc13e84482c6950908cedad50f6aaf325f99118d769bb1286dd4db1b double-stack-size.patch
+090b685f6846b1cf4c266cbc982701283c7e30ddcbb1d3d263d50f83645ed168530db4bc03b6b688e46a32ac7ad09f0cd3f0e94f5c1a39e86d904f010353d91e m4-installation.patch
+06ca61de36d41ad9545c7c60e54fe0fe77eb67bb4902679f2828e7a14ad01cfc244b7b136e31debbb60d9dc9b4101b4f0463d46f95c263939017fd38fbe31b19 dynamic.patch"
diff --git a/system/gettext-tiny/double-stack-size.patch b/system/gettext-tiny/double-stack-size.patch
index 89f2f82f3..275f477e9 100644
--- a/system/gettext-tiny/double-stack-size.patch
+++ b/system/gettext-tiny/double-stack-size.patch
@@ -13,8 +13,8 @@ question is 4,279 bytes long.
struct mo_hdr mohdr = def_hdr;
- char line[4096]; char *lp;
- char convbuf[16384];
-+ char line[8192]; char *lp;
-+ char convbuf[32768];
++ char line[8448]; char *lp;
++ char convbuf[33792];
struct callbackdata d = {
.num = {
diff --git a/system/gettext-tiny/dynamic.patch b/system/gettext-tiny/dynamic.patch
new file mode 100644
index 000000000..aa027d155
--- /dev/null
+++ b/system/gettext-tiny/dynamic.patch
@@ -0,0 +1,18 @@
+GDB/symbol splitting doesn't work on static binaries.
+
+For debugability, build dynamic.
+--- gettext-tiny-0.3.0_pre1/Makefile.old 2018-07-25 23:41:05.120000000 +0000
++++ gettext-tiny-0.3.0_pre1/Makefile 2018-07-25 23:42:51.350000000 +0000
+@@ -62,10 +62,10 @@
+ $(RANLIB) $@
+
+ msgmerge: $(OBJS)
+- $(CC) $(LDFLAGS) -static -o $@ src/msgmerge.o $(PARSEROBJS)
++ $(CC) $(LDFLAGS) -o $@ src/msgmerge.o $(PARSEROBJS)
+
+ msgfmt: $(OBJS)
+- $(CC) $(LDFLAGS) -static -o $@ src/msgfmt.o $(PARSEROBJS)
++ $(CC) $(LDFLAGS) -o $@ src/msgfmt.o $(PARSEROBJS)
+
+ xgettext:
+ cp src/xgettext.sh ./xgettext