[arch-commits] Commit in ispell/trunk (PKGBUILD getline.patch)

Antonio Rojas arojas at archlinux.org
Tue May 30 19:46:23 UTC 2017


    Date: Tuesday, May 30, 2017 @ 19:46:22
  Author: arojas
Revision: 296859

Update to 3.4.00

Modified:
  ispell/trunk/PKGBUILD
Deleted:
  ispell/trunk/getline.patch

---------------+
 PKGBUILD      |   12 +++++-------
 getline.patch |   47 -----------------------------------------------
 2 files changed, 5 insertions(+), 54 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-05-30 18:13:36 UTC (rev 296858)
+++ PKGBUILD	2017-05-30 19:46:22 UTC (rev 296859)
@@ -3,8 +3,8 @@
 # Maintainer:
 
 pkgname=ispell
-pkgver=3.3.02
-pkgrel=7
+pkgver=3.4.00
+pkgrel=1
 pkgdesc="An interactive spell-checking program for Unix"
 arch=('i686' 'x86_64')
 url="http://ficus-www.cs.ucla.edu/geoff/ispell.html"
@@ -12,15 +12,13 @@
 depends=('ncurses')
 options=('!makeflags')
 source=(http://fmg-www.cs.ucla.edu/geoff/tars/${pkgname}-${pkgver}.tar.gz 
-	license.txt getline.patch)
-md5sums=('12087d7555fc2b746425cd167af480fe' 'bf51b6181b9914dedc266ba970bb7319'
-	 '1dca21c5d56405fe592175c3dde2fda2')
+	license.txt)
+sha256sums=('5dc42e458635f218032d3ae929528e5587b1e7247564f0e9f9d77d5ccab7aec2'
+            '359eca8bfb77db63785c4c304ecd3568b26cdf736946388e509933fc8a3f66bd')
 
 build() {
 	cd ${srcdir}/${pkgname}-${pkgver}
 
-	patch -Np0 -i ${srcdir}/getline.patch
-
 	sed -i -e 's/#undef USG/#define USG/' \
 	       -e 's|/usr/local|/usr|' \
                -e 's|/lib|/lib/ispell|' local.h.linux

Deleted: getline.patch
===================================================================
--- getline.patch	2017-05-30 18:13:36 UTC (rev 296858)
+++ getline.patch	2017-05-30 19:46:22 UTC (rev 296859)
@@ -1,47 +0,0 @@
---- ispell-3.3.02/correct.c	2005-04-28 09:46:51.000000000 -0500
-+++ correct.c	2010-05-20 16:36:37.000000000 -0500
-@@ -245,7 +245,7 @@
- 		  struct flagent * sufent,
- 		  ichar_t savearea[MAX_CAPS][INPUTWORDLEN + MAXAFFIXLEN],
- 		  int * nsaved));
--static char *	getline P ((char * buf, int bufsize));
-+static char *	mygetline P ((char * buf, int bufsize));
- void		askmode P ((void));
- void		copyout P ((unsigned char ** cc, int cnt));
- static void	lookharder P ((unsigned char * string));
-@@ -571,7 +571,7 @@
- 
- 		imove (li - 1, 0);
- 		(void) putchar ('!');
--		if (getline ((char *) buf, sizeof buf) == NULL)
-+		if (mygetline ((char *) buf, sizeof buf) == NULL)
- 		    {
- 		    (void) putchar (7);
- 		    ierase ();
-@@ -596,7 +596,7 @@
- 		    (void) printf ("%s ", CORR_C_READONLY);
- 		    }
- 		(void) printf (CORR_C_REPLACE_WITH);
--		if (getline ((char *) ctok, ctokl) == NULL)
-+		if (mygetline ((char *) ctok, ctokl) == NULL)
- 		    {
- 		    (void) putchar (7);
- 		    /* Put it back */
-@@ -664,7 +664,7 @@
- 		unsigned char	buf[100];
- 		imove (li - 1, 0);
- 		(void) printf (CORR_C_LOOKUP_PROMPT);
--		if (getline ((char *) buf, sizeof buf) == NULL)
-+		if (mygetline ((char *) buf, sizeof buf) == NULL)
- 		    {
- 		    (void) putchar (7);
- 		    ierase ();
-@@ -1583,7 +1583,7 @@
-     return;
-     }
- 
--static char * getline (s, len)
-+static char * mygetline (s, len)
-     register char *	s;
-     register int	len;
-     {



More information about the arch-commits mailing list