pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/tree-sitter-python



Module Name:    pkgsrc
Committed By:   he
Date:           Mon May  8 17:24:29 UTC 2023

Modified Files:
        pkgsrc/textproc/tree-sitter-python: Makefile distinfo
Added Files:
        pkgsrc/textproc/tree-sitter-python/patches: patch-src_scanner.cc

Log Message:
tree-sitter-python: include <stdint.h> for UINT16_MAX &c defines.

This is needed on at least NetBSD/macppc, probably elsewhere
in NetBSD as well.
Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/tree-sitter-python/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/tree-sitter-python/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/textproc/tree-sitter-python/patches/patch-src_scanner.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/tree-sitter-python/Makefile
diff -u pkgsrc/textproc/tree-sitter-python/Makefile:1.2 pkgsrc/textproc/tree-sitter-python/Makefile:1.3
--- pkgsrc/textproc/tree-sitter-python/Makefile:1.2     Fri Jan 20 11:14:59 2023
+++ pkgsrc/textproc/tree-sitter-python/Makefile Mon May  8 17:24:29 2023
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2023/01/20 11:14:59 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2023/05/08 17:24:29 he Exp $
 
 DISTNAME=      tree-sitter-python-0.20.0
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    textproc devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=tree-sitter/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}

Index: pkgsrc/textproc/tree-sitter-python/distinfo
diff -u pkgsrc/textproc/tree-sitter-python/distinfo:1.1 pkgsrc/textproc/tree-sitter-python/distinfo:1.2
--- pkgsrc/textproc/tree-sitter-python/distinfo:1.1     Wed Jan 18 10:18:35 2023
+++ pkgsrc/textproc/tree-sitter-python/distinfo Mon May  8 17:24:29 2023
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2023/01/18 10:18:35 wiz Exp $
+$NetBSD: distinfo,v 1.2 2023/05/08 17:24:29 he Exp $
 
 BLAKE2s (tree-sitter-python-0.20.0.tar.gz) = afb9c9a4b12ae57c7d88c4cdc83517cb8a48081b0808df78d566afcf71ae2b92
 SHA512 (tree-sitter-python-0.20.0.tar.gz) = 6eff62f40a0cf95c9acb8bd571ed5d74ab9db7d15104a039273861c28f932c79d5e4d32e3017ed38fe35a8e92660f46bcdab8091a2dd2cc0d9699598a6d46606
 Size (tree-sitter-python-0.20.0.tar.gz) = 155192 bytes
+SHA1 (patch-src_scanner.cc) = 374ca29e91e0b59004c880c791ec43843b37faa5

Added files:

Index: pkgsrc/textproc/tree-sitter-python/patches/patch-src_scanner.cc
diff -u /dev/null pkgsrc/textproc/tree-sitter-python/patches/patch-src_scanner.cc:1.1
--- /dev/null   Mon May  8 17:24:29 2023
+++ pkgsrc/textproc/tree-sitter-python/patches/patch-src_scanner.cc     Mon May  8 17:24:29 2023
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_scanner.cc,v 1.1 2023/05/08 17:24:29 he Exp $
+
+Include <stdint.h> for UINT16_max etc.
+
+--- src/scanner.cc.orig        2022-06-21 19:02:51.000000000 +0000
++++ src/scanner.cc
+@@ -4,6 +4,9 @@
+ #include <cstring>
+ #include <cassert>
+ #include <stdio.h>
++
++#include <stdint.h>   // for UINT16_MAX etc.
++
+ namespace {
+ 
+ using std::vector;



Home | Main Index | Thread Index | Old Index