Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2013 21:55:54 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333627 - in head/accessibility/yasr: . files
Message-ID:  <201311122155.rACLtsRa023866@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Tue Nov 12 21:55:54 2013
New Revision: 333627
URL: http://svnweb.freebsd.org/changeset/ports/333627

Log:
  Fix build error on 9.x+
  
  Approved by:	 David K. Gerry <david.k.gerry@gmail.com> (maintainer)

Added:
  head/accessibility/yasr/files/extra-patch-yasr__main.c   (contents, props changed)
Modified:
  head/accessibility/yasr/Makefile

Modified: head/accessibility/yasr/Makefile
==============================================================================
--- head/accessibility/yasr/Makefile	Tue Nov 12 21:54:36 2013	(r333626)
+++ head/accessibility/yasr/Makefile	Tue Nov 12 21:55:54 2013	(r333627)
@@ -40,7 +40,7 @@ PLIST_DIRS=	%%DATADIR%%
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} > 900007
-BROKEN=		fails to build with new utmpx
+EXTRA_PATCHES=	${FILESDIR}/extra-patch-yasr__main.c
 .endif
 
 post-patch:

Added: head/accessibility/yasr/files/extra-patch-yasr__main.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/accessibility/yasr/files/extra-patch-yasr__main.c	Tue Nov 12 21:55:54 2013	(r333627)
@@ -0,0 +1,14 @@
+--- ./yasr/main.c.orig	2013-11-11 18:44:59.238198747 -0500
++++ ./yasr/main.c	2013-11-11 18:45:09.927197900 -0500
+@@ -24,11 +24,7 @@
+ 
+ #include "yasr.h"
+ #include "term.h"
+-#include <utmp.h>
+-#ifdef HAVE_UTMPX_H
+ #include <utmpx.h>
+-#endif
+-#define UTMP_HACK
+ #include <unistd.h>
+ #include <sys/types.h>
+ #include <sys/wait.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311122155.rACLtsRa023866>