This is an automated email from the git hooks/post-receive script. ecc-guest pushed a commit to branch master in repository approx.
commit 68c370d6c8fb06bdb4d51c9cbf86dd3d0875ce27 Author: Eric Cooper <e...@cmu.edu> Date: Sat Jun 20 13:03:52 2015 -0400 temporary patches during transition to OCaml 4.02 --- debian/patches/handle_deprecation_warning | 53 +++++++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 54 insertions(+) diff --git a/debian/patches/handle_deprecation_warning b/debian/patches/handle_deprecation_warning new file mode 100644 index 0000000..485e043 --- /dev/null +++ b/debian/patches/handle_deprecation_warning @@ -0,0 +1,53 @@ +Description: handle deprecation of String.create in transtion to OCaml 4.02 + String.create is deprecated in favor of Bytes.create in OCaml 4.02, + causing a warning that is treated as a fatal error without this patch. + But the Bytes module doesn't exist in 4.01, so we can't simply update the code + until after the transition is complete. + . + approx (5.5-2) unstable; urgency=medium + . + * handle String.create deprecation warning during transition to OCaml 4.02 +Author: Eric Cooper <e...@cmu.edu> + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: <vendor|upstream|other>, <url of original patch> +Bug: <url in upstream bugtracker> +Bug-Debian: https://bugs.debian.org/<bugnumber> +Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber> +Forwarded: <no|not-needed|url proving that it has been forwarded> +Reviewed-By: <name and email of someone who approved the patch> +Last-Update: <YYYY-MM-DD> + +--- approx-5.5.orig/Makefile ++++ approx-5.5/Makefile +@@ -1,9 +1,10 @@ + # approx: proxy server for Debian archive files +-# Copyright (C) 2013 Eric C. Cooper <e...@cmu.edu> ++# Copyright (C) 2015 Eric C. Cooper <e...@cmu.edu> + # Released under the GNU General Public License + + OCAMLBUILD := ocamlbuild +-OCAMLBUILD_OPTS := -classic-display ++# Don't fail on deprecation warning 3 during transition to OCaml 4.02 ++OCAMLBUILD_OPTS := -classic-display -cflags -warn-error,A,-warn-error,-3 + + TARGET := native + +--- approx-5.5.orig/_tags ++++ approx-5.5/_tags +@@ -1,8 +1,9 @@ + # approx: proxy server for Debian archive files +-# Copyright (C) 2013 Eric C. Cooper <e...@cmu.edu> ++# Copyright (C) 2015 Eric C. Cooper <e...@cmu.edu> + # Released under the GNU General Public License + +-<**/*.{mli,ml}>: warn_error_A ++# Disable this during transition to OCaml 4.02 due to String.create deprecation ++#<**/*.{mli,ml}>: warn_error_A + + <approx.ml>: use_pcre, use_netstring, use_netcgi, use_nethttpd + <config_file.ml>: use_pcre diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..bb35d98 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +handle_deprecation_warning -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/approx.git _______________________________________________ Pkg-ocaml-maint-commits mailing list Pkg-ocaml-maint-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits