sthen f88c7f0ab9 update to MuPDF-1.8
- many fixes and improvements to EPUB support
- mudraw moves to the multi-purpose mutool binary
- add new OpenGL-based viewer, mupdf-gl
- add an optional flavour to enable the javascript support (wasn't
on by default before in our package, and still isn't)
2015-11-12 17:26:54 +00:00

16 lines
678 B
Plaintext

$OpenBSD: patch-Makethird,v 1.1 2015/11/12 17:26:54 sthen Exp $
--- Makethird.orig Tue Nov 10 16:19:51 2015
+++ Makethird Thu Nov 12 17:22:39 2015
@@ -503,9 +503,9 @@ $(GLFW_LIB): $(addprefix $(GLFW_OUT)/, $(GLFW_SRC:%.c=
$(GLFW_OUT):
$(MKDIR_CMD)
$(GLFW_OUT)/%.o: $(GLFW_DIR)/src/%.c | $(GLFW_OUT)
- $(CC_CMD) -D_GLFW_X11 -D_GLFW_GLX -D_GLFW_USE_OPENGL -D_GLFW_HAS_GLXGETPROCADDRESS
+ $(CC_CMD) -I${X11BASE}/include -D_GLFW_X11 -D_GLFW_GLX -D_GLFW_USE_OPENGL -D_GLFW_HAS_GLXGETPROCADDRESS
-GLFW_CFLAGS := -I$(GLFW_DIR)/include
+GLFW_CFLAGS := -I${X11BASE}/include -I$(GLFW_DIR)/include
GLFW_LIBS := -lGL -lX11 -lXcursor -lXrandr -lXinerama -lpthread
HAVE_GLFW := yes