Accepting request 225215 from home:AndreasSchwab:f

- fontforge-arraysubscript.patch: Fix invalid array subscript

OBS-URL: https://build.opensuse.org/request/show/225215
OBS-URL: https://build.opensuse.org/package/show/M17N/fontforge?expand=0&rev=32
This commit is contained in:
OBS User mrdocs 2014-03-10 00:48:41 +00:00 committed by Git OBS Bridge
parent 974f6caae1
commit cbf967fa56
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,13 @@
Index: fontforge-20120731-b/fontforge/contextchain.c
===================================================================
--- fontforge-20120731-b.orig/fontforge/contextchain.c
+++ fontforge-20120731-b/fontforge/contextchain.c
@@ -928,7 +928,7 @@ return;
uc_strcpy(ubuf,buf);
} else {
ubuf[0]=' ';
- utf82u_strncpy(ubuf-1,classes[cols*r+0].u.md_str,sizeof(ubuf)/sizeof(ubuf[0])-2 );
+ utf82u_strncpy(ubuf+1,classes[cols*r+0].u.md_str,sizeof(ubuf)/sizeof(ubuf[0])-2 );
ubuf[sizeof(ubuf)/sizeof(ubuf[0])-2] = '\0';
uc_strcat(ubuf," ");
}

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Mar 9 13:40:08 UTC 2014 - schwab@linux-m68k.org
- fontforge-arraysubscript.patch: Fix invalid array subscript
-------------------------------------------------------------------
Thu Nov 14 06:59:13 UTC 2013 - jengelh@inai.de

View File

@ -34,6 +34,8 @@ Patch2: libpng14-dynamic.diff
# PATCH-FIX-OPENSUSE fontforge-python-module-name.diff -- change python module name according to naming policy
Patch3: fontforge-python-module-name.diff
Patch4: fontforge-fixgiflib.patch
# PATCH-FIX-UPSTREAM http://sourceforge.net/p/fontforge/git/ci/9ae25e0
Patch5: fontforge-arraysubscript.patch
BuildRequires: cairo-devel
BuildRequires: fdupes
@ -104,6 +106,7 @@ to develop applications that use FontForge libraries.
%if 0%{?suse_version} > 1230
%patch4 -p1
%endif
%patch5 -p1
mkdir docs
tar -jxvf %{SOURCE1} -C docs