aboutsummaryrefslogtreecommitdiff
path: root/desktop/i3-gaps/i3-gaps.patch
diff options
context:
space:
mode:
authorMelvin Mawhin <mmawhin@hotmail.com>2020-09-26 03:55:22 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-26 16:10:53 +0700
commit04134aa9dd3430b7208856c46c9fcf3688a31560 (patch)
treeeb7260ed8cfe04668d1c55aa21c622f3b1fd54af /desktop/i3-gaps/i3-gaps.patch
parent51f7f504c1801e36330ddbc4e96d8eecc780b07e (diff)
desktop/i3-gaps: Updated for version 4.18.2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/i3-gaps/i3-gaps.patch')
-rw-r--r--desktop/i3-gaps/i3-gaps.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/desktop/i3-gaps/i3-gaps.patch b/desktop/i3-gaps/i3-gaps.patch
new file mode 100644
index 000000000000..932e8a4d4a3d
--- /dev/null
+++ b/desktop/i3-gaps/i3-gaps.patch
@@ -0,0 +1,22 @@
+--- i3-4.18.2/include/libi3.h 2020-07-26 10:35:49.000000000 +0200
++++ i3-4.18.2/include/libi3.h.new 2020-09-21 09:53:05.502446300 +0200
+@@ -341,7 +341,7 @@
+ */
+ uint32_t get_colorpixel(const char *hex) __attribute__((const));
+
+-#ifndef HAVE_strndup
++#ifndef HAVE_STRNDUP
+ /**
+ * Taken from FreeBSD
+ * Returns a pointer to a new string which is a duplicate of the
+--- i3-4.18.2/libi3/strndup.c 2020-07-26 10:35:49.000000000 +0200
++++ i3-4.18.2/libi3/strndup.c.new 2020-09-21 09:51:37.792446300 +0200
+@@ -10,7 +10,7 @@
+ #include <sys/types.h>
+ #include <string.h>
+
+-#ifndef HAVE_strndup
++#ifndef HAVE_STRNDUP
+ /*
+ * Taken from FreeBSD
+ * Returns a pointer to a new string which is a duplicate of the