Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gha patch ko #25

Open
wants to merge 2 commits into
base: all-your-base
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions shell/re-patch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ for package in $(cd patches ; find . -maxdepth 1 -mindepth 1 -type d | sed -e 's
patch -p1 --set-time --no-backup-if-mismatch < ../$patch
cd ..
(TZ=UTC+0 diff -Naur a b || true) > $patch.new
if ! diff -q $patch $patch.new &>/dev/null ; then
# if ! diff -q $patch $patch.new &>/dev/null ; then
mv $patch $patch.old
mv $patch.new $patch
else
rm $patch.new
fi
# else
# rm $patch.new
# fi
rm -rf a
mv b a
done
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
diff -Naur a/src/cmdliner_docgen.ml b/src/cmdliner_docgen.ml
--- a/src/cmdliner_docgen.ml 2019-06-14 09:55:03.000000000 +0000
+++ b/src/cmdliner_docgen.ml 2019-11-21 14:29:33.000000000 +0000
@@ -146,7 +146,7 @@
@@ -146,7 +146,8 @@
| Cmdliner_info.Val v ->
match Lazy.force v with
| "" -> strf "%s" (or_env ~value:false a)
- | v -> strf "absent=%s%s" v (or_env ~value:true a)
+ | v -> strf "absent=%s%s" (esc v) (or_env ~value:true a)
+
in
let optvopt = match Cmdliner_info.arg_opt_kind a with
| Cmdliner_info.Opt_vopt v -> strf "default=%s" v
3 changes: 2 additions & 1 deletion src_ext/patches/extlib/extlib-1.7.5.patch
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
diff -Naur a/src/configure.ml b/src/configure.ml
--- a/src/configure.ml 2021-01-19 23:51:04.000000000 +0000
+++ b/src/configure.ml 2021-07-22 11:07:11.000000000 +0000
@@ -1,15 +1,21 @@
@@ -1,15 +1,22 @@
open Printf

let show_bytes s =
- let (_:int) = Sys.command (sprintf "ocamlfind query -format %s bytes" (Filename.quote s)) in ()
+ if Sys.command (sprintf "ocamlfind query -format %s bytes" (Filename.quote s)) <> 0 then
+ print_endline "WITH_DUMMY"
+
+
+let define v =
+ print_endline "-D";
+ print_endline v
Expand Down