$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])
