aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/applications/networking/browsers/w3m/no-x11.patch
blob: 0816c022926d77b3586cd022f6dec766f6a243ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 1a5151c..d3d7bc3 100644
--- a/w3mimg/fb/fb_imlib2.c
+++ b/w3mimg/fb/fb_imlib2.c
@@ -3,6 +3,7 @@
                 fb_imlib2.c 0.3 Copyright (C) 2002, hito
  **************************************************************************/
 
+#define X_DISPLAY_MISSING
 #include <Imlib2.h>
 #include "fb.h"
 #include "fb_img.h"