Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2017 02:44:48 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r432893 - in head/x11/slim: . files
Message-ID:  <201701310244.v0V2im1T007257@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue Jan 31 02:44:48 2017
New Revision: 432893
URL: https://svnweb.freebsd.org/changeset/ports/432893

Log:
  x11/slim: unbreak build with clang/libc++ 4.0
  
  PR:		216633
  Submitted by:	Henry Hu <henry.hu.sh@gmail.com> (maintainer)

Added:
  head/x11/slim/files/patch-panel.cpp   (contents, props changed)
Modified:
  head/x11/slim/Makefile   (contents, props changed)

Modified: head/x11/slim/Makefile
==============================================================================
--- head/x11/slim/Makefile	Tue Jan 31 02:44:35 2017	(r432892)
+++ head/x11/slim/Makefile	Tue Jan 31 02:44:48 2017	(r432893)
@@ -3,7 +3,7 @@
 
 PORTNAME=	slim
 PORTVERSION=	1.3.6
-PORTREVISION=	12
+PORTREVISION=	13
 CATEGORIES=	x11
 MASTER_SITES=	ftp://ftp.berlios.de/pub/slim/ \
 		SF/slim.berlios

Added: head/x11/slim/files/patch-panel.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/slim/files/patch-panel.cpp	Tue Jan 31 02:44:48 2017	(r432893)
@@ -0,0 +1,11 @@
+--- panel.cpp.orig	2013-10-01 22:38:05 UTC
++++ panel.cpp
+@@ -48,7 +48,7 @@ Panel::Panel(Display* dpy, int scr, Wind
+ 		gcm = GCGraphicsExposures;
+ 		gcv.graphics_exposures = False;
+ 		WinGC = XCreateGC(Dpy, Win, gcm, &gcv);
+-		if (WinGC < 0) {
++		if (WinGC == NULL) {
+ 			cerr << APPNAME
+ 				<< ": failed to create pixmap\n.";
+ 			exit(ERR_EXIT);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701310244.v0V2im1T007257>