summaryrefslogtreecommitdiff
path: root/user/i3wm/i3wm-test-fix-off_t.patch
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-09-27 19:00:02 -0700
committerDan Theisen <djt@hxx.in>2018-09-27 19:00:02 -0700
commit3d3d0348285a8df7af00282ec277b0bdf1fcdb0f (patch)
treeca7347bc1fbb7e218c046ea4f3788a0fd2006985 /user/i3wm/i3wm-test-fix-off_t.patch
parentbf591013dfc5820f7b408f0be266c577f6997352 (diff)
downloadpackages-3d3d0348285a8df7af00282ec277b0bdf1fcdb0f.tar.gz
packages-3d3d0348285a8df7af00282ec277b0bdf1fcdb0f.tar.bz2
packages-3d3d0348285a8df7af00282ec277b0bdf1fcdb0f.tar.xz
packages-3d3d0348285a8df7af00282ec277b0bdf1fcdb0f.zip
user/i3wm: new package
Diffstat (limited to 'user/i3wm/i3wm-test-fix-off_t.patch')
-rw-r--r--user/i3wm/i3wm-test-fix-off_t.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/user/i3wm/i3wm-test-fix-off_t.patch b/user/i3wm/i3wm-test-fix-off_t.patch
new file mode 100644
index 000000000..1aeb69be6
--- /dev/null
+++ b/user/i3wm/i3wm-test-fix-off_t.patch
@@ -0,0 +1,26 @@
+--- i3-4.15/testcases/lib/i3test/XTEST.pm.old 2018-09-27 16:18:59.682101063 -0700
++++ i3-4.15/testcases/lib/i3test/XTEST.pm 2018-09-27 16:20:33.723493893 -0700
+@@ -39,6 +39,7 @@
+ my %sn_config;
+ BEGIN {
+ %sn_config = ExtUtils::PkgConfig->find('xcb-xkb xcb-xtest xcb-util');
++ $sn_config{cflags} .= ' -D_GNU_SOURCE';
+ }
+
+ use Inline C => Config => LIBS => $sn_config{libs}, CCFLAGS => $sn_config{cflags};
+--- i3-4.15/testcases/t/175-startup-notification.t.old 2018-09-27 16:24:17.546808884 -0700
++++ i3-4.15/testcases/t/175-startup-notification.t 2018-09-27 16:24:55.587372292 -0700
+@@ -31,11 +31,13 @@
+ my %sn_config;
+ BEGIN {
+ %sn_config = ExtUtils::PkgConfig->find('libstartup-notification-1.0');
++ $sn_config{cflags} .= ' -D_GNU_SOURCE';
+ }
+
+ use Inline C => Config => LIBS => $sn_config{libs}, CCFLAGS => $sn_config{cflags};
+ use Inline C => <<'END_OF_C_CODE';
+
++#include <sys/types.h>
+ #include <xcb/xcb.h>
+
+ #define SN_API_NOT_YET_FROZEN 1