diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2019-05-25 11:48:03 +0200 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2019-05-25 11:53:54 +0200 |
commit | 3cad8fba2958981307f94b865c2b970b95e10789 (patch) | |
tree | d2dc85a97eb5777b583fa39a231620b0d3de2cfb /pkgs/applications/networking/browsers/w3m | |
parent | 35961a169df730e7f44bd1e1d43ffb32b5d64ea2 (diff) |
w3m-nox: fix build
In the latest version (0.5.3+git20190105), `<X11/xlib.h>` isn't directly included in `fb_imlib2.c` anymore, however it's used by `<Imlib.h>` which broke our patch which disables X11 here. Hydra build failure: https://hydra.nixos.org/build/93730733 See also https://github.com/tats/w3m/commit/2266d1bd988daed273992e7b26fbeba030002b82
Diffstat (limited to 'pkgs/applications/networking/browsers/w3m')
-rw-r--r-- | pkgs/applications/networking/browsers/w3m/no-x11.patch | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/applications/networking/browsers/w3m/no-x11.patch b/pkgs/applications/networking/browsers/w3m/no-x11.patch index 83b3e96821f55..0816c022926d7 100644 --- a/pkgs/applications/networking/browsers/w3m/no-x11.patch +++ b/pkgs/applications/networking/browsers/w3m/no-x11.patch @@ -1,14 +1,13 @@ Forget about X11 in fb module. This breaks w3mimgdisplay under X11, but removes X11 dependency it in pure fb. diff --git a/w3mimg/fb/fb_imlib2.c b/w3mimg/fb/fb_imlib2.c -index ea36637..d3d7bc3 100644 +index 1a5151c..d3d7bc3 100644 --- a/w3mimg/fb/fb_imlib2.c +++ b/w3mimg/fb/fb_imlib2.c -@@ -3,7 +3,7 @@ +@@ -3,6 +3,7 @@ fb_imlib2.c 0.3 Copyright (C) 2002, hito **************************************************************************/ --#include <X11/Xlib.h> +#define X_DISPLAY_MISSING #include <Imlib2.h> #include "fb.h" |