diff options
Diffstat (limited to 'dev-ml/ocamlnet')
-rw-r--r-- | dev-ml/ocamlnet/files/ocamlnet-4.1.9-unboundLexer.patch | 10 | ||||
-rw-r--r-- | dev-ml/ocamlnet/ocamlnet-4.1.9.ebuild | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/dev-ml/ocamlnet/files/ocamlnet-4.1.9-unboundLexer.patch b/dev-ml/ocamlnet/files/ocamlnet-4.1.9-unboundLexer.patch new file mode 100644 index 000000000000..416df217c035 --- /dev/null +++ b/dev-ml/ocamlnet/files/ocamlnet-4.1.9-unboundLexer.patch @@ -0,0 +1,10 @@ +--- a/src/rpc-generator/Makefile 2022-12-22 08:32:49.839794123 +0100 ++++ b/src/rpc-generator/Makefile 2022-12-22 08:34:48.185817182 +0100 +@@ -31,4 +31,7 @@ + rpcgen-packlist: + echo $(BINDIR)/ocamlrpcgen >rpcgen-packlist + ++main.cmo: lexer.cmo ++lexer.cmo: parser.cmo ++ + include depend diff --git a/dev-ml/ocamlnet/ocamlnet-4.1.9.ebuild b/dev-ml/ocamlnet/ocamlnet-4.1.9.ebuild index 5eb163cf9132..6bd4d2437240 100644 --- a/dev-ml/ocamlnet/ocamlnet-4.1.9.ebuild +++ b/dev-ml/ocamlnet/ocamlnet-4.1.9.ebuild @@ -35,6 +35,8 @@ RDEPEND=" " DEPEND="${RDEPEND}" +PATCHES=( "${FILESDIR}"/${P}-unboundLexer.patch ) + ocamlnet_use_with() { if use $1; then echo "-with-$2" |