forked from pool/fontforge
Accepting request 225366 from M17N
- fontforge-arraysubscript.patch: Fix invalid array subscript (forwarded request 225215 from AndreasSchwab) OBS-URL: https://build.opensuse.org/request/show/225366 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fontforge?expand=0&rev=33
This commit is contained in:
commit
06fb40bb7b
13
fontforge-arraysubscript.patch
Normal file
13
fontforge-arraysubscript.patch
Normal 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," ");
|
||||||
|
}
|
@ -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
|
Thu Nov 14 06:59:13 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -34,6 +34,8 @@ Patch2: libpng14-dynamic.diff
|
|||||||
# PATCH-FIX-OPENSUSE fontforge-python-module-name.diff -- change python module name according to naming policy
|
# PATCH-FIX-OPENSUSE fontforge-python-module-name.diff -- change python module name according to naming policy
|
||||||
Patch3: fontforge-python-module-name.diff
|
Patch3: fontforge-python-module-name.diff
|
||||||
Patch4: fontforge-fixgiflib.patch
|
Patch4: fontforge-fixgiflib.patch
|
||||||
|
# PATCH-FIX-UPSTREAM http://sourceforge.net/p/fontforge/git/ci/9ae25e0
|
||||||
|
Patch5: fontforge-arraysubscript.patch
|
||||||
|
|
||||||
BuildRequires: cairo-devel
|
BuildRequires: cairo-devel
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@ -104,6 +106,7 @@ to develop applications that use FontForge libraries.
|
|||||||
%if 0%{?suse_version} > 1230
|
%if 0%{?suse_version} > 1230
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
%endif
|
%endif
|
||||||
|
%patch5 -p1
|
||||||
|
|
||||||
mkdir docs
|
mkdir docs
|
||||||
tar -jxvf %{SOURCE1} -C docs
|
tar -jxvf %{SOURCE1} -C docs
|
||||||
|
Loading…
Reference in New Issue
Block a user