summaryrefslogtreecommitdiff
path: root/packages/mtools/files
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2008-04-08 12:49:09 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2008-04-08 12:49:09 +0000
commitce9487cb7dfc40a43b957d025bc0936e81bdc17e (patch)
tree3e71e747a4e09d24a0bc2fa331b81fe262f8430b /packages/mtools/files
parent396ba9cd4a593593b3b260e44ac5964e3fff9b72 (diff)
mtools: do not link with X11 (from Poky)
Diffstat (limited to 'packages/mtools/files')
-rw-r--r--packages/mtools/files/no-x11.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/mtools/files/no-x11.patch b/packages/mtools/files/no-x11.patch
new file mode 100644
index 0000000000..300f43f000
--- /dev/null
+++ b/packages/mtools/files/no-x11.patch
@@ -0,0 +1,19 @@
+---
+ Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- mtools-3.9.9.orig/Makefile.in
++++ mtools-3.9.9/Makefile.in
+@@ -128,11 +128,11 @@ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+ CFLAGS = $(CPPFLAGS) $(DEFS) $(MYCFLAGS) -I. @extraincludedir@ -I@srcdir@ $(USERCFLAGS)
+ CXXFLAGS = $(CPPFLAGS) $(DEFS) $(MYCXXFLAGS) -I. @extraincludedir@ -I@srcdir@ $(USERCFLAGS)
+ LINK = $(CC) $(LDFLAGS) $(USERLDFLAGS) @extralibdir@
+ ALLLIBS = $(USERLDLIBS) $(MACHDEPLIBS) $(SHLIB) $(LIBS)
+-X_LDFLAGS = $(X_EXTRA_LIBS) $(X_LIBS) $(X_PRE_LIBS) -lXau -lX11 $(LIBS)
++X_LDFLAGS = $(X_EXTRA_LIBS) $(X_LIBS) $(X_PRE_LIBS) $(LIBS)
+ X_CCFLAGS = $(X_CFLAGS) $(CFLAGS)
+
+ all: mtools $(LINKS) mkmanifest @FLOPPYD@
+
+ %.o: %.c