xqt2: Switch to patchdir rather than applying in do_configure
authorTom Rini <tom_rini@mentor.com>
Thu, 31 Mar 2011 17:10:22 +0000 (10:10 -0700)
committerTom Rini <tom_rini@mentor.com>
Thu, 31 Mar 2011 17:22:41 +0000 (10:22 -0700)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/xqt2/xqt2_20060509.bb

index 627c917..3435b64 100644 (file)
@@ -20,26 +20,15 @@ SRC_URI = "cvs://anonymous@cvs.sourceforge.jp/cvsroot/xqt;module=xqt2;method=pse
         file://fephack.patch \
         file://xchar2b.patch \
         file://xqt-make.patch \ 
-        file://KeyMap.patch;apply=false \
-        file://moc_call.patch;apply=false \
-        file://fix_qtscreen_HACK.patch;apply=false \
-       file://fix_seqfault_qtscreen.patch;apply=false"
+        file://KeyMap.patch;patchdir=../xqt2 \
+        file://moc_call.patch;patchdir=../xqt2 \
+        file://fix_qtscreen_HACK.patch;patchdir=../xqt2 \
+       file://fix_seqfault_qtscreen.patch;patchdir=../xqt2"
 S = "${WORKDIR}/xc"
 
 QT_LIBRARY = '${@base_conditional("PALMTOP_USE_MULTITHREADED_QT", "yes", "qte-mt", "qte",d)}'
 QT_LIBRARY_append_c7x0 = " -laticore"
 
-do_patch_xqt2() {
-       # Apply xqt2 patches.
-       cd ${WORKDIR}/xqt2
-       patch -p1 -i ${WORKDIR}/KeyMap.patch
-       patch -p1 -i ${WORKDIR}/moc_call.patch
-       patch -p1 -i ${WORKDIR}/fix_qtscreen_HACK.patch
-       patch -p1 -i ${WORKDIR}/fix_seqfault_qtscreen.patch
-}
-
-addtask patch_xqt2 after do_unpack before do_configure
-
 do_configure() {
 
        #general config