diff options
author | Alex Kozlov <ak@FreeBSD.org> | 2012-05-27 17:14:07 +0800 |
---|---|---|
committer | Alex Kozlov <ak@FreeBSD.org> | 2012-05-27 17:14:07 +0800 |
commit | 892c1a675087ebb0f9d341a8de1bd7b8fdd836ee (patch) | |
tree | c2adab4bf3567b2a334dedba69b6c4a9de088db7 /sysutils | |
parent | f2e15dd6eea7e0d47e4a7f8fc92be52293e171ec (diff) | |
download | freebsd-ports-gnome-892c1a675087ebb0f9d341a8de1bd7b8fdd836ee.tar.gz freebsd-ports-gnome-892c1a675087ebb0f9d341a8de1bd7b8fdd836ee.tar.zst freebsd-ports-gnome-892c1a675087ebb0f9d341a8de1bd7b8fdd836ee.zip |
- Unbreak after yacc update in r235723
PR: ports/168311
Submitted by: Jan Beich <jbeich@tormail.org>
Approved by: eadler, itetcu (mentors, implicit)
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/uhidd/Makefile | 2 | ||||
-rw-r--r-- | sysutils/uhidd/files/extra-patch-uhidd-parser.y | 17 |
2 files changed, 19 insertions, 0 deletions
diff --git a/sysutils/uhidd/Makefile b/sysutils/uhidd/Makefile index 2d0f8ab4169f..134d716cf676 100644 --- a/sysutils/uhidd/Makefile +++ b/sysutils/uhidd/Makefile @@ -40,6 +40,8 @@ MAKE_ENV+= DEBUG_FLAGS='${DEBUG_FLAGS}' .if ${OSVERSION} < 800069 IGNORE= does not build with the old USB stack +.elif ${OSVERSION} > 1000012 +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-uhidd-parser.y .endif .if !(exists(${SYSDIR}/Makefile) || exists(${SRC_BASE}/sys/Makefile)) diff --git a/sysutils/uhidd/files/extra-patch-uhidd-parser.y b/sysutils/uhidd/files/extra-patch-uhidd-parser.y new file mode 100644 index 000000000000..e9d0c71f0d18 --- /dev/null +++ b/sysutils/uhidd/files/extra-patch-uhidd-parser.y @@ -0,0 +1,17 @@ +--- uhidd/parser.y~ ++++ uhidd/parser.y +@@ -32,13 +32,13 @@ + #include <err.h> + #include <errno.h> + #include <stdio.h> ++#include <stdlib.h> + #include <string.h> + #include <syslog.h> + + #include "uhidd.h" + + extern int yylex(void); +-extern int yyparse(void); + extern int lineno; + extern FILE *yyin; + |