Upgraded extra/dwm to 6.3

Added code in extra/slock to make it use our CFLAGS
Deleted buggy unset command in net/samba
This commit is contained in:
PktSurf 2022-08-09 15:43:04 +05:30
parent 00b7252c7d
commit 90569a2a82
3 changed files with 9 additions and 8 deletions

View file

@ -1,8 +1,8 @@
app=dwm
version=6.0
version=6.3
build=1sml
homepage="https://dwm.suckless.org"
download="https://dl.suckless.org/dwm/dwm-6.0.tar.gz"
download="https://dl.suckless.org/dwm/dwm-6.3.tar.gz"
desc="Suckless dynamic window manager"
requires="libxinerama libxext"
@ -14,6 +14,9 @@ build() {
cd $app-$version
fixbuilddirpermissions
sed -i "s@-Wno-deprecated-declarations -Os@-Wno-deprecated-declarations $CFLAGS@g" config.mk
#sed -i "s@LDFLAGS = -s@LDFLAGS = @g" config.mk
make
make install PREFIX="/" MANPREFIX=/share/man DESTDIR=$pkg
@ -23,5 +26,5 @@ build() {
}
sha512sums="
4db1c21d87b030236c381209ed56eedd15f47faf225a33ffa240f82612b9e0ec0287fa3c7c3e446704416032ae7c52559b482db9f60500ec0d6f5ad88328066a dwm-6.0.tar.lz
9454eee61e15a4b382efc27df0431ac4611efb8beaed6ff4f91fe62c72d1c2fe1aad466cf10e5716292c51fd41a6ff0f5ec14f8497311fb964f82d199b25a97a dwm-6.3.tar.lz
"

View file

@ -14,7 +14,8 @@ build() {
cd $app-$version
fixbuilddirpermissions
sed -i "s@-Wall -Os@$CFLAGS@g" config.mk
sed -i "s@-Wall -Os@-Wall $CFLAGS@g" config.mk
sed -i "s@LDFLAGS = -s@LDFLAGS = @g" config.mk
make
make install PREFIX="/" DESTDIR=$pkg
@ -26,4 +27,4 @@ build() {
sha512sums="
74b69dd493266fdfca5257dd7ff0ba6cd50efd30febc4f8576c1f92e15a5225a933784a7dae8e0b0be72e4258d747c396c46a214675f1c6efdebe5bb453226b1 slock-1.4.tar.lz
"
"

View file

@ -25,9 +25,6 @@ build() {
applypatch $srcdir/pidl.patch
applypatch $srcdir/samba-bgqd-include-signal-h.patch
# Samba doesn't like our C/CXXFLAGS
#unset CFLAGS CXXFLAGS
SAMBAJOBS="$(echo $MAKEFLAGS | sed 's@-j@@')"
# Enabling quotas results in "[2022/03/05 14:15:09.123806, 0] ../../source3/lib/sysquotas.c:566(sys_get_quota)