From 3cea2d77fac1d4a62bc315d5c325076a97462486 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Tue, 7 Aug 2012 10:59:39 -0500
Subject: libpipeline 1.2.1 new glibc patch

---
 abs/core/libpipeline/PKGBUILD    | 32 ++++++++++++++++++++++++++++++++
 abs/core/libpipeline/__changelog |  2 ++
 2 files changed, 34 insertions(+)
 create mode 100644 abs/core/libpipeline/PKGBUILD
 create mode 100644 abs/core/libpipeline/__changelog

diff --git a/abs/core/libpipeline/PKGBUILD b/abs/core/libpipeline/PKGBUILD
new file mode 100644
index 0000000..4ba224b
--- /dev/null
+++ b/abs/core/libpipeline/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 160243 2012-05-31 15:59:08Z andyrtr $
+# Maintainer: Andreas Radke <andyrtr@archlinux.org>
+
+pkgname=libpipeline
+pkgver=1.2.1
+pkgrel=1
+pkgdesc="a C library for manipulating pipelines of subprocesses in a flexible and convenient way"
+arch=('i686' 'x86_64')
+url="http://libpipeline.nongnu.org/"
+license=('GPL')
+depends=('glibc')
+options=('!libtool')
+source=(http://download.savannah.gnu.org/releases/libpipeline/$pkgname-$pkgver.tar.gz)
+md5sums=('20896c919eca4acb3d2f13012fb7ba02')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  sed -i '/gets is a security hole/d'  gnulib/lib/stdio.in.h
+
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make -k check
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" install
+}
diff --git a/abs/core/libpipeline/__changelog b/abs/core/libpipeline/__changelog
new file mode 100644
index 0000000..e43f0c1
--- /dev/null
+++ b/abs/core/libpipeline/__changelog
@@ -0,0 +1,2 @@
+ '/gets is a security hole/d'  gnulib/lib/stdio.in.h
+
-- 
cgit v0.12

