svn commit: r333627 - in head/accessibility/yasr: . files
Eitan Adler
eadler at FreeBSD.org
Tue Nov 12 21:55:55 UTC 2013
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 at 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>
More information about the svn-ports-head
mailing list