summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2004-02-09 01:20:56 +0000
committerSteve Arnold <nerdboy@gentoo.org>2004-02-09 01:20:56 +0000
commitbdc5c08d0dfb4953d2fb49817af61275c480f239 (patch)
treefa7ec0868dcc63a6af0bda048a638110f85d7dbe /dev-libs
parentfix install #40903 (diff)
downloadhistorical-bdc5c08d0dfb4953d2fb49817af61275c480f239.tar.gz
historical-bdc5c08d0dfb4953d2fb49817af61275c480f239.tar.bz2
historical-bdc5c08d0dfb4953d2fb49817af61275c480f239.zip
added fix for 2.6.1 kernel header time.h borkage
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/pwlib/ChangeLog10
-rw-r--r--dev-libs/pwlib/Manifest5
-rw-r--r--dev-libs/pwlib/files/digest-pwlib-1.5.0-r11
-rw-r--r--dev-libs/pwlib/files/pwlib-1.5.0-r1-gentoo.diff11
-rw-r--r--dev-libs/pwlib/pwlib-1.5.0-r1.ebuild86
5 files changed, 110 insertions, 3 deletions
diff --git a/dev-libs/pwlib/ChangeLog b/dev-libs/pwlib/ChangeLog
index a7c98be2b114..544addc5c94e 100644
--- a/dev-libs/pwlib/ChangeLog
+++ b/dev-libs/pwlib/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/pwlib
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/ChangeLog,v 1.35 2003/11/13 01:34:28 stkn Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/ChangeLog,v 1.36 2004/02/09 01:20:43 nerdboy Exp $
+
+*pwlib-1.5.0-r1 (08 Feb 2004)
+
+ 08 Feb 2004; <nerdboy@gentoo.org> pwlib-1.5.0-r1.ebuild,
+ files/pwlib-1.5.0-r1-gentoo.diff:
+ added fix for 2.6.1 kernel header time.h bug
*pwlib-1.5.2-r2 (13 Nov 2003)
diff --git a/dev-libs/pwlib/Manifest b/dev-libs/pwlib/Manifest
index d23fd8fb2862..ec368e1ee62b 100644
--- a/dev-libs/pwlib/Manifest
+++ b/dev-libs/pwlib/Manifest
@@ -1,4 +1,4 @@
-MD5 a6d2032e5aad2ebecb9b5e800e3eb32c ChangeLog 5865
+MD5 cef57361037afa9108a16358eada0283 ChangeLog 6042
MD5 e7e31f6f265883cdf48d812f42a9f856 metadata.xml 235
MD5 cf67ce380e520dbf4e74b4375b91f836 pwlib-1.3.11-r1.ebuild 1833
MD5 831c830fc0d487862adc7c2f120dac16 pwlib-1.4.11.ebuild 2176
@@ -6,6 +6,7 @@ MD5 cbb68eeacb356c629066c5946cf5583a pwlib-1.5.0.ebuild 2320
MD5 066519e5f88902c4031851d8fb67fb17 pwlib-1.5.2.ebuild 2608
MD5 5b2dc26c8157358ca5fb2a395a30bf27 pwlib-1.5.2-r1.ebuild 2769
MD5 447b41f5fec0c72d9b88ce40c60f55c8 pwlib-1.5.2-r2.ebuild 2963
+MD5 fbbfbcada209826765af251cdc821afa pwlib-1.5.0-r1.ebuild 2402
MD5 0c5d290a2ad15d1e8b2ae85365a83bd6 files/digest-pwlib-1.3.11-r1 64
MD5 c1a54c4c742e40812c02bea08e570604 files/digest-pwlib-1.4.11 64
MD5 67bcec54ffa82d8da3b0c0e2f23daf7e files/digest-pwlib-1.5.0 64
@@ -13,3 +14,5 @@ MD5 4fc6a7891d23db3dc2837f825afa2324 files/digest-pwlib-1.5.2 64
MD5 91035c6391e112595e0003cebda275f6 files/pwlib-1.3.11-r1.diff 2260
MD5 4fc6a7891d23db3dc2837f825afa2324 files/digest-pwlib-1.5.2-r1 64
MD5 4fc6a7891d23db3dc2837f825afa2324 files/digest-pwlib-1.5.2-r2 64
+MD5 67bcec54ffa82d8da3b0c0e2f23daf7e files/digest-pwlib-1.5.0-r1 64
+MD5 0a9a8c5a1417127269e2e0f24ded1b2c files/pwlib-1.5.0-r1-gentoo.diff 391
diff --git a/dev-libs/pwlib/files/digest-pwlib-1.5.0-r1 b/dev-libs/pwlib/files/digest-pwlib-1.5.0-r1
new file mode 100644
index 000000000000..509017bde7b6
--- /dev/null
+++ b/dev-libs/pwlib/files/digest-pwlib-1.5.0-r1
@@ -0,0 +1 @@
+MD5 e6bcdd121a85687c040f4871f24b7352 pwlib_1.5.0.tar.gz 1074311
diff --git a/dev-libs/pwlib/files/pwlib-1.5.0-r1-gentoo.diff b/dev-libs/pwlib/files/pwlib-1.5.0-r1-gentoo.diff
new file mode 100644
index 000000000000..8f6d056323ce
--- /dev/null
+++ b/dev-libs/pwlib/files/pwlib-1.5.0-r1-gentoo.diff
@@ -0,0 +1,11 @@
+--- include/ptlib/unix/ptlib/videoio.h.orig 2003-01-06 10:41:08.000000000 -0800
++++ include/ptlib/unix/ptlib/videoio.h 2004-02-08 15:56:51.781845630 -0800
+@@ -101,6 +101,8 @@
+
+ #ifndef _PVIDEOIO
+
++/* update for 2.6.1 kernel headers */
++#include <sys/time.h>
+
+ #if defined(P_LINUX) && !defined(NO_VIDEO_CAPTURE)
+ #include <linux/videodev.h> /* change this to "videodev2.h" for v4l2 */
diff --git a/dev-libs/pwlib/pwlib-1.5.0-r1.ebuild b/dev-libs/pwlib/pwlib-1.5.0-r1.ebuild
new file mode 100644
index 000000000000..42fbd2def121
--- /dev/null
+++ b/dev-libs/pwlib/pwlib-1.5.0-r1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.5.0-r1.ebuild,v 1.1 2004/02/09 01:20:43 nerdboy Exp $
+
+DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323"
+HOMEPAGE="http://www.openh323.org/"
+SRC_URI="http://www.openh323.org/bin/${PN}_${PV}.tar.gz"
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc -sparc"
+IUSE="ssl sdl"
+
+DEPEND=">=sys-devel/bison-1.28
+ >=sys-devel/flex-2.5.4a
+ dev-libs/expat
+ >=sys-apps/sed-4
+ ldap? ( net-nds/openldap )
+ sdl? ( media-libs/libsdl )
+ ssl? ( dev-libs/openssl )"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/make
+
+ # filter out -O3 and -mcpu embedded compiler flags
+ sed -i \
+ -e "s:-mcpu=\$(CPUTYPE)::" \
+ -e "s:-O3 -DNDEBUG:-DNDEBUG:" \
+ unix.mak
+ cd ${S}
+ epatch ${FILESDIR}/pwlib-1.5.0-r1-gentoo.patch || die "patch failed"
+}
+
+src_compile() {
+ if [ "`use ssl`" ]; then
+ export OPENSSLFLAG=1
+ export OPENSSLDIR=/usr
+ export OPENSSLLIBS="-lssl -lcrypt"
+ fi
+
+ econf || die "configure failed"
+
+ # horrible hack to strip out -L/usr/lib to allow upgrades
+ # problem is it adds -L/usr/lib before -L${S} when SSL is enabled
+ sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" ${S}/make/ptbuildopts.mak
+ sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" ${S}/make/ptlib-config
+
+ make opt || die "make failed"
+}
+
+src_install() {
+ # make these because the makefile isn't smart enough
+ dodir /usr/bin /usr/lib /usr/share /usr/include
+ make PREFIX=${D}/usr install || die "install failed"
+
+ # these are for compiling openh323
+ # NOTE: symlinks don't work when upgrading
+ # FIXME: probably should fix this with ptlib-config
+ dodir /usr/share/pwlib/include
+ cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include
+
+ dodir /usr/share/pwlib/lib
+ for x in ${D}/usr/lib/*; do
+ dosym /usr/lib/`basename ${x}` /usr/share/pwlib/lib/`basename ${x}`
+ done
+
+ # remove CVS dirs
+ find ${D} -name CVS -type d | xargs rm -rf
+
+ # fix symlink
+ rm ${D}/usr/lib/libpt.so
+ if [ ${ARCH} = "ppc" ] ; then
+ dosym /usr/lib/libpt_linux_ppc_r.so.${PV} /usr/lib/libpt.so
+ else
+ dosym /usr/lib/libpt_linux_x86_r.so.${PV} /usr/lib/libpt.so
+ fi
+
+ # strip ${S} stuff
+ dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config
+ dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak
+
+ dodoc ReadMe.txt History.txt
+}