[arch-commits] Commit in dhcpcd/trunk (PKGBUILD queue_from_compat.patch)

Anatol Pomozov anatolik at archlinux.org
Fri Apr 8 23:38:45 UTC 2016


    Date: Saturday, April 9, 2016 @ 01:38:45
  Author: anatolik
Revision: 264240

upgpkg: dhcpcd 6.10.2-1

Added:
  dhcpcd/trunk/queue_from_compat.patch
Modified:
  dhcpcd/trunk/PKGBUILD

-------------------------+
 PKGBUILD                |   13 ++++++++++---
 queue_from_compat.patch |   13 +++++++++++++
 2 files changed, 23 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-04-08 21:55:25 UTC (rev 264239)
+++ PKGBUILD	2016-04-08 23:38:45 UTC (rev 264240)
@@ -4,7 +4,7 @@
 # Contributor: Judd Vinet <jvinet.zeroflux.org>
 
 pkgname=dhcpcd
-pkgver=6.10.1
+pkgver=6.10.2
 pkgrel=1
 pkgdesc="RFC2131 compliant DHCP client daemon"
 url="http://roy.marples.name/projects/dhcpcd/"
@@ -16,12 +16,19 @@
 backup=('etc/dhcpcd.conf')
 options=('emptydirs')  # We Need the Empty /var/lib/dhcpcd Directory
 source=("http://roy.marples.name/downloads/$pkgname/$pkgname-$pkgver.tar.xz"
+        'queue_from_compat.patch'
         'dhcpcd_.service'
-		'dhcpcd.service')
-sha1sums=('bb37e0211858df8a919c494e14a6bbfb67b1f72c'
+        'dhcpcd.service')
+sha1sums=('1ee99eb0319552f6b5f92d5ba85902f03776519b'
+          '393f02700d0078862a461a1fbdeac1542791749b'
           '6f1633edde14d29b5cdc09c4f029a450ef2ebc96'
           '52c1bad9ab43e9a253c1eb175e7eefb13497b8f9')
 
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -p1 < ../queue_from_compat.patch
+}
+
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
 

Added: queue_from_compat.patch
===================================================================
--- queue_from_compat.patch	                        (rev 0)
+++ queue_from_compat.patch	2016-04-08 23:38:45 UTC (rev 264240)
@@ -0,0 +1,13 @@
+diff --git a/eloop.c b/eloop.c
+index e3a748d..c87a226 100644
+--- a/eloop.c
++++ b/eloop.c
+@@ -132,7 +132,7 @@
+ #define _QUEUE_HEADER(x) __QUEUE_HEADER(x)
+ #include _QUEUE_HEADER(QUEUE_H)
+ #else
+-#include "queue.h"
++#include "compat/queue.h"
+ #endif
+ #endif
+ 



More information about the arch-commits mailing list