From owner-svn-ports-head@freebsd.org Mon Jul 6 07:14:30 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D84D39937EC; Mon, 6 Jul 2015 07:14:30 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C834912EC; Mon, 6 Jul 2015 07:14:30 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t667EU6v070809; Mon, 6 Jul 2015 07:14:30 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t667EUkr070807; Mon, 6 Jul 2015 07:14:30 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <201507060714.t667EUkr070807@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ehaupt set sender to ehaupt@FreeBSD.org using -f From: Emanuel Haupt Date: Mon, 6 Jul 2015 07:14:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r391392 - in head/mail/sylpheed: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jul 2015 07:14:30 -0000 Author: ehaupt Date: Mon Jul 6 07:14:29 2015 New Revision: 391392 URL: https://svnweb.freebsd.org/changeset/ports/391392 Log: Provide fix for sigbus on ARM caused by unaligned access. PR: 200053 Submitted by: mikael.urankar@gmail.com, usenet@ulrich-grey.de Added: head/mail/sylpheed/files/patch-libsylph_procmsg.c (contents, props changed) Modified: head/mail/sylpheed/Makefile Modified: head/mail/sylpheed/Makefile ============================================================================== --- head/mail/sylpheed/Makefile Mon Jul 6 05:43:33 2015 (r391391) +++ head/mail/sylpheed/Makefile Mon Jul 6 07:14:29 2015 (r391392) @@ -3,7 +3,7 @@ PORTNAME= sylpheed PORTVERSION= 3.4.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail ipv6 MASTER_SITES= http://sylpheed.sraoss.jp/sylpheed/v${PORTVERSION:C/\.[^\.]*$//}/ \ LOCAL/ehaupt Added: head/mail/sylpheed/files/patch-libsylph_procmsg.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/sylpheed/files/patch-libsylph_procmsg.c Mon Jul 6 07:14:29 2015 (r391392) @@ -0,0 +1,20 @@ +--- libsylph/procmsg.c.orig 2014-06-10 04:06:35 UTC ++++ libsylph/procmsg.c +@@ -164,7 +164,7 @@ static gint procmsg_read_cache_data_str_ + if (endp - *p < sizeof(len)) + return -1; + +- len = *(const guint32 *)(*p); ++ memcpy(&len, *p, sizeof(len)); + *p += sizeof(len); + if (len > G_MAXINT || len > endp - *p) + return -1; +@@ -197,7 +197,7 @@ static gint procmsg_read_cache_data_str_ + g_mapped_file_free(mapfile); \ + return NULL; \ + } else { \ +- n = *(const guint32 *)p; \ ++ memcpy(&n, p, sizeof(n)); \ + p += sizeof(guint32); \ + } \ + }