summaryrefslogtreecommitdiffstats
path: root/meta/packages/mtools/files
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-03-26 09:03:34 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-03-26 09:03:34 +0000
commit4bca8a4ca39060913f58e7f50ea4b83aa8c586bd (patch)
tree2f2c7602969b2a4db2d0e87fe9ca170c52d165c3 /meta/packages/mtools/files
parent678bf73f1dfcde9a2b185396a0c8f11a7c73f207 (diff)
downloadpoky-4bca8a4ca39060913f58e7f50ea4b83aa8c586bd.tar.gz
mtools: do not link with X11
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4118 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/mtools/files')
-rw-r--r--meta/packages/mtools/files/no-x11.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/packages/mtools/files/no-x11.patch b/meta/packages/mtools/files/no-x11.patch
new file mode 100644
index 0000000000..300f43f000
--- /dev/null
+++ b/meta/packages/mtools/files/no-x11.patch
@@ -0,0 +1,19 @@
1---
2 Makefile.in | 2 +-
3 1 file changed, 1 insertion(+), 1 deletion(-)
4
5--- mtools-3.9.9.orig/Makefile.in
6+++ mtools-3.9.9/Makefile.in
7@@ -128,11 +128,11 @@ X_EXTRA_LIBS = @X_EXTRA_LIBS@
8 X_PRE_LIBS = @X_PRE_LIBS@
9 CFLAGS = $(CPPFLAGS) $(DEFS) $(MYCFLAGS) -I. @extraincludedir@ -I@srcdir@ $(USERCFLAGS)
10 CXXFLAGS = $(CPPFLAGS) $(DEFS) $(MYCXXFLAGS) -I. @extraincludedir@ -I@srcdir@ $(USERCFLAGS)
11 LINK = $(CC) $(LDFLAGS) $(USERLDFLAGS) @extralibdir@
12 ALLLIBS = $(USERLDLIBS) $(MACHDEPLIBS) $(SHLIB) $(LIBS)
13-X_LDFLAGS = $(X_EXTRA_LIBS) $(X_LIBS) $(X_PRE_LIBS) -lXau -lX11 $(LIBS)
14+X_LDFLAGS = $(X_EXTRA_LIBS) $(X_LIBS) $(X_PRE_LIBS) $(LIBS)
15 X_CCFLAGS = $(X_CFLAGS) $(CFLAGS)
16
17 all: mtools $(LINKS) mkmanifest @FLOPPYD@
18
19 %.o: %.c