x11-wm/gcompmgr: fix build with GCC-based architectures

Approved by:	mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D20822
This commit is contained in:
Piotr Kubaj 2019-07-01 19:50:05 +00:00
parent 991f4493fa
commit 3b530a62f3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=505633
3 changed files with 20 additions and 2 deletions

View file

@ -10,8 +10,6 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= GNOME interface to xcompmgr
BROKEN_powerpc64= fails to compile: params.cc:135:37: 'memset' was not declared in this scope
RUN_DEPENDS= xcompmgr:x11-wm/xcompmgr
GNU_CONFIGURE= yes

View file

@ -0,0 +1,10 @@
--- src/params.cc.orig 2019-07-01 08:27:28 UTC
+++ src/params.cc
@@ -22,6 +22,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "params.h"
+#include <cstring>
#define BUFSIZE 1000
params::params()

View file

@ -0,0 +1,10 @@
--- src/stdxinc.cc.orig 2019-07-01 08:18:45 UTC
+++ src/stdxinc.cc
@@ -7,6 +7,7 @@
****************************************************************************/
#include "stdxinc.h"
+#include <cstring>
#define XC_pirate 88
char *Get_Display_Name(int *pargc, char **argv)