diff options
Diffstat (limited to '')
-rw-r--r-- | textproc/p5-BibTeX-Parser/Makefile | 2 | ||||
-rw-r--r-- | textproc/p5-BibTeX-Parser/distinfo | 6 | ||||
-rw-r--r-- | textproc/p5-BibTeX-Parser/files/patch-lib_BibTeX_Parser_Author.pm | 11 | ||||
-rw-r--r-- | textproc/p5-BibTeX-Parser/files/patch-lib_BibTeX_Parser_Entry.pm | 11 | ||||
-rw-r--r-- | textproc/tree-sitter-grammars/Makefile | 4 | ||||
-rw-r--r-- | textproc/tree-sitter-grammars/files/patch-src_main.rs | 8 |
6 files changed, 16 insertions, 26 deletions
diff --git a/textproc/p5-BibTeX-Parser/Makefile b/textproc/p5-BibTeX-Parser/Makefile index b61a676e591a..cc43ba6212f1 100644 --- a/textproc/p5-BibTeX-Parser/Makefile +++ b/textproc/p5-BibTeX-Parser/Makefile @@ -1,5 +1,5 @@ PORTNAME= BibTeX-Parser -PORTVERSION= 1.92 +PORTVERSION= 1.93 CATEGORIES= textproc perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:BORISV diff --git a/textproc/p5-BibTeX-Parser/distinfo b/textproc/p5-BibTeX-Parser/distinfo index 05a48bf36b99..5e91e2bd4e0a 100644 --- a/textproc/p5-BibTeX-Parser/distinfo +++ b/textproc/p5-BibTeX-Parser/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1752262879 -SHA256 (BibTeX-Parser-1.92.tar.gz) = 5995391d232d75c846456eaf23c385d156bf4c0f98aa6ac7a21de4575a324763 -SIZE (BibTeX-Parser-1.92.tar.gz) = 28819 +TIMESTAMP = 1757520516 +SHA256 (BibTeX-Parser-1.93.tar.gz) = 6ea3682cd6ecb91a772d7c233366f1a51258253997a208d1451deda56487a5ca +SIZE (BibTeX-Parser-1.93.tar.gz) = 28939 diff --git a/textproc/p5-BibTeX-Parser/files/patch-lib_BibTeX_Parser_Author.pm b/textproc/p5-BibTeX-Parser/files/patch-lib_BibTeX_Parser_Author.pm deleted file mode 100644 index 0051d3abf59e..000000000000 --- a/textproc/p5-BibTeX-Parser/files/patch-lib_BibTeX_Parser_Author.pm +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/BibTeX/Parser/Author.pm.orig 2025-07-11 19:47:50 UTC -+++ lib/BibTeX/Parser/Author.pm -@@ -5,7 +5,7 @@ use strict; - - use warnings; - use strict; --use BibTeX::Parser qw (_split_braced_string); -+use BibTeX::Parser; - - use overload - '""' => \&to_string; diff --git a/textproc/p5-BibTeX-Parser/files/patch-lib_BibTeX_Parser_Entry.pm b/textproc/p5-BibTeX-Parser/files/patch-lib_BibTeX_Parser_Entry.pm deleted file mode 100644 index 6da048ae52a8..000000000000 --- a/textproc/p5-BibTeX-Parser/files/patch-lib_BibTeX_Parser_Entry.pm +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/BibTeX/Parser/Entry.pm.orig 2025-07-11 19:47:56 UTC -+++ lib/BibTeX/Parser/Entry.pm -@@ -7,7 +7,7 @@ use BibTeX::Parser::Author; - use strict; - - use BibTeX::Parser::Author; --use BibTeX::Parser qw (_split_braced_string); -+use BibTeX::Parser; - - sub new { - my ($class, $type, $key, $parse_ok, $fieldsref) = @_; diff --git a/textproc/tree-sitter-grammars/Makefile b/textproc/tree-sitter-grammars/Makefile index 586c9ea4c669..c2aec35d5499 100644 --- a/textproc/tree-sitter-grammars/Makefile +++ b/textproc/tree-sitter-grammars/Makefile @@ -60,6 +60,10 @@ post-extract: ${CP} ${DISTDIR}/${LANG_HASH}/languages.toml ${WRKSRC} +post-patch: + ${REINPLACE_CMD} "s#WRKDIR#${WRKDIR}#" \ + ${WRKSRC}/src/main.rs + post-build: cd ${WRKSRC}; \ ${CARGO_TARGET_DIR}/release/build-tree-sitter --output ./output --tmp ${WRKSRC}/grammars diff --git a/textproc/tree-sitter-grammars/files/patch-src_main.rs b/textproc/tree-sitter-grammars/files/patch-src_main.rs index 4197c86a3f26..ea6c62211292 100644 --- a/textproc/tree-sitter-grammars/files/patch-src_main.rs +++ b/textproc/tree-sitter-grammars/files/patch-src_main.rs @@ -31,3 +31,11 @@ let path = if let Some(subpath) = grammar.source.subpath.as_ref() { path.join(subpath) } else { +@@ -171,6 +171,7 @@ fn build_tree_sitter(name: &str, path: &Path, output: + fn build_tree_sitter(name: &str, path: &Path, output: &Path) -> Result<()> { + println!("-----------------------------------"); + println!("now building tree sitter for {name}"); ++ std::env::set_var("XDG_CACHE_HOME", "WRKDIR/.cache"); + let output = Command::new("tree-sitter") + .current_dir(path) + .arg("build") |