bspwm: update to 0.9.6.

This commit is contained in:
maxice8 2019-02-13 08:56:07 -02:00 committed by maxice8
parent 7b01bc0068
commit ab1fe6a793
2 changed files with 3 additions and 17 deletions

View file

@ -1,14 +0,0 @@
Patch backported from: https://github.com/baskerville/bspwm/commit/ab81f1b10148311d0b798f96d472d4afcbb77ce5
--- src/bspwm.c.orig 2018-12-30 21:34:53.329062706 -0600
+++ src/bspwm.c 2018-12-30 21:36:16.149061038 -0600
@@ -163,8 +163,8 @@
if (FD_ISSET(sock_fd, &descriptors)) {
cli_fd = accept(sock_fd, NULL, 0);
- if (cli_fd > 0 && (n = recv(cli_fd, msg, sizeof(msg), 0)) > 0) {
- msg[n] = '\0';
+ if (cli_fd > 0 && (n = recv(cli_fd, msg, sizeof(msg)-1, 0)) > 0) {
+ msg[n] = '\0';
FILE *rsp = fdopen(cli_fd, "w");
if (rsp != NULL) {
handle_message(msg, n, rsp);

View file

@ -1,14 +1,14 @@
# Template file for 'bspwm'
pkgname=bspwm
version=0.9.5
revision=3
version=0.9.6
revision=1
makedepends="xcb-util-wm-devel xcb-util-keysyms-devel"
short_desc="Tiling window manager based on binary space partitioning"
maintainer="Nathan Owens <ndowens04@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/baskerville/bspwm"
distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
checksum=273591baf6a15d317cfedf4a423c51c132c52dd05b0328d6994f7bdc3982f782
checksum=287a69652250120109ed59e926662ca19b672526a6f3dd14f2977feebad273fa
do_build() {
make CC=$CC