diff options
-rw-r--r-- | coda/sys-libs/lwp/Manifest | 3 | ||||
-rw-r--r-- | coda/sys-libs/lwp/files/lwp-2.4-imp_dec.patch | 11 | ||||
-rw-r--r-- | coda/sys-libs/lwp/lwp-2.4.ebuild | 9 |
3 files changed, 21 insertions, 2 deletions
diff --git a/coda/sys-libs/lwp/Manifest b/coda/sys-libs/lwp/Manifest index 1c4509a..9b1db13 100644 --- a/coda/sys-libs/lwp/Manifest +++ b/coda/sys-libs/lwp/Manifest @@ -1,3 +1,4 @@ +AUX lwp-2.4-imp_dec.patch 349 RMD160 ea2f865f59e702d030688393003a34eb65638b1f SHA1 b942f0f96c80e14a832568e0673d8890693a2be2 SHA256 397618636b439217f784cf0ed3f0935fc07dd652351fed5cf01521197b826747 DIST lwp-2.4.tar.gz 386511 RMD160 963786da9e39ad2182df3994ff8b4050f30d4cd6 SHA1 c15064a9b5991db14cd00ea0bd8528559a28f57b SHA256 2905ea436d6a9bdd18487e05e2cd253d49d98ec18c662a45310b3a2d913b76c9 -EBUILD lwp-2.4.ebuild 612 RMD160 edd2f2d65ccb6d52e7a8efb54b8923a47400f38b SHA1 becd27ea2b057b8f5ca67dfbb0ea908fee6f9664 SHA256 18a42f34299e39f11656ade317d5fc75e178208ac5fce74b3e4e3dd903229504 +EBUILD lwp-2.4.ebuild 703 RMD160 f68d93599dee71bd8e7012c240e3fd5173e003bb SHA1 1cc9bb1b62aee18fd353f5345e2da14c4394b6bc SHA256 24819562ca3b7191cb3b26cfc4c5e6affaf458ad183bfc9838758b6e298cf71c MISC metadata.xml 250 RMD160 6aa4816072481129f87c0eb8a85c6a15287da965 SHA1 a8f9a0fb13692c19c95e700e32796c147c6c7804 SHA256 1ed32cc76b9bd8664c2bfd7d84f4186b444d5d39659b40523d0bc27e0ebb9846 diff --git a/coda/sys-libs/lwp/files/lwp-2.4-imp_dec.patch b/coda/sys-libs/lwp/files/lwp-2.4-imp_dec.patch new file mode 100644 index 0000000..2158f5b --- /dev/null +++ b/coda/sys-libs/lwp/files/lwp-2.4-imp_dec.patch @@ -0,0 +1,11 @@ +--- lwp-2.4/src/lwp_ucontext.c 2006-07-19 21:52:24.000000000 +0200 ++++ lwp-2.4/src/lwp_ucontext.c 2008-07-12 19:01:57.865778827 +0200 +@@ -18,6 +18,8 @@ + #include <stdlib.h> + #include <assert.h> + #include <stdarg.h> ++#include <string.h> ++#include <unistd.h> + #include "lwp_ucontext.h" + + /* if we already have ucontext.h we don't need any of this */ diff --git a/coda/sys-libs/lwp/lwp-2.4.ebuild b/coda/sys-libs/lwp/lwp-2.4.ebuild index 123ee39..23ae4e6 100644 --- a/coda/sys-libs/lwp/lwp-2.4.ebuild +++ b/coda/sys-libs/lwp/lwp-2.4.ebuild @@ -5,7 +5,7 @@ WANT_AUTOCONF="latest" WANT_AUTOMAKE="latest" -inherit autotools +inherit autotools eutils KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" @@ -19,6 +19,13 @@ IUSE="" DEPEND="" RDEPEND="" +src_unpack() { + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}/${P}-imp_dec.patch" +} + src_install() { emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS NEWS PORTING README |