Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=de03c7340504e4e16ce378e9e3af07336d5d784f
commit de03c7340504e4e16ce378e9e3af07336d5d784f Author: DeX77 <[email protected]> Date: Mon Jan 6 14:24:13 2014 +0100 wvstreams-4.6.1-2-x86_64 * rebuilt after readline bump + added patches to build + added option asneeded diff --git a/source/network/wvstreams/FrugalBuild b/source/network/wvstreams/FrugalBuild index 73cb95f..53c8a7a 100644 --- a/source/network/wvstreams/FrugalBuild +++ b/source/network/wvstreams/FrugalBuild @@ -2,18 +2,23 @@ # Maintainer: voroskoi <[email protected]> # Contributor: Karoly CZOVEK <[email protected]> +options+=('asneeded') + pkgname=wvstreams pkgver=4.6.1 -pkgrel=1 +pkgrel=2 pkgdesc="A network programming library in C++" groups=('network') archs=('i686' 'x86_64') -depends=('openssl>=1.0.0' 'dbus') +depends=('openssl>=1.0.0' 'dbus' 'readline>=6.2') makedepends=('tcl' 'tk') -url="http://alumnit.ca/wiki/?DownloadReleases" -up2date="lynx -dump -nolist 'http://alumnit.ca/wiki/?DownloadReleases'|grep 'wvstreams-\(.*\).tar.gz'|sed 's/.*-\(.*\).tar.*$/\1/'" -source=(http://wvstreams.googlecode.com/files/$pkgname-$pkgver.tar.gz) -sha1sums=('1431efc3f46a13b6a8dbcad4123e19473369f767') +sha1sums=('1431efc3f46a13b6a8dbcad4123e19473369f767' \ + 'b2ad703177a6b63069a93bf1aa747a910fdf9ade' \ + '366c599b28c39a3f0c31ad67d7e38d7e0d37960b') +Finclude googlecode +source=("${source}" \ + wvstreams-4.6.1-gcc47.patch\ + wvstreams-4.6.1-glibc212.patch) build() { unset MAKEFLAGS diff --git a/source/network/wvstreams/wvstreams-4.6.1-gcc47.patch b/source/network/wvstreams/wvstreams-4.6.1-gcc47.patch new file mode 100644 index 0000000..3d67048 --- /dev/null +++ b/source/network/wvstreams/wvstreams-4.6.1-gcc47.patch @@ -0,0 +1,10 @@ +--- wvstreams-4.6.1-dist/include/wvuid.h 2012-01-05 10:18:58.713661236 +0100 ++++ wvstreams-4.6.1/include/wvuid.h 2012-01-05 10:27:42.198435328 +0100 +@@ -7,6 +7,7 @@ + #ifndef __WVUID_H + #define __WVUID_H + ++#include <unistd.h> + #include "wvstring.h" + + #if WIN32 diff --git a/source/network/wvstreams/wvstreams-4.6.1-glibc212.patch b/source/network/wvstreams/wvstreams-4.6.1-glibc212.patch new file mode 100644 index 0000000..473d3e8 --- /dev/null +++ b/source/network/wvstreams/wvstreams-4.6.1-glibc212.patch @@ -0,0 +1,23 @@ +http://bugs.gentoo.org/333301 + +--- ipstreams/wvunixdgsocket.cc ++++ ipstreams/wvunixdgsocket.cc +@@ -1,5 +1,5 @@ + #include "wvunixdgsocket.h" +-#ifdef MACOS ++#if defined(MACOS) || defined(__GNUC__) + #include <sys/types.h> + #include <sys/stat.h> + #endif +--- streams/wvatomicfile.cc ++++ streams/wvatomicfile.cc +@@ -11,7 +11,8 @@ + #include "wvfileutils.h" + #include "wvstrutils.h" + +-#ifdef MACOS ++#if defined(MACOS) || defined(__GNUC__) ++#include <sys/types.h> + #include <sys/stat.h> + #endif + _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
