libpipeline: Update to 1.5.0
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
|
||||
|
||||
pkgname=('libpipeline' 'libpipeline-devel')
|
||||
pkgver=1.4.1
|
||||
pkgver=1.5.0
|
||||
pkgrel=1
|
||||
pkgdesc="a C library for manipulating pipelines of subprocesses in a flexible and convenient way"
|
||||
url="http://libpipeline.nongnu.org/"
|
||||
@@ -11,25 +11,23 @@ license=('BSD')
|
||||
makedepends=('openssl-devel' 'zlib-devel')
|
||||
options=('!libtool')
|
||||
source=(https://download.savannah.gnu.org/releases/libpipeline/libpipeline-$pkgver.tar.gz{,.sig}
|
||||
libpipeline-1.4.1-update-gnulib.patch
|
||||
libpipeline-1.5.0-gnulib.patch
|
||||
libpipeline-1.4.1-msys2.patch)
|
||||
sha256sums=('da46d7b20163aadb9db2faae483f734e9096a7550c84b94029abeab62dd1b9ee'
|
||||
sha256sums=('0d72e12e4f2afff67fd7b9df0a24d7ba42b5a7c9211ac5b3dcccc5cd8b286f2b'
|
||||
'SKIP'
|
||||
'28f1d5b45822f4f7067650243f89fc6e25aa76d16212fa8997b794b91840750e'
|
||||
'c3fb29cd682b1d977aa896a9ee13e2bcd263754db7c625bd670dc9305747cec8')
|
||||
'0559526eecb02415f210c6c0d2b0a5b5694ffe8637b74840684433f8cdb1bd37'
|
||||
'ca3d2b15f0da4b593ca4a6b25b7555a96f3a565d75edf11b93cd97ca1b831265')
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname-$pkgver"
|
||||
patch -p1 -i ${srcdir}/libpipeline-1.4.1-update-gnulib.patch
|
||||
cd "${pkgname}-${pkgver}"
|
||||
patch -p1 -i ${srcdir}/libpipeline-1.5.0-gnulib.patch
|
||||
patch -p1 -i ${srcdir}/libpipeline-1.4.1-msys2.patch
|
||||
|
||||
# cp -rf build-aux/snippet ${srcdir}/
|
||||
autoreconf -fi
|
||||
# cp -rf ${srcdir}/snippet build-aux/
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
cd "${pkgname}-${pkgver}"
|
||||
|
||||
./configure --build=${CHOST} --prefix=/usr
|
||||
make
|
||||
@@ -37,7 +35,7 @@ build() {
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$pkgname-$pkgver"
|
||||
cd "${pkgname}-${pkgver}"
|
||||
make check
|
||||
}
|
||||
|
||||
|
||||
@@ -1,3 +1,16 @@
|
||||
diff -durN libpipeline-1.4.1.orig/build-aux/config.guess libpipeline-1.4.1/build-aux/config.guess
|
||||
--- libpipeline-1.4.1.orig/build-aux/config.guess 2017-05-17 10:35:06.968750000 +0800
|
||||
+++ libpipeline-1.4.1/build-aux/config.guess 2017-05-17 10:58:47.937500000 +0800
|
||||
@@ -891,6 +891,9 @@
|
||||
amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
|
||||
echo x86_64-unknown-cygwin
|
||||
exit ;;
|
||||
+ amd64:MSYS*:*:* | x86_64:MSYS*:*:*)
|
||||
+ echo x86_64-unknown-msys
|
||||
+ exit ;;
|
||||
p*:CYGWIN*:*)
|
||||
echo powerpcle-unknown-cygwin
|
||||
exit ;;
|
||||
diff -durN libpipeline-1.4.1.orig/build-aux/config.rpath libpipeline-1.4.1/build-aux/config.rpath
|
||||
--- libpipeline-1.4.1.orig/build-aux/config.rpath 2017-05-17 10:35:06.968750000 +0800
|
||||
+++ libpipeline-1.4.1/build-aux/config.rpath 2017-05-17 10:58:47.937500000 +0800
|
||||
@@ -46,45 +59,6 @@ diff -durN libpipeline-1.4.1.orig/build-aux/config.rpath libpipeline-1.4.1/build
|
||||
shrext=.dll
|
||||
library_names_spec='$libname.dll.a $libname.lib'
|
||||
;;
|
||||
diff -durN libpipeline-1.4.1.orig/configure libpipeline-1.4.1/configure
|
||||
--- libpipeline-1.4.1.orig/configure 2017-05-17 10:38:38.515625000 +0800
|
||||
+++ libpipeline-1.4.1/configure 2017-05-17 11:02:49.593750000 +0800
|
||||
@@ -15073,7 +15073,7 @@
|
||||
else
|
||||
case "$host_os" in
|
||||
osf*) gl_use_threads=no ;;
|
||||
- cygwin*)
|
||||
+ cygwin* | msys*)
|
||||
case `uname -r` in
|
||||
1.[0-5].*) gl_use_threads=no ;;
|
||||
*) gl_use_threads=yes ;;
|
||||
@@ -16185,7 +16185,7 @@
|
||||
# special semantics and is distinct from /, please report it to
|
||||
# <bug-gnulib@gnu.org>.
|
||||
case $host in
|
||||
- *-cygwin | i370-ibm-openedition)
|
||||
+ *-cygwin | *-msys | i370-ibm-openedition)
|
||||
gl_cv_double_slash_root=yes ;;
|
||||
*)
|
||||
# Be optimistic and assume that / and // are the same when we
|
||||
@@ -19252,7 +19252,7 @@
|
||||
case "$host_os" in
|
||||
# Guess yes on platforms where we know the result.
|
||||
*-gnu* | freebsd* | netbsd* | openbsd* \
|
||||
- | hpux* | solaris* | cygwin* | mingw*)
|
||||
+ | hpux* | solaris* | cygwin* | msys* | mingw*)
|
||||
ac_cv_func_malloc_0_nonnull=yes ;;
|
||||
# If we don't know, assume the worst.
|
||||
*) ac_cv_func_malloc_0_nonnull=no ;;
|
||||
@@ -22890,7 +22890,7 @@
|
||||
# special semantics and is distinct from /, please report it to
|
||||
# <bug-gnulib@gnu.org>.
|
||||
case $host in
|
||||
- *-cygwin | i370-ibm-openedition)
|
||||
+ *-cygwin | *-msys | i370-ibm-openedition)
|
||||
gl_cv_double_slash_root=yes ;;
|
||||
*)
|
||||
# Be optimistic and assume that / and // are the same when we
|
||||
diff -durN libpipeline-1.4.1.orig/gnulib/m4/double-slash-root.m4 libpipeline-1.4.1/gnulib/m4/double-slash-root.m4
|
||||
--- libpipeline-1.4.1.orig/gnulib/m4/double-slash-root.m4 2017-05-17 10:35:41.640625000 +0800
|
||||
+++ libpipeline-1.4.1/gnulib/m4/double-slash-root.m4 2017-05-17 11:04:32.203125000 +0800
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
14667
libpipeline/libpipeline-1.5.0-gnulib.patch
Normal file
14667
libpipeline/libpipeline-1.5.0-gnulib.patch
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user