aboutsummaryrefslogtreecommitdiffstats
path: root/main/st
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-09-27 14:04:14 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2016-09-27 14:41:06 +0200
commitf46d85f1088cae68890a8eb6cbfc172cce18a362 (patch)
treebe71b2047ddc0d81403475df94b4846645212335 /main/st
parent22a99b83ead806a18e1894959f9467c690a4c682 (diff)
downloadaports-f46d85f1088cae68890a8eb6cbfc172cce18a362.tar.bz2
aports-f46d85f1088cae68890a8eb6cbfc172cce18a362.tar.xz
main/st: enable -dbg package
Diffstat (limited to 'main/st')
-rw-r--r--main/st/APKBUILD8
-rw-r--r--main/st/cleanup-cflags.patch14
2 files changed, 2 insertions, 20 deletions
diff --git a/main/st/APKBUILD b/main/st/APKBUILD
index 15a2bf86dd..1c34ca6c4d 100644
--- a/main/st/APKBUILD
+++ b/main/st/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=st
pkgver=0.7
-pkgrel=0
+pkgrel=1
pkgdesc="a simple terminal implementation for X"
url="http://st.suckless.org/"
arch="all"
@@ -12,9 +12,8 @@ depends_dev=""
makedepends="$depends_dev fontconfig-dev freetype-dev libx11-dev libxft-dev
libxext-dev"
install=""
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-dbg"
source="http://dl.suckless.org/$pkgname/$pkgname-$pkgver.tar.gz
- cleanup-cflags.patch
terminfo.patch"
builddir="$srcdir"/$pkgname-$pkgver
@@ -41,11 +40,8 @@ EOF
}
md5sums="29b2a599cf1511c8062ed8f025c84c63 st-0.7.tar.gz
-7b352a681fd6d8567bd286d8b4a22b39 cleanup-cflags.patch
68a69a4b8c521392aad2c1ff9b77a043 terminfo.patch"
sha256sums="f7870d906ccc988926eef2cc98950a99cc78725b685e934c422c03c1234e6000 st-0.7.tar.gz
-4aed2529406dc91d19dbe2bf8563d42a73d3d6a290ea9c12e897bf3a4237c043 cleanup-cflags.patch
e103aa13cebf6f85be34c38b8457f69fdd1c168618bc07d7bba1d9b2ccf8ac6c terminfo.patch"
sha512sums="9384820d373bfaaef1887290351d8c34abeef26cd7d50ddbae56ffb865864bcca9be798c6238bf1ce595ba7c317f2c1d97653055da0aa302e322eeee822768d4 st-0.7.tar.gz
-d2083c4e6c577d3d4190b3f2d58898b5afdfeb5160def29958cf11433c59aea4917a799f447dffcaba4a7f80c989d88f6ce96234a8afd732653bf8a871484a1e cleanup-cflags.patch
9099d7c7dc557583179ec6d630419b067297520f788df6623236822cc4b6d2288ca93d25f3ae6c9169ca2a2357e5b7955eb1c0463b01efad5ee9c2e8c5db35ee terminfo.patch"
diff --git a/main/st/cleanup-cflags.patch b/main/st/cleanup-cflags.patch
deleted file mode 100644
index bf9755a2ae..0000000000
--- a/main/st/cleanup-cflags.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -upr st-0.6.orig/config.mk st-0.6/config.mk
---- st-0.6.orig/config.mk 2016-07-11 00:41:11.428451510 +0200
-+++ st-0.6/config.mk 2016-07-11 00:41:49.134970777 +0200
-@@ -20,8 +20,8 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lm -l
-
- # flags
- CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=600
--CFLAGS += -g -std=c99 -pedantic -Wall -Wvariadic-macros -Os ${INCS} ${CPPFLAGS}
--LDFLAGS += -g ${LIBS}
-+CFLAGS += -std=c99 -pedantic -Wall -Wvariadic-macros ${INCS} ${CPPFLAGS}
-+LDFLAGS += ${LIBS}
-
- # compiler and linker
- # CC = cc