i3/forks: don't detect that we're running a debug build. worked out with tb@

https://github.com/i3/i3/issues/4350
This commit is contained in:
sthen 2021-02-18 11:19:19 +00:00
parent af60f95818
commit 15563edbc3
7 changed files with 56 additions and 6 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.11 2021/02/13 05:59:02 rsadowski Exp $
# $OpenBSD: Makefile,v 1.12 2021/02/18 11:19:19 sthen Exp $
COMMENT = improved dynamic tiling window manager, fork with gaps
V = 4.19.1
REVISION = 0
DISTNAME = i3-gaps-${V}
CATEGORIES = x11

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-libi3_is_debug_build_c,v 1.1 2021/02/18 11:19:19 sthen Exp $
https://github.com/i3/i3/issues/4350
Index: libi3/is_debug_build.c
--- libi3/is_debug_build.c.orig
+++ libi3/is_debug_build.c
@@ -15,6 +15,8 @@
*
*/
bool is_debug_build(void) {
+ return false;
+
/* i3_version contains either something like this:
* "4.0.2 (2011-11-11)" (release version)
* or: "4.0.2-123-gC0FFEE" (debug version)

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.11 2021/02/14 21:11:34 sthen Exp $
# $OpenBSD: Makefile,v 1.12 2021/02/18 11:19:19 sthen Exp $
# see https://github.com/i3/i3/issues/3085 / orestisfl:issue-2643
COMMENT= improved dynamic tiling window manager, fork with mouse drag
@ -8,7 +8,7 @@ GH_PROJECT= i3
GH_COMMIT= 1b0585ddf8f2e2206effbd106cb028cac6ffe6d9
DISTNAME= i3-mousedrag-4.19.1pl20210102
REVISION= 3
REVISION= 4
CATEGORIES= x11

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-libi3_is_debug_build_c,v 1.1 2021/02/18 11:19:19 sthen Exp $
https://github.com/i3/i3/issues/4350
Index: libi3/is_debug_build.c
--- libi3/is_debug_build.c.orig
+++ libi3/is_debug_build.c
@@ -15,6 +15,8 @@
*
*/
bool is_debug_build(void) {
+ return false;
+
/* i3_version contains either something like this:
* "4.0.2 (2011-11-11)" (release version)
* or: "4.0.2-123-gC0FFEE" (debug version)

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-meson_build,v 1.1 2021/02/13 09:02:26 sthen Exp $
$OpenBSD: patch-meson_build,v 1.2 2021/02/18 11:19:19 sthen Exp $
Index: meson.build
--- meson.build.orig
+++ meson.build
@@ -598,7 +598,7 @@ install_headers(
@@ -600,7 +600,7 @@ install_headers(
# because configure_file strips the backslash in e.g. \@display,
# resulting in @display, breaking our Perl code:
# https://github.com/mesonbuild/meson/issues/7165

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.128 2021/02/13 09:00:05 sthen Exp $
# $OpenBSD: Makefile,v 1.129 2021/02/18 11:19:19 sthen Exp $
COMMENT = improved dynamic tiling window manager
DISTNAME = i3-4.19.1
REVISION = 0
CATEGORIES = x11

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-libi3_is_debug_build_c,v 1.1 2021/02/18 11:19:19 sthen Exp $
https://github.com/i3/i3/issues/4350
Index: libi3/is_debug_build.c
--- libi3/is_debug_build.c.orig
+++ libi3/is_debug_build.c
@@ -15,6 +15,8 @@
*
*/
bool is_debug_build(void) {
+ return false;
+
/* i3_version contains either something like this:
* "4.0.2 (2011-11-11)" (release version)
* or: "4.0.2-123-gC0FFEE" (debug version)