summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/mtools/mtools/no-x11.gplv3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/mtools/mtools/no-x11.gplv3.patch')
-rw-r--r--meta/recipes-devtools/mtools/mtools/no-x11.gplv3.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-devtools/mtools/mtools/no-x11.gplv3.patch b/meta/recipes-devtools/mtools/mtools/no-x11.gplv3.patch
new file mode 100644
index 0000000..9cb3e39
--- /dev/null
+++ b/meta/recipes-devtools/mtools/mtools/no-x11.gplv3.patch
@@ -0,0 +1,18 @@
1Disable building with X11 support.
2
3Upstream-Status: Inappropriate [disable feature]
4
5Signed-off-by: Scott Garman <scott.a.garman@intel.com>
6
7diff -urN mtools-4.0.15.orig//Makefile.in mtools-4.0.15//Makefile.in
8--- mtools-4.0.15.orig//Makefile.in 2010-10-17 08:41:09.000000000 -0700
9+++ mtools-4.0.15//Makefile.in 2010-11-23 13:59:49.258258374 -0800
10@@ -146,7 +146,7 @@
11 CXXFLAGS = $(CPPFLAGS) $(DEFS) $(MYCXXFLAGS) -I. @extraincludedir@ -I@srcdir@ $(USERCFLAGS)
12 LINK = $(CC) $(LDFLAGS) $(USERLDFLAGS) @extralibdir@
13 ALLLIBS = $(USERLDLIBS) $(MACHDEPLIBS) $(SHLIB) $(LIBS)
14-X_LDFLAGS = $(X_EXTRA_LIBS) $(X_LIBS) -lXau -lX11 $(LIBS)
15+X_LDFLAGS = $(X_EXTRA_LIBS) $(X_LIBS) $(LIBS)
16 X_CCFLAGS = $(X_CFLAGS) $(CFLAGS)
17
18 all: mtools $(LINKS) mkmanifest @FLOPPYD@ mtools.1 mtools.5