aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sent
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2017-09-19 11:40:36 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2017-09-19 11:40:36 +0200
commitb0ef3f8997d8db73ff441b1133bd2bbe3c1dca52 (patch)
tree7af298f296e454c91dd05a43d6e7c42c0b288f19 /testing/sent
parent20d8eb2adf021db27630d6e141184f7130864e34 (diff)
downloadaports-b0ef3f8997d8db73ff441b1133bd2bbe3c1dca52.tar.bz2
aports-b0ef3f8997d8db73ff441b1133bd2bbe3c1dca52.tar.xz
testing/sent: don't build with -g
Diffstat (limited to 'testing/sent')
-rw-r--r--testing/sent/APKBUILD9
-rw-r--r--testing/sent/config-mk.patch13
2 files changed, 19 insertions, 3 deletions
diff --git a/testing/sent/APKBUILD b/testing/sent/APKBUILD
index 38f4cfc4a6..1abbc4a286 100644
--- a/testing/sent/APKBUILD
+++ b/testing/sent/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=sent
pkgver=1
-pkgrel=0
+pkgrel=1
pkgdesc="Simple plaintext presentation tool"
url="http://tools.suckless.org/sent/"
arch="all"
@@ -13,7 +13,9 @@ makedepends="libx11-dev libxft-dev"
install=""
subpackages="$pkgname-doc"
options="!check"
-source="http://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz"
+source="http://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz
+ config-mk.patch"
+patch_args="-p0"
builddir="$srcdir"
build() {
@@ -32,4 +34,5 @@ package() {
"$pkgdir"/usr/share/doc/$pkgname/
}
-sha512sums="4797468bf949de507662253eac1ec80f566553051f407a55a88ccdd6544532c0d8d0f51bb11b88bdff78e6630519558049569ac0c9d3d8279f243882653ef1c0 sent-1.tar.gz"
+sha512sums="4797468bf949de507662253eac1ec80f566553051f407a55a88ccdd6544532c0d8d0f51bb11b88bdff78e6630519558049569ac0c9d3d8279f243882653ef1c0 sent-1.tar.gz
+f14481b84c0d125216aba3af45b3fe0a559996f8f3c6acdfb3289ee9c601a09267e94efc3a2c7146d4e8514a68ed2461ddbf907a49d857539c121090797bd7e0 config-mk.patch"
diff --git a/testing/sent/config-mk.patch b/testing/sent/config-mk.patch
new file mode 100644
index 0000000000..dfb5934c40
--- /dev/null
+++ b/testing/sent/config-mk.patch
@@ -0,0 +1,13 @@
+--- config.mk.orig 2017-09-19 11:39:26.939320274 +0200
++++ config.mk 2017-09-19 11:39:32.689379959 +0200
+@@ -21,8 +21,8 @@ LIBS = -L/usr/lib -lc -lm -L${X11LIB} -l
+
+ # flags
+ CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=600
+-CFLAGS += -g -std=c99 -pedantic -Wall ${INCS} ${CPPFLAGS}
+-LDFLAGS += -g ${LIBS}
++CFLAGS += -std=c99 -pedantic -Wall ${INCS} ${CPPFLAGS}
++LDFLAGS += ${LIBS}
+ #CFLAGS += -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+ #LDFLAGS += ${LIBS}
+