[arch-commits] Commit in newsbeuter/trunk (PKGBUILD newsbeuter-2.9-ncursesw6.patch)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Tue Sep 8 09:43:23 UTC 2015


    Date: Tuesday, September 8, 2015 @ 11:43:23
  Author: bpiotrowski
Revision: 139583

Fix compilation with ncurses 6

Added:
  newsbeuter/trunk/newsbeuter-2.9-ncursesw6.patch
Modified:
  newsbeuter/trunk/PKGBUILD

--------------------------------+
 PKGBUILD                       |   13 ++++++++++---
 newsbeuter-2.9-ncursesw6.patch |   27 +++++++++++++++++++++++++++
 2 files changed, 37 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-08 09:16:43 UTC (rev 139582)
+++ PKGBUILD	2015-09-08 09:43:23 UTC (rev 139583)
@@ -14,9 +14,16 @@
 optdepends=('ruby')
 install=$pkgname.install
 changelog=$pkgname.changelog
-source=(http://www.newsbeuter.org/downloads/$pkgname-$pkgver.tar.gz)
-sha256sums=('74a8bf019b09c3b270ba95adc29f2bbe48ea1f55cc0634276b21fcce1f043dc8')
+source=(http://www.newsbeuter.org/downloads/$pkgname-$pkgver.tar.gz
+        newsbeuter-2.9-ncursesw6.patch)
+sha256sums=('74a8bf019b09c3b270ba95adc29f2bbe48ea1f55cc0634276b21fcce1f043dc8'
+            'ad71da87d9325eaa2fa8dad2914c3d9ffd60e52ec2f1e564bfeb772edbf1e812')
 
+prepare() {
+  cd ${srcdir}/$pkgname-$pkgver
+  patch -p1 -i ../newsbeuter-2.9-ncursesw6.patch
+}
+
 build() {
   cd ${srcdir}/$pkgname-$pkgver
 
@@ -28,6 +35,6 @@
 
   make prefix=/usr DESTDIR=$pkgdir install
 
-#license
+  #license
   install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
 }

Added: newsbeuter-2.9-ncursesw6.patch
===================================================================
--- newsbeuter-2.9-ncursesw6.patch	                        (rev 0)
+++ newsbeuter-2.9-ncursesw6.patch	2015-09-08 09:43:23 UTC (rev 139583)
@@ -0,0 +1,27 @@
+From 7eed4bf5938cf912348362f4dc08844af536f740 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Bart=C5=82omiej=20Piotrowski?= <b at bpiotrowski.pl>
+Date: Tue, 8 Sep 2015 11:39:42 +0200
+Subject: [PATCH] config.sh: check for ncursesw6
+
+---
+ config.sh | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/config.sh b/config.sh
+index a9f0081..916908c 100755
+--- a/config.sh
++++ b/config.sh
+@@ -110,7 +110,9 @@ check_pkg "stfl" || fail "stfl"
+ if [ `uname -s` = "Darwin" ]; then
+ 	check_custom "ncurses5.4" "ncurses5.4-config" || fail "ncurses5.4"
+ elif [ `uname -s` != "OpenBSD" ]; then
+-	check_custom "ncursesw5" "ncursesw5-config" ||  fail "ncursesw"
++	check_custom "ncursesw5" "ncursesw5-config" || \
++		check_custom "ncursesw6" "ncursesw6-config" \
++		||  fail "ncursesw"
+ fi
+ check_ssl_implementation
+ all_aboard_the_fail_boat
+-- 
+2.5.1
+



More information about the arch-commits mailing list