summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2016-09-03 14:44:46 +0200
committerMartin Väth <martin@mvath.de>2016-09-03 14:44:46 +0200
commit982db69e8b02d31d242cd00f2a0bc39ebceb39be (patch)
treebd9109ac1e8d4e5426afe0e9de55d5f08e9c35a8 /app-text/ispell/files
parentx11-misc/redshift: Copy old from gentoo repo to aovid gtk+3/introspection dep (diff)
downloadmv-982db69e8b02d31d242cd00f2a0bc39ebceb39be.tar.gz
mv-982db69e8b02d31d242cd00f2a0bc39ebceb39be.tar.bz2
mv-982db69e8b02d31d242cd00f2a0bc39ebceb39be.zip
Copy/bump ispell and some libs from gentoo repository to save from removal
Diffstat (limited to 'app-text/ispell/files')
-rw-r--r--app-text/ispell/files/ispell-3.3.02-glibc-2.10.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/app-text/ispell/files/ispell-3.3.02-glibc-2.10.patch b/app-text/ispell/files/ispell-3.3.02-glibc-2.10.patch
new file mode 100644
index 00000000..8ccd5cc7
--- /dev/null
+++ b/app-text/ispell/files/ispell-3.3.02-glibc-2.10.patch
@@ -0,0 +1,48 @@
+diff -ur ispell-3.3.02.orig/correct.c ispell-3.3.02/correct.c
+--- ispell-3.3.02.orig/correct.c 2009-08-06 18:28:32.000000000 +0300
++++ ispell-3.3.02/correct.c 2009-08-06 18:28:57.000000000 +0300
+@@ -247,7 +247,7 @@
+ struct flagent * sufent,
+ ichar_t savearea[MAX_CAPS][INPUTWORDLEN + MAXAFFIXLEN],
+ int * nsaved));
+-static char * getline P ((char * buf, int bufsize));
++static char * get_line P ((char * buf, int bufsize));
+ void askmode P ((void));
+ void copyout P ((unsigned char ** cc, int cnt));
+ static void lookharder P ((unsigned char * string));
+@@ -573,7 +573,7 @@
+
+ imove (li - 1, 0);
+ (void) putchar ('!');
+- if (getline ((char *) buf, sizeof buf) == NULL)
++ if (get_line ((char *) buf, sizeof buf) == NULL)
+ {
+ (void) putchar (7);
+ ierase ();
+@@ -598,7 +598,7 @@
+ (void) printf ("%s ", CORR_C_READONLY);
+ }
+ (void) printf (CORR_C_REPLACE_WITH);
+- if (getline ((char *) ctok, ctokl) == NULL)
++ if (get_line ((char *) ctok, ctokl) == NULL)
+ {
+ (void) putchar (7);
+ /* Put it back */
+@@ -666,7 +666,7 @@
+ unsigned char buf[100];
+ imove (li - 1, 0);
+ (void) printf (CORR_C_LOOKUP_PROMPT);
+- if (getline ((char *) buf, sizeof buf) == NULL)
++ if (get_line ((char *) buf, sizeof buf) == NULL)
+ {
+ (void) putchar (7);
+ ierase ();
+@@ -1585,7 +1585,7 @@
+ return;
+ }
+
+-static char * getline (s, len)
++static char * get_line (s, len)
+ register char * s;
+ register int len;
+ {