pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ocaml-ppx_inline_test



Module Name:    pkgsrc
Committed By:   alnsn
Date:           Sun Oct 25 02:13:18 UTC 2026

Modified Files:
        pkgsrc/devel/ocaml-ppx_inline_test: Makefile distinfo
Added Files:
        pkgsrc/devel/ocaml-ppx_inline_test/patches:
            patch-src_ppx__inline__test.ml

Log Message:
Add missing patch.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/ocaml-ppx_inline_test/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/ocaml-ppx_inline_test/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/ocaml-ppx_inline_test/patches/patch-src_ppx__inline__test.ml

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

Modified files:

Index: pkgsrc/devel/ocaml-ppx_inline_test/Makefile
diff -u pkgsrc/devel/ocaml-ppx_inline_test/Makefile:1.10 pkgsrc/devel/ocaml-ppx_inline_test/Makefile:1.11
--- pkgsrc/devel/ocaml-ppx_inline_test/Makefile:1.10    Sun Oct 25 01:43:01 2026
+++ pkgsrc/devel/ocaml-ppx_inline_test/Makefile Sun Oct 25 02:13:17 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2026/10/25 01:43:01 alnsn Exp $
+# $NetBSD: Makefile,v 1.11 2026/10/25 02:13:17 alnsn Exp $
 
 DISTNAME=      ${GITHUB_PROJECT}-0.15.0
 PKGNAME=       ocaml-${DISTNAME}
-PKGREVISION=   3
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=janestreet/}
 GITHUB_PROJECT=        ppx_inline_test

Index: pkgsrc/devel/ocaml-ppx_inline_test/distinfo
diff -u pkgsrc/devel/ocaml-ppx_inline_test/distinfo:1.6 pkgsrc/devel/ocaml-ppx_inline_test/distinfo:1.7
--- pkgsrc/devel/ocaml-ppx_inline_test/distinfo:1.6     Wed May  4 16:55:50 2022
+++ pkgsrc/devel/ocaml-ppx_inline_test/distinfo Sun Oct 25 02:13:17 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2022/05/04 16:55:50 jaapb Exp $
+$NetBSD: distinfo,v 1.7 2026/10/25 02:13:17 alnsn Exp $
 
 BLAKE2s (ppx_inline_test-0.15.0.tar.gz) = d325cc9f7994d0d1e6c3b838c98027a7a4c0044d8ca2bd2ba1d352c259487775
 SHA512 (ppx_inline_test-0.15.0.tar.gz) = 04ea3bc4fc86881d8df50340d5684b8167063293cf0eb0b2c041a6416897d878df22422ea0b8171533dfbe741d5df53a4a9d250370e36a6c7a0a27816b9d3abe
 Size (ppx_inline_test-0.15.0.tar.gz) = 20733 bytes
+SHA1 (patch-src_ppx__inline__test.ml) = b285636a4e1b764b966071f037e88ab4f2f623a7

Added files:

Index: pkgsrc/devel/ocaml-ppx_inline_test/patches/patch-src_ppx__inline__test.ml
diff -u /dev/null pkgsrc/devel/ocaml-ppx_inline_test/patches/patch-src_ppx__inline__test.ml:1.1
--- /dev/null   Sun Oct 25 02:13:18 2026
+++ pkgsrc/devel/ocaml-ppx_inline_test/patches/patch-src_ppx__inline__test.ml   Sun Oct 25 02:13:17 2026
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_ppx__inline__test.ml,v 1.1 2026/10/25 02:13:17 alnsn Exp $
+
+TODO update to 0.15.1 and remove the patch
+https://github.com/janestreet/ppx_inline_test/pull/39
+
+--- src/ppx_inline_test.ml.orig        2022-04-06 00:00:00.000000000 +0000
++++ src/ppx_inline_test.ml
+@@ -82,7 +82,7 @@ let short_desc_of_expr ~max_len e =
+ ;;
+ 
+ let descr ~(loc:Location.t) ?(inner_loc=loc) e_opt id_opt =
+-  let filename  = File_path.get_default_path loc                 in
++  let filename  = loc.loc_start.pos_fname                        in
+   let line      = loc.loc_start.pos_lnum                         in
+   let start_pos = loc.loc_start.pos_cnum - loc.loc_start.pos_bol in
+   let end_pos   = inner_loc.Location.loc_end.pos_cnum - loc.loc_start.pos_bol in



Home | Main Index | Thread Index | Old Index