svn commit: r320644 - in head/x11-wm/piewm: . files

Raphael Kubo da Costa rakuco at FreeBSD.org
Tue Jun 11 21:19:38 UTC 2013


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 <david at catwhisker.org> (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 <stdlib.h>
++#else
++extern char *malloc(), *calloc(), *realloc(), *getenv();
++extern int free();
++#endif
+ extern void Reborder(), Done();
+ void ComputeCommonTitleOffsets();
+ void ComputeWindowTitleOffsets(), ComputeTitleLocation();


More information about the svn-ports-all mailing list