aboutsummaryrefslogtreecommitdiff
path: root/package/x11r7/xlib_libXt/0001-util-don-t-link-makestrs-with-target-cflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/x11r7/xlib_libXt/0001-util-don-t-link-makestrs-with-target-cflags.patch')
-rw-r--r--package/x11r7/xlib_libXt/0001-util-don-t-link-makestrs-with-target-cflags.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/package/x11r7/xlib_libXt/0001-util-don-t-link-makestrs-with-target-cflags.patch b/package/x11r7/xlib_libXt/0001-util-don-t-link-makestrs-with-target-cflags.patch
index 692d03b31f..ccc684fc73 100644
--- a/package/x11r7/xlib_libXt/0001-util-don-t-link-makestrs-with-target-cflags.patch
+++ b/package/x11r7/xlib_libXt/0001-util-don-t-link-makestrs-with-target-cflags.patch
@@ -11,11 +11,6 @@ in util/Makefile.am is wrong because it adds target cflags to the
compilation of makestrs, which is built for the build machine, which
leads to build failures when cross-compiling.
-We also remove the inclusion of <X11/Xos.h> from makestrs.c, because
-it was the only non-standard header being included (and therefore
-possibly requiring special cflags), but it was in reality not useful
-at all to build makestrs.c.
-
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
util/Makefile.am | 1 -
@@ -34,17 +29,5 @@ index dedfa6b..cc6f3fc 100644
makestrs_SOURCES = makestrs.c
-diff --git a/util/makestrs.c b/util/makestrs.c
-index a52866a..00c861f 100644
---- a/util/makestrs.c
-+++ b/util/makestrs.c
-@@ -27,7 +27,6 @@ in this Software without prior written authorization from The Open Group.
- /* Constructs string definitions */
-
- #include <stdio.h>
--#include <X11/Xos.h>
- #include <stdlib.h>
- #include <unistd.h>
-
--
1.7.9.5