From 4bca8a4ca39060913f58e7f50ea4b83aa8c586bd Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 26 Mar 2008 09:03:34 +0000 Subject: mtools: do not link with X11 git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4118 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/mtools/files/no-x11.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta/packages/mtools/files/no-x11.patch (limited to 'meta/packages/mtools/files') 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 @@ +--- + 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 -- cgit v1.2.3