diff options
author | James Le Cuirot <chewi@gentoo.org> | 2015-11-02 23:45:35 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2015-11-02 23:56:17 +0000 |
commit | 83144fb54096e03da9caf9158bae3d99ac4f6c4b (patch) | |
tree | fc49908031cb4c92ad01f526182cfc5f9e81123b /dev-java/qdox/files | |
parent | dev-java/jmock: Add ~arm keyword (diff) | |
download | gentoo-83144fb54096e03da9caf9158bae3d99ac4f6c4b.tar.gz gentoo-83144fb54096e03da9caf9158bae3d99ac4f6c4b.tar.bz2 gentoo-83144fb54096e03da9caf9158bae3d99ac4f6c4b.zip |
dev-java/qdox: Make build work against jflex 1.6.1
This allows the ~arm keyword to be added. The ~ppc64 keyword has had
to be temporarily dropped due to javacup needing Java 7.
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-java/qdox/files')
-rw-r--r-- | dev-java/qdox/files/jflex-1.6.1.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-java/qdox/files/jflex-1.6.1.patch b/dev-java/qdox/files/jflex-1.6.1.patch new file mode 100644 index 000000000000..4e506246f2a2 --- /dev/null +++ b/dev-java/qdox/files/jflex-1.6.1.patch @@ -0,0 +1,27 @@ +https://github.com/jflex-de/jflex/commit/f312d563777d907bbb12d1e2ac79835ba83ca53c + +--- a/src/grammar/skeleton.inner 2012-11-04 16:16:30.000000000 +0000 ++++ b/src/grammar/skeleton.inner 2015-11-02 20:57:37.566057363 +0000 +@@ -407,15 +407,15 @@ + zzMarkedPos = zzMarkedPosL; + --- char count update + +---- actions +- default: +- if (zzInput == YYEOF && zzStartRead == zzCurrentPos) { +- zzAtEOF = true; ++ if (zzInput == YYEOF && zzStartRead == zzCurrentPos) { ++ zzAtEOF = true; + --- eofvalue +- } +- else { ++ } ++ else { ++--- actions ++ default: + --- no match +- } ++ } + } + } + } |