http://bugs.openembedded.org/show_bug.cgi?id=1086


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[EMAIL PROTECTED]
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from [EMAIL PROTECTED]  2006-06-29 14:46 -------
--- packages/pth/pth_2.0.7.bb
+++ packages/pth/pth_2.0.7.bb   e92f3ff04ca1587e1e92a82513e295b4915a9a2e
@@ -0,0 +1,30 @@
+DESCRIPTION = "GNU Portable Threads"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "GPL LGPL FDL"
+PR = "r0"
+
+SRC_URI = "${GNU_MIRROR}/pth/pth-${PV}.tar.gz \
+                               file://${PN}_${PV}/pth-stupidity.patch;patch=1"
+
+PARALLEL_MAKE=""
+
+inherit autotools
+
+do_configure() {
+       gnu-configize
+       oe_runconf
+}
+
+do_stage() {
+       oe_libinstall -so libpth ${STAGING_LIBDIR}
+
+       install -d ${STAGING_INCDIR}/
+       for X in pth.h
+       do
+               install -m 0644 ${S}/$X ${STAGING_INCDIR}/$X
+       done
+
+       install -d ${STAGING_DATADIR}/aclocal
+       install pth.m4 ${STAGING_DATADIR}/aclocal/
+}
============================================================
--- packages/pth/pth_2.0.7/pth-stupidity.patch
+++ packages/pth/pth_2.0.7/pth-stupidity.patch 
127a4f24ffa9b8a5b2f79557277ca9a43dca0572
@@ -0,0 +1,23 @@
+diff -u -urN pth-2.0.7/pth_acmac.h.in pth-2.0.7-patched/pth_acmac.h.in
+--- pth-2.0.7/pth_acmac.h.in   2006-06-08 13:54:03.000000000 -0400
++++ pth-2.0.7-patched/pth_acmac.h.in   2006-06-29 16:54:18.000000000 -0400
+@@ -44,7 +44,7 @@
+ /* mctx compile defines */
+ #define PTH_MCTX_MTH(which)  (PTH_MCTX_MTH_use == (PTH_MCTX_MTH_##which))
+ #define PTH_MCTX_DSP(which)  (PTH_MCTX_DSP_use == (PTH_MCTX_DSP_##which))
+-#define PTH_MCTX_STK(which)  (PTH_MCTX_STK_use == (PTH_MCTX_STK_##which))
++#define PTH_MCTX_STK(which)  (PTH_MCTX_STK_##which == 3)
+ #define PTH_MCTX_MTH_mcsc    1
+ #define PTH_MCTX_MTH_sjlj    2
+ #define PTH_MCTX_DSP_sc      1
+diff -u -urN pth-2.0.7/pth_mctx.c pth-2.0.7-patched/pth_mctx.c
+--- pth-2.0.7/pth_mctx.c       2006-06-08 13:54:03.000000000 -0400
++++ pth-2.0.7-patched/pth_mctx.c       2006-06-29 16:33:26.000000000 -0400
+@@ -178,7 +178,6 @@
+ }
+
+ #elif PTH_MCTX_MTH(sjlj)     &&\
+-      !PTH_MCTX_DSP(sjljlx)  &&\
+       !PTH_MCTX_DSP(sjljisc) &&\
+       !PTH_MCTX_DSP(sjljw32)
+


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe

Reply via email to