FreeBSD Bugzilla – Attachment 134489 Details for
Bug 179177
print/libotf: update to 0.9.13
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
libotf-0.9.13.patch
libotf-0.9.13.patch (text/plain), 4.55 KB, created by
Nikola Lečić
on 2013-06-01 18:40:00 UTC
(
hide
)
Description:
libotf-0.9.13.patch
Filename:
MIME Type:
Creator:
Nikola Lečić
Created:
2013-06-01 18:40:00 UTC
Size:
4.55 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 319560) >+++ Makefile (working copy) >@@ -1,15 +1,11 @@ >-# New ports collection makefile for: libotf >-# Date created: 18 May 2004 >-# Whom: Kimura Fuyuki <fuyuki@hadaly.org> >-# >+# Created by: Kimura Fuyuki <fuyuki@hadaly.org> > # $FreeBSD$ >-# > > PORTNAME= libotf >-PORTVERSION= 0.9.12 >+PORTVERSION= 0.9.13 > CATEGORIES= print devel >-MASTER_SITES= http://www.m17n.org/libotf/ \ >- http://anthesphoria.net/FreeBSD/ports/distfiles/ >+MASTER_SITES= ${MASTER_SITE_SAVANNAH}:m17n >+MASTER_SITE_SUBDIR= m17n > > MAINTAINER= nikola.lecic@anthesphoria.net > COMMENT= Library for handling OpenType fonts >@@ -17,7 +13,7 @@ > LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 > > USE_XORG= x11 xt xaw xmu >-USE_GNOME= pkgconfig >+USE_PKGCONFIG= yes > GNU_CONFIGURE= yes > USE_LDCONFIG= yes > CPPFLAGS+= -I${LOCALBASE}/include >Index: distinfo >=================================================================== >--- distinfo (revision 319560) >+++ distinfo (working copy) >@@ -1,2 +1,2 @@ >-SHA256 (libotf-0.9.12.tar.gz) = a4a04cccf84955242202a4a7e50314259030c1f1573675085ba1c5a95b529297 >-SIZE (libotf-0.9.12.tar.gz) = 363974 >+SHA256 (libotf-0.9.13.tar.gz) = 7bc466ba50425f95b52de12b4ad35320acefcef13ce67bf33edc14abdcfe6908 >+SIZE (libotf-0.9.13.tar.gz) = 388832 >Index: files/patch-example_otfdump.c >=================================================================== >--- files/patch-example_otfdump.c (revision 319560) >+++ files/patch-example_otfdump.c (working copy) >@@ -1,25 +0,0 @@ >---- example/otfdump.c 19 Mar 2010 12:27:02 -0000 1.27 >-+++ example/otfdump.c 11 Feb 2011 02:52:37 -0000 1.28 >-@@ -32,12 +32,8 @@ >- >- #include <otf.h> >- >--char *indent_spaces[] = >-- { "", " ", " ", " ", " ", " ", " ", >-- " ", " ", " " }; >-- >- /* Indented print. */ >--#define IPRINT printf("\n%s", indent_spaces[indent]), printf >-+#define IPRINT printf("\n%*s", indent * 2, ""), printf >- >- static void >- dump_tag (OTF_Tag tag) >-@@ -457,6 +453,8 @@ >- static void >- dump_anchor (int indent, OTF_Anchor *anchor) >- { >-+ if (anchor->offset == 0) >-+ return; >- IPRINT ("(Anchor (offset #x%04X) (AnchorFormat %d)", >- anchor->offset, anchor->AnchorFormat); >- indent++; >Index: files/patch-src_otfopen.c >=================================================================== >--- files/patch-src_otfopen.c (revision 319560) >+++ files/patch-src_otfopen.c (working copy) >@@ -1,45 +0,0 @@ >---- src/otfopen.c 22 Sep 2010 03:46:17 -0000 1.62 >-+++ src/otfopen.c 11 Feb 2011 02:55:05 -0000 1.63 >-@@ -2336,8 +2336,9 @@ >- } >- for (i = 0; i < array->Count; i++) >- for (j = 0; j < ClassCount; j++) >-- if (read_anchor (otf, stream, offset + array->offset, >-- &array->AnchorRecord[i].Anchor[j]) < 0) >-+ if (array->AnchorRecord[i].Anchor[j].offset > 0 >-+ && read_anchor (otf, stream, offset + array->offset, >-+ &array->AnchorRecord[i].Anchor[j]) < 0) >- return -1; >- RESTORE_STREAM (stream, state); >- return 0; >-@@ -2437,7 +2438,7 @@ >- unsigned ClassCount, OTF_LigatureAttach *attach) >- { >- char *errfmt = "LigatureAttach%s"; >-- int errret = 1; >-+ int errret = -1; >- int i, j; >- >- SEEK_STREAM (stream, offset + attach->offset); >-@@ -2483,8 +2484,10 @@ >- for (i = 0; i < array->LigatureCount; i++) >- READ_OFFSET (stream, array->LigatureAttach[i].offset); >- for (i = 0; i < array->LigatureCount; i++) >-- read_ligature_attach (otf, stream, offset + array->offset, >-- class_count, array->LigatureAttach + i); >-+ if (array->LigatureAttach[i].offset > 0 >-+ && read_ligature_attach (otf, stream, offset + array->offset, >-+ class_count, array->LigatureAttach + i) < 0) >-+ return -1; >- RESTORE_STREAM (stream, state); >- return 0; >- } >-@@ -2625,7 +2628,7 @@ >- read_coverage (otf, stream, offset, &subtable->Coverage); >- read_coverage (otf, stream, offset, >- &subtable->u.mark_mark1.Mark2Coverage); >-- READ_UINT16 (stream, subtable->u.mark_base1.ClassCount); >-+ READ_UINT16 (stream, subtable->u.mark_mark1.ClassCount); >- read_mark_array (otf, stream, offset, >- &subtable->u.mark_mark1.Mark1Array); >- read_anchor_array (otf, stream, offset, >Index: pkg-descr >=================================================================== >--- pkg-descr (revision 319560) >+++ pkg-descr (working copy) >@@ -9,4 +9,4 @@ > The combination of libotf and the FreeType library (Ver. 2) realizes > CTL (complex text layout) by OpenType fonts. > >-WWW: http://www.m17n.org/libotf/ >+WWW: http://www.nongnu.org/m17n/
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 179177
: 134489