[Frugalware-git] frugalware-current: trickle-1.07-6-i686

Miklos Vajna vmiklos at frugalware.org
Wed Aug 10 00:18:38 CEST 2011


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=66f504e1538ce0a13b2be4914ab75e85b3253dd9

commit 66f504e1538ce0a13b2be4914ab75e85b3253dd9
Author: Miklos Vajna <vmiklos at frugalware.org>
Date:   Tue Aug 9 23:02:23 2011 +0200

trickle-1.07-6-i686

- add missing netdb.h includes

diff --git a/source/network-extra/trickle/FrugalBuild b/source/network-extra/trickle/FrugalBuild
index e65b3b6..f1349eb 100644
--- a/source/network-extra/trickle/FrugalBuild
+++ b/source/network-extra/trickle/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=trickle
pkgver=1.07
-pkgrel=5
+pkgrel=6
pkgdesc="a portable lightweight userspace bandwidth shaper"
url="http://monkey.org/~marius/pages/?page=trickle"
depends=('libevent>=2.0.10' 'grep')
@@ -11,7 +11,8 @@ groups=('network-extra')
archs=('i686' 'x86_64')
#up2date="lynx -dump http://monkey.org/~marius/pages/?page=trickle | grep -m1 'http.*tar.gz' | sed 's/.*trickle-\(.*\)\.tar.*/\1/'"
up2date=$pkgver
-source=(http://monkey.org/~marius/$pkgname/$pkgname-$pkgver.tar.gz allow_autoreconf.patch headers.patch)
+source=(http://monkey.org/~marius/$pkgname/$pkgname-$pkgver.tar.gz allow_autoreconf.patch headers.patch \
+	trickle-1.07-include_netdb.patch)

build()
{
@@ -23,6 +24,7 @@ build()
}
sha1sums=('fb524ef3ef1944ad5863312dfc235cbf802efa30' \
'085448f72c511ccbd98bb43fddb912bfa7c7a8f3' \
-          '27f71fc47e3c633b1eaa24f898a0b1f9cec19716')
+          '27f71fc47e3c633b1eaa24f898a0b1f9cec19716' \
+          'eb5209507f539598665272c1f99fa043e38f78a5')

# optimization OK
diff --git a/source/network-extra/trickle/trickle-1.07-include_netdb.patch b/source/network-extra/trickle/trickle-1.07-include_netdb.patch
new file mode 100644
index 0000000..1d4528d
--- /dev/null
+++ b/source/network-extra/trickle/trickle-1.07-include_netdb.patch
@@ -0,0 +1,56 @@
+diff -up trickle-1.06/client.c.include_netdb trickle-1.06/client.c
+--- trickle-1.06/client.c.include_netdb	2003-05-09 04:16:42.000000000 +0200
++++ trickle-1.06/client.c	2008-06-07 17:16:50.000000000 +0200
+@@ -6,7 +6,7 @@
+  *
+  * $Id: client.c,v 1.14 2003/05/09 02:16:42 marius Exp $
+  */
+-
++#include <netdb.h>
+ #include <sys/types.h>
+
+ #ifdef HAVE_CONFIG_H
+diff -up trickle-1.06/tricklectl.c.include_netdb trickle-1.06/tricklectl.c
+--- trickle-1.06/tricklectl.c.include_netdb	2003-06-03 01:13:28.000000000 +0200
++++ trickle-1.06/tricklectl.c	2008-06-07 17:18:01.000000000 +0200
+@@ -6,7 +6,7 @@
+  *
+  * $Id: tricklectl.c,v 1.4 2003/06/02 23:13:28 marius Exp $
+  */
+-
++#include <netdb.h>
+ #include <sys/types.h>
+
+ #ifdef HAVE_CONFIG_H
+diff -up trickle-1.06/trickled.c.include_netdb trickle-1.06/trickled.c
+--- trickle-1.06/trickled.c.include_netdb	2003-05-09 04:16:42.000000000 +0200
++++ trickle-1.06/trickled.c	2008-06-07 17:16:34.000000000 +0200
+@@ -13,6 +13,7 @@
+  *   initial spike
+  */
+
++#include <netdb.h>
+ #include <sys/types.h>
+
+ #ifdef HAVE_CONFIG_H
+--- trickle-1.07/trickledu.c.old        2008-08-29 04:19:47.000000000 +0300
++++ trickle-1.07/trickledu.c    2008-08-29 04:20:37.000000000 +0300
+@@ -7,6 +7,7 @@
+  * $Id: trickledu.c,v 1.16 2004/02/13 06:11:21 marius Exp $
+  */
+
++#include <netdb.h>
+ #include <sys/types.h>
+
+ #ifdef HAVE_CONFIG_H
+diff -up trickle-1.06/trickle-overload.c.include_netdb trickle-1.06/trickle-overload.c
+--- trickle-1.06/trickle-overload.c.include_netdb	2003-06-03 01:13:28.000000000 +0200
++++ trickle-1.06/trickle-overload.c	2008-06-07 17:21:51.000000000 +0200
+@@ -10,6 +10,7 @@
+ /* Ick.  linux sucks. */
+ #define _GNU_SOURCE
+
++#include <netdb.h>
+ #include <sys/types.h>
+
+ #ifdef HAVE_CONFIG_H


More information about the Frugalware-git mailing list