[arch-commits] Commit in icmake/trunk (PKGBUILD disable-clear-screen.patch)

Baptiste Jonglez zorun at archlinux.org
Sat Jul 7 11:04:14 UTC 2018


    Date: Saturday, July 7, 2018 @ 11:04:14
  Author: zorun
Revision: 353954

upgpkg: icmake 9.02.08-2

Disable screen clearing to fix build issues

Added:
  icmake/trunk/disable-clear-screen.patch
Modified:
  icmake/trunk/PKGBUILD

----------------------------+
 PKGBUILD                   |   13 ++++++++++---
 disable-clear-screen.patch |   22 ++++++++++++++++++++++
 2 files changed, 32 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-07 10:52:25 UTC (rev 353953)
+++ PKGBUILD	2018-07-07 11:04:14 UTC (rev 353954)
@@ -5,14 +5,21 @@
 
 pkgname=icmake
 pkgver=9.02.08
-pkgrel=1
+pkgrel=2
 pkgdesc='A program maintenance (make) utility using a C-like grammar'
 arch=('x86_64')
 url='https://fbb-git.gitlab.io/icmake/'
 license=('GPL3')
-source=("https://gitlab.com/fbb-git/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('eeabc5b0611661749b584cce3a22c6a5b811e0467f764df6990a1791e6605ac1')
+source=("https://gitlab.com/fbb-git/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz"
+        "disable-clear-screen.patch")
+sha256sums=('eeabc5b0611661749b584cce3a22c6a5b811e0467f764df6990a1791e6605ac1'
+            'a5edbdb70ab6748c7124979f9af08884b4d7b16fa3ece8ff39d5986e6fd20592')
 
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+        patch -p1 < "${srcdir}/disable-clear-screen.patch"
+}
+
 build() {
 	cd "${srcdir}/${pkgname}-${pkgver}/${pkgname}"
 

Added: disable-clear-screen.patch
===================================================================
--- disable-clear-screen.patch	                        (rev 0)
+++ disable-clear-screen.patch	2018-07-07 11:04:14 UTC (rev 353954)
@@ -0,0 +1,22 @@
+commit 42d3987d08e41723a2ca8739550bbf5d58e45ea8
+Author: Baptiste Jonglez <git at bitsofnetworks.org>
+Date:   Sat Jul 7 12:58:54 2018 +0200
+
+    Disable screen clearing
+    
+    This tends to fail when building in a clean chroot (e.g. yodl) because of
+    missing terminal definition, and is of dubious interest anyway.
+
+diff --git a/icmake/scripts/icmbuild.in b/icmake/scripts/icmbuild.in
+index c31e925..dba9607 100644
+--- a/icmake/scripts/icmbuild.in
++++ b/icmake/scripts/icmbuild.in
+@@ -618,7 +618,7 @@ void install(string what, string path)
+ 
+ void clearScreen(int cls)
+ {
+-    if (cls)
++    if (0)
+         system("tput clear");
+ }
+ 



More information about the arch-commits mailing list