From owner-svn-ports-head@FreeBSD.ORG Tue Jun 11 21:19:38 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1670A191; Tue, 11 Jun 2013 21:19:38 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 0764D1D81; Tue, 11 Jun 2013 21:19:38 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5BLJbx5097830; Tue, 11 Jun 2013 21:19:37 GMT (envelope-from rakuco@svn.freebsd.org) Received: (from rakuco@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5BLJbkw097828; Tue, 11 Jun 2013 21:19:37 GMT (envelope-from rakuco@svn.freebsd.org) Message-Id: <201306112119.r5BLJbkw097828@svn.freebsd.org> From: Raphael Kubo da Costa Date: Tue, 11 Jun 2013 21:19:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r320644 - in head/x11-wm/piewm: . 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.14 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: Tue, 11 Jun 2013 21:19:38 -0000 Author: rakuco Date: Tue Jun 11 21:19:37 2013 New Revision: 320644 URL: http://svnweb.freebsd.org/changeset/ports/320644 Log: Add a patch to stop crashing on amd64. PR: ports/179179 Submitted by: David Wolfskill (maintainer) Added: head/x11-wm/piewm/files/patch-twm.h (contents, props changed) Modified: head/x11-wm/piewm/Makefile Modified: head/x11-wm/piewm/Makefile ============================================================================== --- head/x11-wm/piewm/Makefile Tue Jun 11 21:06:30 2013 (r320643) +++ head/x11-wm/piewm/Makefile Tue Jun 11 21:19:37 2013 (r320644) @@ -3,7 +3,7 @@ PORTNAME= piewm PORTVERSION= 1.04 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-wm MASTER_SITES= http://www.crynwr.com/piewm/ Added: head/x11-wm/piewm/files/patch-twm.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-wm/piewm/files/patch-twm.h Tue Jun 11 21:19:37 2013 (r320644) @@ -0,0 +1,15 @@ +--- twm.h.orig 1998-06-03 08:42:52.000000000 -0700 ++++ twm.h 2013-06-01 08:23:26.000000000 -0700 +@@ -305,6 +305,12 @@ + #define TBPM_MENU ":menu" /* name of titlebar pixmap for menus */ + #define TBPM_QUESTION ":question" /* name of unknown titlebar pixmap */ + ++#ifndef X_NOT_STDC_ENV ++#include ++#else ++extern char *malloc(), *calloc(), *realloc(), *getenv(); ++extern int free(); ++#endif + extern void Reborder(), Done(); + void ComputeCommonTitleOffsets(); + void ComputeWindowTitleOffsets(), ComputeTitleLocation();