37 lines
1.4 KiB
Diff
37 lines
1.4 KiB
Diff
diff -Nru spectrwm-3.0.0.orig/linux/Makefile spectrwm-3.0.0/linux/Makefile
|
|
--- spectrwm-3.0.0.orig/linux/Makefile 2016-05-05 12:01:59.903766554 +0200
|
|
+++ spectrwm-3.0.0/linux/Makefile 2016-05-05 12:02:13.257073357 +0200
|
|
@@ -10,7 +10,7 @@
|
|
LIBMAJORVERSION = $(shell . $(CURDIR)/../lib/shlib_version; echo $$major)
|
|
|
|
MAINT_CFLAGS = -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized -g
|
|
-MAINT_CPPFLAGS = -D_GNU_SOURCE -I. -I/usr/include/freetype2 -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LIBVERSION)\"
|
|
+MAINT_CPPFLAGS = -D_GNU_SOURCE -I. -I/usr/include/freetype2
|
|
MAINT_LDLIBS = -lX11 -lX11-xcb -lxcb -lxcb-icccm -lxcb-randr -lxcb-keysyms -lxcb-util -lxcb-xtest -lXft -lXcursor
|
|
|
|
ifneq ("${BUILDVERSION}", "")
|
|
diff -Nru spectrwm-3.0.0.orig/spectrwm.c spectrwm-3.0.0/spectrwm.c
|
|
--- spectrwm-3.0.0.orig/spectrwm.c 2016-05-05 12:01:59.903766554 +0200
|
|
+++ spectrwm-3.0.0/spectrwm.c 2016-05-05 12:02:13.260406683 +0200
|
|
@@ -273,9 +273,9 @@
|
|
#define SWM_CONF_DEFAULT (0)
|
|
#define SWM_CONF_KEYMAPPING (1)
|
|
|
|
-#ifndef SWM_LIB
|
|
+/* #ifndef SWM_LIB
|
|
#define SWM_LIB "/usr/local/lib/libswmhack.so"
|
|
-#endif
|
|
+#endif */
|
|
|
|
char **start_argv;
|
|
xcb_atom_t a_state;
|
|
@@ -3712,7 +3712,7 @@
|
|
|
|
close(xcb_get_file_descriptor(conn));
|
|
|
|
- setenv("LD_PRELOAD", SWM_LIB, 1);
|
|
+ /* setenv("LD_PRELOAD", SWM_LIB, 1); */
|
|
|
|
if (asprintf(&ret, "%d", ws_idx) == -1) {
|
|
warn("spawn: asprintf SWM_WS");
|