Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (1253eabc49e87bdf6c802f19d3b86ebf5d66a9ee)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ladislav Hagara <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (1253eabc49e87bdf6c802f19d3b86ebf5d66a9ee)
  • Date: Sun, 29 Nov 2009 11:54:11 -0600

GIT changes to master grimoire by Ladislav Hagara <hgr AT vabo.cz>:

spelling/ispell/HISTORY | 4 ++
spelling/ispell/PRE_BUILD | 3 +
spelling/ispell/ispell-3.3.02-glibc-2.10.patch | 48
+++++++++++++++++++++++++
3 files changed, 55 insertions(+)

New commits:
commit 1253eabc49e87bdf6c802f19d3b86ebf5d66a9ee
Author: Ladislav Hagara <hgr AT vabo.cz>
Commit: Ladislav Hagara <hgr AT vabo.cz>

ispell: fixed #15502, fails to cast with glibc >= 2.10.1

diff --git a/spelling/ispell/HISTORY b/spelling/ispell/HISTORY
index 83daced..0f2fa19 100644
--- a/spelling/ispell/HISTORY
+++ b/spelling/ispell/HISTORY
@@ -1,3 +1,7 @@
+2009-11-29 Ladislav Hagara <hgr AT vabo.cz>
+ * PRE_BUILD, ispell-3.3.02-glibc-2.10.patch: added patch from Gentoo
+ #15502
+
2006-09-21 Juuso Alasuutari <iuso AT sourcemage.org>
* DETAILS: [automated] Removed BUILD_API=2 and MAINTAINER.

diff --git a/spelling/ispell/PRE_BUILD b/spelling/ispell/PRE_BUILD
new file mode 100755
index 0000000..ed8f3d3
--- /dev/null
+++ b/spelling/ispell/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+patch -p1 < $SPELL_DIRECTORY/ispell-3.3.02-glibc-2.10.patch
diff --git a/spelling/ispell/ispell-3.3.02-glibc-2.10.patch
b/spelling/ispell/ispell-3.3.02-glibc-2.10.patch
new file mode 100644
index 0000000..8ccd5cc
--- /dev/null
+++ b/spelling/ispell/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;
+ {



  • [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (1253eabc49e87bdf6c802f19d3b86ebf5d66a9ee), Ladislav Hagara, 11/29/2009

Archive powered by MHonArc 2.6.24.

Top of Page