diff options
author | Eitan Adler <eadler@FreeBSD.org> | 2013-11-12 21:55:54 +0000 |
---|---|---|
committer | Eitan Adler <eadler@FreeBSD.org> | 2013-11-12 21:55:54 +0000 |
commit | e05c3d5287e066fa785c2e7b00436a5d8f44515a (patch) | |
tree | a2d74f92a1a77ef19324ecf57bdc402a4c2472cd /accessibility | |
parent | b2ac854afebf10f2bc655c08fa0fca7c896696a2 (diff) | |
download | ports-e05c3d5287e066fa785c2e7b00436a5d8f44515a.tar.gz ports-e05c3d5287e066fa785c2e7b00436a5d8f44515a.zip |
Notes
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/yasr/Makefile | 2 | ||||
-rw-r--r-- | accessibility/yasr/files/extra-patch-yasr__main.c | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/accessibility/yasr/Makefile b/accessibility/yasr/Makefile index 4cdc49d5ddbe..354e2e37328f 100644 --- a/accessibility/yasr/Makefile +++ b/accessibility/yasr/Makefile @@ -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: diff --git a/accessibility/yasr/files/extra-patch-yasr__main.c b/accessibility/yasr/files/extra-patch-yasr__main.c new file mode 100644 index 000000000000..0e773cf87663 --- /dev/null +++ b/accessibility/yasr/files/extra-patch-yasr__main.c @@ -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> |