svn commit: r527102 - in head/x11/xdm: . files

Niclas Zeising zeising at FreeBSD.org
Tue Feb 25 20:45:41 UTC 2020


Author: zeising
Date: Tue Feb 25 20:45:40 2020
New Revision: 527102
URL: https://svnweb.freebsd.org/changeset/ports/527102

Log:
  x11/xdm: Fix generation of etc/X11/xdm/Xresources
  
  By some stupidity of autotools, spacing for a sed regexp used to generate
  Xresources gets broken, and the sed command doen't match as it should.  This
  results in an Xresources file with an extra '#endif /* XPM */', which breaks
  the file.
  Patch Makefile.in to fix the regexp and have Xresources generated properly.
  
  PR:		244404
  Reported by:	olgeni
  MFH:		2020Q1

Added:
  head/x11/xdm/files/patch-config_Makefile.in   (contents, props changed)
Modified:
  head/x11/xdm/Makefile

Modified: head/x11/xdm/Makefile
==============================================================================
--- head/x11/xdm/Makefile	Tue Feb 25 20:15:12 2020	(r527101)
+++ head/x11/xdm/Makefile	Tue Feb 25 20:45:40 2020	(r527102)
@@ -2,7 +2,7 @@
 
 PORTNAME=	xdm
 PORTVERSION=	1.1.12
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	x11
 
 MAINTAINER=	x11 at FreeBSD.org

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	Tue Feb 25 20:45:40 2020	(r527102)
@@ -0,0 +1,13 @@
+--- config/Makefile.in.orig	2019-03-02 22:06:24 UTC
++++ config/Makefile.in
+@@ -391,8 +391,8 @@ EXTRA_DIST = Xservers.ws.in Xservers.fs \
+ @USE_XPM_FALSE at XPM_SED_FLAGS = -e '/ifdef XPM/,/endif \/\* XPM \*\//d'
+ 
+ # Defines used when sed'ing config files to replace settings in the files
+- at USE_XPM_TRUE@XPM_SED_FLAGS = -e '/ifdef XPM/d' -e '/endif \/\* XPM \
+- at USE_XPM_TRUE@	\*\//d' -e 's|BITMAPDIR|$(XDM_PIXMAPDIR)|' -e \
++ at USE_XPM_TRUE@XPM_SED_FLAGS = -e '/ifdef XPM/d' -e '/endif \/\* XPM \*\//d' \
++ at USE_XPM_TRUE@	-e 's|BITMAPDIR|$(XDM_PIXMAPDIR)|' -e \
+ @USE_XPM_TRUE@	's|XDM_PIXMAP|$(XDM_PIXMAP)|' -e \
+ @USE_XPM_TRUE@	's|XDM_BWPIXMAP|$(XDM_BWPIXMAP)|'
+ 


More information about the svn-ports-all mailing list