From owner-svn-ports-all@FreeBSD.ORG Thu Sep 27 09:45:39 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87EDB106566B; Thu, 27 Sep 2012 09:45:39 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 584108FC08; Thu, 27 Sep 2012 09:45:39 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q8R9jdEA092251; Thu, 27 Sep 2012 09:45:39 GMT (envelope-from zeising@svn.freebsd.org) Received: (from zeising@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q8R9jdvE092246; Thu, 27 Sep 2012 09:45:39 GMT (envelope-from zeising@svn.freebsd.org) Message-Id: <201209270945.q8R9jdvE092246@svn.freebsd.org> From: Niclas Zeising Date: Thu, 27 Sep 2012 09:45:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r304953 - in head/x11/xdm: . files X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Sep 2012 09:45:39 -0000 Author: zeising Date: Thu Sep 27 09:45:38 2012 New Revision: 304953 URL: http://svn.freebsd.org/changeset/ports/304953 Log: Fix build when clang is installed as cc (more specifically when clang-cpp is installed as cpp). This is done in a similar way as in other x11 ports with the same issue, see r301687 for details. PR: ports/172100 Submitted by: Oliver Pinter (pr) Jan Beich (patch, based on) Approved by: miwi (mentor) Obtained from: xorg staging area Added: head/x11/xdm/files/patch-config-Makefile.in (contents, props changed) head/x11/xdm/files/patch-config-Xresources.cpp (contents, props changed) Modified: head/x11/xdm/Makefile Modified: head/x11/xdm/Makefile ============================================================================== --- head/x11/xdm/Makefile Thu Sep 27 09:03:05 2012 (r304952) +++ head/x11/xdm/Makefile Thu Sep 27 09:45:38 2012 (r304953) @@ -38,6 +38,8 @@ PLIST_SUB+= XDMSHELL="@comment " .endif post-patch: + @${REINPLACE_CMD} 's/test.*-traditional.*;/true;/' \ + ${WRKSRC}/configure @${REINPLACE_CMD} -e "s|XDMCONFIGDIR/|${PREFIX}/lib/X11/xdm/|" \ -e "s|XDMSCRIPTDIR/|${PREFIX}/lib/X11/xdm/|" \ ${WRKSRC}/config/xdm-config.cpp \ Added: head/x11/xdm/files/patch-config-Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/xdm/files/patch-config-Makefile.in Thu Sep 27 09:45:38 2012 (r304953) @@ -0,0 +1,11 @@ +--- config/Makefile.in.orig 2012-09-27 10:37:59.000000000 +0200 ++++ config/Makefile.in 2012-09-27 10:38:41.000000000 +0200 +@@ -296,7 +296,7 @@ + # output lines with trailing backslashes. + # Allow XHASH to always be substituted, even in cases where XCOMM isn't. + CPP_SED_MAGIC = $(SED) -e '/^\# *[0-9][0-9]* *.*$$/d' \ +- -e '/^\#line *[0-9][0-9]* *.*$$/d' \ ++ -e '/^$$/d' \ + -e '/^[ ]*XCOMM$$/s/XCOMM/\#/' \ + -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/\#/' \ + -e '/^[ ]*XHASH/s/XHASH/\#/' \ Added: head/x11/xdm/files/patch-config-Xresources.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/xdm/files/patch-config-Xresources.cpp Thu Sep 27 09:45:38 2012 (r304953) @@ -0,0 +1,14 @@ +--- config/Xresources.cpp.orig 2012-09-27 10:41:28.000000000 +0200 ++++ config/Xresources.cpp 2012-09-27 10:41:56.000000000 +0200 +@@ -60,9 +60,9 @@ + XHASHendif + #ifdef XPM + XHASHif PLANES >= 8 +-xlogin*logoFileName: BITMAPDIR/**//XDM_PIXMAP ++xlogin*logoFileName: BITMAPDIR/XDM_PIXMAP + XHASHelse +-xlogin*logoFileName: BITMAPDIR/**//XDM_BWPIXMAP ++xlogin*logoFileName: BITMAPDIR/XDM_BWPIXMAP + XHASHendif + xlogin*useShape: true + xlogin*logoPadding: 10