tk 8.4.19: Rework disable-xim.patch
authorTom Rini <tom_rini@mentor.com>
Wed, 16 Mar 2011 18:48:17 +0000 (11:48 -0700)
committerTom Rini <tom_rini@mentor.com>
Wed, 16 Mar 2011 19:13:50 +0000 (12:13 -0700)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/tcltk/files/disable-xim.patch
recipes/tcltk/tk_8.4.19.bb

index bc11d3b..d88aa7c 100644 (file)
@@ -3,8 +3,8 @@
 # Patch managed by http://www.holgerschurig.de/patcher.html
 #
 
---- ../generic/tk.h~disable-xim
-+++ ../generic/tk.h
+--- generic/tk.h~disable-xim
++++ generic/tk.h
 @@ -109,9 +109,9 @@
   * Decide whether or not to use input methods.
   */
index 68a8925..8d9293a 100644 (file)
@@ -3,11 +3,11 @@ LICENSE = "tcl"
 SECTION = "devel/tcltk"
 HOMEPAGE = "http://tcl.sourceforge.net"
 DEPENDS = "tcl virtual/libx11 libxt"
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "\
   ${SOURCEFORGE_MIRROR}/tcl/tk${PV}-src.tar.gz \
-  file://disable-xim.patch;striplevel=0 \
+  file://disable-xim.patch;apply=false \
   file://tk-add-soname.patch;striplevel=2 \
 #  file://fix-configure.patch;striplevel=2 \
 "
@@ -23,6 +23,7 @@ EXTRA_OECONF = "\
 "
 
 do_configure() {
+       (cd .. ; patch -p0 -i ${WORKDIR}/disable-xim.patch)
        gnu-configize
        oe_runconf
 }