summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/mtools/files/no-x11.patch19
-rw-r--r--meta/packages/mtools/mtools_3.9.9.bb5
2 files changed, 22 insertions, 2 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
diff --git a/meta/packages/mtools/mtools_3.9.9.bb b/meta/packages/mtools/mtools_3.9.9.bb
index 29132c6421..235df5cd12 100644
--- a/meta/packages/mtools/mtools_3.9.9.bb
+++ b/meta/packages/mtools/mtools_3.9.9.bb
@@ -5,12 +5,13 @@
5DESCRIPTION="Mtools is a collection of utilities for accessing MS-DOS disks from Unix without mounting them." 5DESCRIPTION="Mtools is a collection of utilities for accessing MS-DOS disks from Unix without mounting them."
6HOMEPAGE="http://mtools.linux.lu" 6HOMEPAGE="http://mtools.linux.lu"
7LICENSE="GPL" 7LICENSE="GPL"
8PR = "r2" 8PR = "r3"
9 9
10#http://mtools.linux.lu/mtools-${PV}.tar.gz 10#http://mtools.linux.lu/mtools-${PV}.tar.gz
11SRC_URI="http://folks.o-hand.com/richard/poky/sources/mtools-${PV}.tar.gz \ 11SRC_URI="http://folks.o-hand.com/richard/poky/sources/mtools-${PV}.tar.gz \
12 file://mtools-makeinfo.patch;patch=1 \ 12 file://mtools-makeinfo.patch;patch=1 \
13 file://mtools.patch;patch=1" 13 file://mtools.patch;patch=1 \
14 file://no-x11.patch;patch=1"
14 15
15#DEPENDS = "tetex-native" 16#DEPENDS = "tetex-native"
16 17