summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libjwc_c/files/612-gentoo.patch')
-rw-r--r--dev-libs/libjwc_c/files/612-gentoo.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-libs/libjwc_c/files/612-gentoo.patch b/dev-libs/libjwc_c/files/612-gentoo.patch
new file mode 100644
index 000000000000..af4a691febb9
--- /dev/null
+++ b/dev-libs/libjwc_c/files/612-gentoo.patch
@@ -0,0 +1,20 @@
+diff -Nu libjwc_c-1.1/imglib.c libjwc_c/imglib.c
+--- libjwc_c-1.1/imglib.c 1999-08-17 15:58:11.000000000 +0200
++++ libjwc_c/imglib.c 2004-06-03 14:24:05.000000000 +0200
+@@ -4259,7 +4259,7 @@
+ {
+
+ /* Note: In this routine the first local axis is called 'x' and the
+- second logal axi is called 'y' */
++ second local axis is called 'y' */
+
+ int mxcent; /* Current max no. of elements in active
+ spots array */
+@@ -4469,6 +4469,7 @@
+
+ /* skipping condition */
+
++ iymid = (actspots[j].iyend+actspots[j].iybeg)/2;
+ itmp = abs(iymid-actspots[j].iycent);
+ if (abs((actspots[j].iyend+actspots[j].iybeg) -(iel+ibl))>
+ abs((actspots[j].iyend-actspots[j].iybeg) +(iel-ibl))&&