Bug 179578 - x11/xdtm: Fix build on -current
Summary: x11/xdtm: Fix build on -current
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-15 19:10 UTC by tkato432
Modified: 2013-06-17 16:00 UTC (History)
0 users

See Also:


Attachments
file.diff (2.56 KB, patch)
2013-06-15 19:10 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2013-06-15 19:10:00 UTC
- Fix build on -current
- Add MAKE_JOBS_UNSAFE

New file:
files/patch-lexical.l
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-06-15 19:10:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-06-17 15:58:57 UTC
Author: miwi
Date: Mon Jun 17 14:58:48 2013
New Revision: 321120
URL: http://svnweb.freebsd.org/changeset/ports/321120

Log:
  - Fix build on -current
  - Add MAKE_JOBS_UNSAFE
  - Trim header
  
  PR:		179578
  Submitted by:	ports fury

Added:
  head/x11/xdtm/files/patch-lexical.l   (contents, props changed)
Modified:
  head/x11/xdtm/Makefile   (contents, props changed)
  head/x11/xdtm/pkg-descr   (contents, props changed)

Modified: head/x11/xdtm/Makefile
==============================================================================
--- head/x11/xdtm/Makefile	Mon Jun 17 14:47:18 2013	(r321119)
+++ head/x11/xdtm/Makefile	Mon Jun 17 14:58:48 2013	(r321120)
@@ -1,23 +1,21 @@
-# New ports collection makefile for:    xdtm
-# Date created:         		26th April 1995
-# Whom:                 		gpalmer
-#
+# Created by: gpalmer
 # $FreeBSD$
-#
 
-PORTNAME=		xdtm
-PORTVERSION=		2.5.8
-PORTREVISION=		2
-CATEGORIES=		x11
-MASTER_SITES=		${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR=	applications
-
-MAINTAINER=		ports@FreeBSD.org
-COMMENT=	A graphical shell for the X Window System
-
-USE_IMAKE=		yes
-USE_XORG=		xaw
-WRKSRC=			${WRKDIR}/xdtm
-MAN1=			xdtm.1
+PORTNAME=	xdtm
+PORTVERSION=	2.5.8
+PORTREVISION=	2
+CATEGORIES=	x11
+MASTER_SITES=	XCONTRIB/applications
+
+MAINTAINER=	ports@FreeBSD.org
+COMMENT=	Graphical shell for the X Window System
+
+WRKSRC=		${WRKDIR}/${PORTNAME}
+
+USE_XORG=	xaw
+USE_IMAKE=	yes
+MAKE_JOBS_UNSAFE=	yes
+
+MAN1=		xdtm.1
 
 .include <bsd.port.mk>

Added: head/x11/xdtm/files/patch-lexical.l
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/xdtm/files/patch-lexical.l	Mon Jun 17 14:58:48 2013	(r321120)
@@ -0,0 +1,21 @@
+--- lexical.l.orig
++++ lexical.l
+@@ -1,3 +1,4 @@
++%option yylineno
+ %{ /*-*- Mode: C -*-*/
+ /**************************************************************************
+  ** File     :       lexical.l                                           **
+@@ -171,13 +172,6 @@ static int numkeywords = (sizeof(keywordtable)/sizeof(
+ 
+ int parseerror=0;                   /* Number of parse errors */
+ char errormessage[255];             /* used for error messsages */
+-
+-/*
+- * ``yylineno'' not POSIX standard, so have to simulate it when using flex.
+- */
+-#ifdef FLEX_SCANNER
+-int yylineno=0;
+-#endif
+ 
+ %}
+ %%

Modified: head/x11/xdtm/pkg-descr
==============================================================================
--- head/x11/xdtm/pkg-descr	Mon Jun 17 14:47:18 2013	(r321119)
+++ head/x11/xdtm/pkg-descr	Mon Jun 17 14:58:48 2013	(r321120)
@@ -1,4 +1,4 @@
-     The X Desktop Manager is a graphical shell for the X Window System,
-     it provides mechanisms for all the usual shell activities and is
-     intended to reduce the training necessary for UNIX novice to become
-     productive on your system.
+The X Desktop Manager is a graphical shell for the X Window System, it
+provides mechanisms for all the usual shell activities and is intended
+to reduce the training necessary for UNIX novice to become productive
+on your system.
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2013-06-17 15:59:17 UTC
State Changed
From-To: open->closed

Committed. Thanks!