Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / compilers / ocaml / gnused-on-osx-fix.patch
blobdc2bcb869766a215f630ff8f22748dd78265f80b
1 diff -Nuar ocaml-3.11.1/ocamldoc/remove_DEBUG ocaml-3.11.1-nixpkgs/ocamldoc/remove_DEBUG
2 --- ocaml-3.11.1/ocamldoc/remove_DEBUG 2004-04-15 18:18:52.000000000 +0200
3 +++ ocaml-3.11.1-nixpkgs/ocamldoc/remove_DEBUG 2011-01-01 17:37:07.000000000 +0100
4 @@ -18,4 +18,4 @@
5 # respecting the cpp # line annotation conventions
7 echo "# 1 \"$1\""
8 -LC_ALL=C sed -e '/DEBUG/s/.*//' "$1"
9 +grep -v 'DEBUG' "$1"