Date: Thursday, March 8, 2018 @ 05:21:37
  Author: kkeen
Revision: 304285

fix FS#57731

Modified:
  rogue/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++++
 1 file changed, 7 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-03-08 05:19:22 UTC (rev 304284)
+++ PKGBUILD    2018-03-08 05:21:37 UTC (rev 304285)
@@ -12,6 +12,13 @@
 source=(http://rogue.rogueforge.net/files/rogue5.4/$pkgname$pkgver-src.tar.gz)
 md5sums=('033288f46444b06814c81ea69d96e075')
 
+prepare() {
+  cd "$srcdir/$pkgname$pkgver"
+  # ncurses fix, FS#57731
+  sed -i '262i TERMTYPE *tp = (TERMTYPE *) (cur_term);' mdport.c
+  sed -i 's/cur_term->type.Strings/tp->Strings/' mdport.c
+}
+
 build() {
   cd "$srcdir/$pkgname$pkgver"
   ./configure

Reply via email to