Date: Sat, 16 Jun 2018 02:49:07 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r472514 - in head/x11-wm/icewm: . files Message-ID: <201806160249.w5G2n7B0033374@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Sat Jun 16 02:49:07 2018 New Revision: 472514 URL: https://svnweb.freebsd.org/changeset/ports/472514 Log: x11-wm/icewm: Fix build with Clang 6 While here - Fix license - Add missing dependencies PR: 228317 Submitted by: Chris Hutchinson <portmaster@bsdforge.com> (based on) Kudos to: krion (for patiently test building many iterations of it) Modified: head/x11-wm/icewm/Makefile head/x11-wm/icewm/files/patch-src__wmapp.cc Modified: head/x11-wm/icewm/Makefile ============================================================================== --- head/x11-wm/icewm/Makefile Sat Jun 16 01:44:27 2018 (r472513) +++ head/x11-wm/icewm/Makefile Sat Jun 16 02:49:07 2018 (r472514) @@ -3,19 +3,23 @@ PORTNAME= icewm PORTVERSION= 1.3.8 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-wm MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}/${PORTVERSION} MAINTAINER= portmaster@bsdforge.com COMMENT= Window Manager designed for speed, usability and consistency -LICENSE= GPLv2 +LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING +LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 + USES= gmake iconv:translit localbase pkgconfig -USE_XORG= ice sm x11 xext +USE_CXXSTD= c++98 USE_GNOME= gdkpixbuf2 +USE_XORG= ice sm x11 xext xrender GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-guievents \ --with-cfgdir=${DATADIR} \ Modified: head/x11-wm/icewm/files/patch-src__wmapp.cc ============================================================================== --- head/x11-wm/icewm/files/patch-src__wmapp.cc Sat Jun 16 01:44:27 2018 (r472513) +++ head/x11-wm/icewm/files/patch-src__wmapp.cc Sat Jun 16 02:49:07 2018 (r472514) @@ -1,6 +1,15 @@ ---- src/wmapp.cc.orig +--- src/wmapp.cc.orig 2013-11-17 16:54:39 UTC +++ src/wmapp.cc -@@ -337,7 +337,7 @@ +@@ -221,7 +221,7 @@ static void registerProtocols2(Window xid) { + #endif + + long pid = getpid(); +- const char wmname[] = "IceWM "VERSION" ("HOSTOS"/"HOSTCPU")"; ++ const char wmname[] = "IceWM " VERSION " (" HOSTOS "/" HOSTCPU ")"; + + #ifdef GNOME1_HINTS + XChangeProperty(xapp->display(), xid, +@@ -337,7 +337,7 @@ static void initFontPath(IApp *app) { int ndirs; // ------------------- retrieve the old X's font path --- char ** fontPath(XGetFontPath(xapp->display(), &ndirs)); @@ -9,7 +18,7 @@ newFontPath[ndirs] = fontsdir; if (fontPath) -@@ -383,7 +383,7 @@ +@@ -383,7 +383,7 @@ static void initFontPath(IApp *app) { XChangeProperty(xapp->display(), manager->handle(), XA_ICEWM_FONT_PATH, XA_STRING, 8, PropModeReplace, (unsigned char *) fontsdir, strlen(fontsdir));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806160249.w5G2n7B0033374>