From 0f686a5d1df211166f1ef9b3fe95144daec72919 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Mon, 3 May 2010 12:24:13 -0400 Subject: [PATCH] libx11: fixed cross compilationg by using HOSTCC to compile makekeys --- xorg/libx11/makekeys.patch.cross | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 xorg/libx11/makekeys.patch.cross diff --git a/xorg/libx11/makekeys.patch.cross b/xorg/libx11/makekeys.patch.cross new file mode 100644 index 000000000..4a2d0c64e --- /dev/null +++ b/xorg/libx11/makekeys.patch.cross @@ -0,0 +1,27 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../libx11/makekeys.patch.cross +# Copyright (C) 2010 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +--- ./src/util/Makefile.in.orig 2010-05-03 11:52:01.000000000 -0400 ++++ ./src/util/Makefile.in 2010-05-03 11:52:14.000000000 -0400 +@@ -55,7 +55,7 @@ + am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) + am__v_lt_0 = --silent + makekeys_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ +- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(makekeys_CFLAGS) \ ++ $(LIBTOOLFLAGS) --mode=link $(HOSTCC) $(makekeys_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ + DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src -I$(top_builddir)/include/X11 + depcomp = $(SHELL) $(top_srcdir)/depcomp