[arch-commits] Commit in screen/trunk (PKGBUILD screen-4.0.3-caption-colors.patch)

Allan McRae allan at archlinux.org
Mon Mar 14 13:43:00 UTC 2011


    Date: Monday, March 14, 2011 @ 09:43:00
  Author: allan
Revision: 114599

upgpkg: screen 4.0.3-11
increase number of usable colours in caption (FS#23066)

Added:
  screen/trunk/screen-4.0.3-caption-colors.patch
Modified:
  screen/trunk/PKGBUILD

-----------------------------------+
 PKGBUILD                          |    5 ++++-
 screen-4.0.3-caption-colors.patch |   21 +++++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-03-14 12:12:35 UTC (rev 114598)
+++ PKGBUILD	2011-03-14 13:43:00 UTC (rev 114599)
@@ -4,7 +4,7 @@
 
 pkgname=screen
 pkgver=4.0.3
-pkgrel=10
+pkgrel=11
 _ptygroup=5 #the UID of our PTY/TTY group
 pkgdesc="Full-screen window manager that multiplexes a physical terminal"
 arch=('i686' 'x86_64')
@@ -16,14 +16,17 @@
 install=screen.install
 source=(ftp://ftp.uni-erlangen.de/pub/utilities/screen/screen-${pkgver}.tar.gz
         screen-4.0.3-long-term.patch
+        screen-4.0.3-caption-colors.patch
         screen.pam)
 md5sums=('8506fd205028a96c741e4037de6e3c42'
          '2723c3e71d5a2e5a74b6ddbc5215ef0f'
+         '191b6ced695ce2ae3a65bf02c2d4220f'
          '74f7919d7b65436cc2ea5341fa8ca374')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
   patch -Np1 -i $srcdir/screen-4.0.3-long-term.patch
+  patch -Np2 -i $srcdir/screen-4.0.3-caption-colors.patch
   
   ./configure --prefix=/usr --enable-pam \
         --with-sys-screenrc=/etc/screenrc --enable-colors256 \

Added: screen-4.0.3-caption-colors.patch
===================================================================
--- screen-4.0.3-caption-colors.patch	                        (rev 0)
+++ screen-4.0.3-caption-colors.patch	2011-03-14 13:43:00 UTC (rev 114599)
@@ -0,0 +1,21 @@
+From e6a28cf8bfdac15faa6c267bf476ddcaddf48d67 Mon Sep 17 00:00:00 2001
+From: Sadrul Habib Chowdhury <sadrul at users.sourceforge.net>
+Date: Tue, 26 Jan 2010 20:17:26 +0000
+Subject: Accommodate more color changes in the caption.
+
+---
+diff --git a/src/screen.c b/src/screen.c
+index b1c3dfb..2cceae0 100644
+--- a/src/screen.c
++++ b/src/screen.c
+@@ -2204,7 +2204,7 @@ static const char months[] = "JanFebMarAprMayJunJulAugSepOctNovDec";
+ #endif
+ 
+ static char winmsg_buf[MAXSTR];
+-#define MAX_WINMSG_REND 16	/* rendition changes */
++#define MAX_WINMSG_REND 256	/* rendition changes */
+ static int winmsg_rend[MAX_WINMSG_REND];
+ static int winmsg_rendpos[MAX_WINMSG_REND];
+ static int winmsg_numrend;
+--
+cgit v0.8.3.4




More information about the arch-commits mailing list