From owner-svn-ports-all@FreeBSD.ORG Wed Aug 14 13:00:15 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id EC2A8A2C; Wed, 14 Aug 2013 13:00:15 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BFEE52952; Wed, 14 Aug 2013 13:00:15 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r7ED0F50051774; Wed, 14 Aug 2013 13:00:15 GMT (envelope-from madpilot@svn.freebsd.org) Received: (from madpilot@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r7ED0FxS051771; Wed, 14 Aug 2013 13:00:15 GMT (envelope-from madpilot@svn.freebsd.org) Message-Id: <201308141300.r7ED0FxS051771@svn.freebsd.org> From: Guido Falsi Date: Wed, 14 Aug 2013 13:00:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r324715 - in head/comms/gnokii: . 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-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 13:00:16 -0000 Author: madpilot Date: Wed Aug 14 13:00:15 2013 New Revision: 324715 URL: http://svnweb.freebsd.org/changeset/ports/324715 Log: - Add patch to avoid a bus error while starting the software. Many thanks to the Mike Bernard for reporting and helping me debug this problem. While here remove obsolete MAKE_JOBS_SFE flag Reported by: Mike Barnard Kwatampora Added: head/comms/gnokii/files/patch-common-cfgreader.c (contents, props changed) Modified: head/comms/gnokii/Makefile Modified: head/comms/gnokii/Makefile ============================================================================== --- head/comms/gnokii/Makefile Wed Aug 14 12:50:28 2013 (r324714) +++ head/comms/gnokii/Makefile Wed Aug 14 13:00:15 2013 (r324715) @@ -3,7 +3,7 @@ PORTNAME= gnokii PORTVERSION= 0.6.31 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= comms MASTER_SITES= http://www.gnokii.org/download/gnokii/ \ @@ -23,7 +23,6 @@ USE_BZIP2= yes USES= gettext gmake USE_LDCONFIG= yes USE_CSTD= gnu89 -MAKE_JOBS_SAFE= yes WANT_GNOME= yes USE_GNOME= intltool GNU_CONFIGURE= yes Added: head/comms/gnokii/files/patch-common-cfgreader.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/gnokii/files/patch-common-cfgreader.c Wed Aug 14 13:00:15 2013 (r324715) @@ -0,0 +1,20 @@ +--- common/cfgreader.c.orig 2011-12-02 15:53:04.000000000 +0100 ++++ common/cfgreader.c 2013-08-13 13:25:46.836652059 +0200 +@@ -991,7 +991,7 @@ + #define CHECK_SIZE() if (*retval >= size) { \ + void *aux; \ + size *= 2; \ +- aux = realloc(config_file_locations, size); \ ++ aux = realloc(config_file_locations, size * sizeof(char *)); \ + if (aux) \ + config_file_locations = aux; \ + else {\ +@@ -1107,7 +1107,7 @@ + if (i >= xcd_size) { + void *aux; + xcd_size *= 2; +- aux = realloc(xdg_config_dir, xcd_size); ++ aux = realloc(xdg_config_dir, xcd_size * sizeof(char *)); + if (aux) + xdg_config_dir = aux; + else {