Bug 700577 - Support invalid UTF-8 chars in pango_find_paragraph_boundary()
(from upstream).
This commit is contained in:
parent
207a5806fb
commit
427f3f8a38
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.81 2013/05/13 18:07:43 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.82 2013/05/29 21:25:50 ajacoutot Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
@ -6,6 +6,7 @@ COMMENT= library for layout and rendering of text
|
||||
|
||||
GNOME_VERSION= 1.34.1
|
||||
GNOME_PROJECT= pango
|
||||
REVISION= 0
|
||||
|
||||
SHARED_LIBS += pango-1.0 3400.0 # 3400.0
|
||||
SHARED_LIBS += pangoft2-1.0 3400.0 # 3400.0
|
||||
|
18
devel/pango/patches/patch-pango_break_c
Normal file
18
devel/pango/patches/patch-pango_break_c
Normal file
@ -0,0 +1,18 @@
|
||||
$OpenBSD: patch-pango_break_c,v 1.1 2013/05/29 21:25:50 ajacoutot Exp $
|
||||
|
||||
From 6c16dfe8ad012a2551d0270a0325574e9ce3cef7 Mon Sep 17 00:00:00 2001
|
||||
From: Behdad Esfahbod <behdad@behdad.org>
|
||||
Date: Mon, 27 May 2013 21:24:04 +0000
|
||||
Subject: Bug 700577 - Support invalid UTF-8 chars in pango_find_paragraph_boundary()
|
||||
|
||||
--- pango/break.c.orig Tue May 7 16:45:33 2013
|
||||
+++ pango/break.c Wed May 29 23:22:01 2013
|
||||
@@ -1747,7 +1747,7 @@ pango_find_paragraph_boundary (const gchar *text,
|
||||
|
||||
prev_sep = 0;
|
||||
|
||||
- while (p != end)
|
||||
+ while (p < end)
|
||||
{
|
||||
if (prev_sep == '\n' ||
|
||||
prev_sep == PARAGRAPH_SEPARATOR_STRING[0])
|
Loading…
Reference in New Issue
Block a user