svn commit: r432893 - in head/x11/slim: . files

Jan Beich jbeich at FreeBSD.org
Tue Jan 31 02:44:49 UTC 2017


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 at 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);


More information about the svn-ports-head mailing list