This is an automated email from the git hooks/post-receive script. gregoa pushed a commit to branch master in repository libsereal-decoder-perl.
commit 4e192615a590a729d40fa01217a8f07cf878a262 Author: gregor herrmann <gre...@debian.org> Date: Fri May 16 14:25:37 2014 +0200 Add patch to fix arm* build failures. --- debian/patches/fix-arm-compilation-errors.patch | 28 +++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 29 insertions(+) diff --git a/debian/patches/fix-arm-compilation-errors.patch b/debian/patches/fix-arm-compilation-errors.patch new file mode 100644 index 0000000..39456e3 --- /dev/null +++ b/debian/patches/fix-arm-compilation-errors.patch @@ -0,0 +1,28 @@ +Description: fix some occurances of undeclared variables +Origin: vendor +Forwarded: https://github.com/Sereal/Sereal/issues/47 +Author: gregor herrmann <gre...@debian.org> +Last-Update: 2014-05-16 + +--- a/srl_decoder.c ++++ b/srl_decoder.c +@@ -857,8 +857,9 @@ + { + union myfloat val; + #ifdef __ARM_ARCH ++ U8 tmp[sizeof(double)]; + ASSERT_BUF_SPACE(dec, sizeof(float), " while reading FLOAT"); +- Copy(dec->pos,v.c,sizeof(float),U8); ++ Copy(dec->pos,val.c,sizeof(float),U8); + val.f= *((float *)tmp); + #else + ASSERT_BUF_SPACE(dec, sizeof(float), " while reading FLOAT"); +@@ -894,7 +895,7 @@ + #ifdef __ARM_ARCH + U8 tmp[sizeof(long double)]; + ASSERT_BUF_SPACE(dec, sizeof(long double), " while reading LONG_DOUBLE"); +- Copy(dec->pos,v.c,sizeof(long double),U8); ++ Copy(dec->pos,val.c,sizeof(long double),U8); + val.ld= *((long double *)tmp); + #else + ASSERT_BUF_SPACE(dec, sizeof(long double), " while reading LONG_DOUBLE"); diff --git a/debian/patches/series b/debian/patches/series index f914225..9ae0302 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ use_a_union_on_ARM_to_ensure_alignment_for_floating_point.patch +fix-arm-compilation-errors.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libsereal-decoder-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits