diff -Nru libbson-xs-perl-0.8.1/bson/bson-context.c libbson-xs-perl-0.8.2/bson/bson-context.c --- libbson-xs-perl-0.8.1/bson/bson-context.c 2019-08-13 12:19:49.000000000 +0000 +++ libbson-xs-perl-0.8.2/bson/bson-context.c 2019-12-05 18:57:45.000000000 +0000 @@ -48,7 +48,7 @@ #if defined(__linux__) static uint16_t -gettid (void) +local_gettid (void) { return syscall (SYS_gettid); } @@ -377,7 +377,7 @@ if ((flags & BSON_CONTEXT_USE_TASK_ID)) { int32_t tid; - if ((tid = gettid ())) { + if ((tid = local_gettid ())) { pid = BSON_UINT16_TO_BE (tid); } } diff -Nru libbson-xs-perl-0.8.1/Changes libbson-xs-perl-0.8.2/Changes --- libbson-xs-perl-0.8.1/Changes 2019-08-13 12:19:49.000000000 +0000 +++ libbson-xs-perl-0.8.2/Changes 2019-12-05 18:57:45.000000000 +0000 @@ -1,5 +1,11 @@ Revision history for BSON-XS +v0.8.2 2019-12-05 13:57:34-05:00 America/New_York + + [Fixed] + + - PERL-1128 Fixed gettid build conflict with newer gcc + v0.8.1 2019-08-13 08:19:37-04:00 America/New_York [!!! END OF LIFE NOTICE !!!] diff -Nru libbson-xs-perl-0.8.1/debian/changelog libbson-xs-perl-0.8.2/debian/changelog --- libbson-xs-perl-0.8.1/debian/changelog 2019-10-20 06:21:42.000000000 +0000 +++ libbson-xs-perl-0.8.2/debian/changelog 2019-12-07 07:27:12.000000000 +0000 @@ -1,14 +1,10 @@ -libbson-xs-perl (0.8.1-1ubuntu1) focal; urgency=medium +libbson-xs-perl (0.8.2-1) unstable; urgency=medium - * Stop defining gettid, which we now get from glibc, fixes FTBFS with 2.30. + * Import upstream version 0.8.2 + * Declare compliance with policy 4.4.1 + * Add "Rules-Requires-Root: no" - -- Adam Conrad Sun, 20 Oct 2019 00:21:42 -0600 - -libbson-xs-perl (0.8.1-1build1) focal; urgency=medium - - * No-change rebuild for the perl update. - - -- Matthias Klose Fri, 18 Oct 2019 19:29:30 +0000 + -- Xavier Guimard Sat, 07 Dec 2019 08:27:12 +0100 libbson-xs-perl (0.8.1-1) unstable; urgency=medium diff -Nru libbson-xs-perl-0.8.1/debian/control libbson-xs-perl-0.8.2/debian/control --- libbson-xs-perl-0.8.1/debian/control 2019-10-20 06:21:42.000000000 +0000 +++ libbson-xs-perl-0.8.2/debian/control 2019-12-07 07:25:20.000000000 +0000 @@ -1,6 +1,5 @@ Source: libbson-xs-perl -Maintainer: Ubuntu Developers -XSBC-Original-Maintainer: Debian Perl Group +Maintainer: Debian Perl Group Uploaders: Xavier Guimard Section: perl Testsuite: autopkgtest-pkg-perl @@ -16,10 +15,11 @@ libtest-fatal-perl, libtie-ixhash-perl, perl -Standards-Version: 4.4.0 +Standards-Version: 4.4.1 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libbson-xs-perl Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libbson-xs-perl.git Homepage: https://metacpan.org/release/BSON-XS +Rules-Requires-Root: no Package: libbson-xs-perl Architecture: any diff -Nru libbson-xs-perl-0.8.1/debian/patches/gettid-in-glibc.patch libbson-xs-perl-0.8.2/debian/patches/gettid-in-glibc.patch --- libbson-xs-perl-0.8.1/debian/patches/gettid-in-glibc.patch 2019-10-20 06:21:24.000000000 +0000 +++ libbson-xs-perl-0.8.2/debian/patches/gettid-in-glibc.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,31 +0,0 @@ -Description: Stop defining gettid, which we now get from glibc -Author: Adam Conrad -Last-Update: 2019-10-20 - ---- libbson-xs-perl-0.8.1.orig/bson/bson-context.c -+++ libbson-xs-perl-0.8.1/bson/bson-context.c -@@ -46,15 +46,6 @@ - static bson_context_t gContextDefault; - - --#if defined(__linux__) --static uint16_t --gettid (void) --{ -- return syscall (SYS_gettid); --} --#endif -- -- - /* - *-------------------------------------------------------------------------- - * -@@ -375,7 +366,7 @@ _bson_context_init (bson_context_t *cont - #if defined(__linux__) - - if ((flags & BSON_CONTEXT_USE_TASK_ID)) { -- int32_t tid; -+ pid_t tid; - - if ((tid = gettid ())) { - pid = BSON_UINT16_TO_BE (tid); diff -Nru libbson-xs-perl-0.8.1/debian/patches/series libbson-xs-perl-0.8.2/debian/patches/series --- libbson-xs-perl-0.8.1/debian/patches/series 2019-10-20 06:20:42.000000000 +0000 +++ libbson-xs-perl-0.8.2/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -gettid-in-glibc.patch diff -Nru libbson-xs-perl-0.8.1/lib/BSON/XS.pm libbson-xs-perl-0.8.2/lib/BSON/XS.pm --- libbson-xs-perl-0.8.1/lib/BSON/XS.pm 2019-08-13 12:19:49.000000000 +0000 +++ libbson-xs-perl-0.8.2/lib/BSON/XS.pm 2019-12-05 18:57:45.000000000 +0000 @@ -21,7 +21,7 @@ # ABSTRACT: XS implementation of MongoDB's BSON serialization use version; -our $VERSION = 'v0.8.1'; +our $VERSION = 'v0.8.2'; # cached for efficiency during decoding # XXX eventually move this into XS @@ -51,7 +51,7 @@ =head1 VERSION -version v0.8.1 +version v0.8.2 =head1 END OF LIFE NOTICE diff -Nru libbson-xs-perl-0.8.1/Makefile.PL libbson-xs-perl-0.8.2/Makefile.PL --- libbson-xs-perl-0.8.1/Makefile.PL 2019-08-13 12:19:49.000000000 +0000 +++ libbson-xs-perl-0.8.2/Makefile.PL 2019-12-05 18:57:45.000000000 +0000 @@ -56,7 +56,7 @@ "lib" => 0, "utf8" => 0 }, - "VERSION" => "v0.8.1", + "VERSION" => "v0.8.2", "XS" => { "xs/XS.xs" => "xs/XS.c" }, diff -Nru libbson-xs-perl-0.8.1/META.json libbson-xs-perl-0.8.2/META.json --- libbson-xs-perl-0.8.1/META.json 2019-08-13 12:19:49.000000000 +0000 +++ libbson-xs-perl-0.8.2/META.json 2019-12-05 18:57:45.000000000 +0000 @@ -111,7 +111,7 @@ "provides" : { "BSON::XS" : { "file" : "lib/BSON/XS.pm", - "version" : "v0.8.1" + "version" : "v0.8.2" } }, "release_status" : "stable", @@ -126,12 +126,12 @@ "web" : "https://github.com/mongodb/mongo-perl-bson-xs" } }, - "version" : "v0.8.1", + "version" : "v0.8.2", "x_authority" : "cpan:MONGODB", "x_contributors" : [ "Paul \"LeoNerd\" Evans " ], - "x_generated_by_perl" : "v5.28.1", - "x_serialization_backend" : "Cpanel::JSON::XS version 4.09" + "x_generated_by_perl" : "v5.30.0", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.15" } diff -Nru libbson-xs-perl-0.8.1/META.yml libbson-xs-perl-0.8.2/META.yml --- libbson-xs-perl-0.8.1/META.yml 2019-08-13 12:19:49.000000000 +0000 +++ libbson-xs-perl-0.8.2/META.yml 2019-12-05 18:57:45.000000000 +0000 @@ -51,7 +51,7 @@ provides: BSON::XS: file: lib/BSON/XS.pm - version: v0.8.1 + version: v0.8.2 requires: BSON: '1.012000' XSLoader: '0' @@ -64,9 +64,9 @@ bugtracker: https://jira.mongodb.org/browse/PERL homepage: https://github.com/mongodb/mongo-perl-bson-xs repository: https://github.com/mongodb/mongo-perl-bson-xs.git -version: v0.8.1 +version: v0.8.2 x_authority: cpan:MONGODB x_contributors: - 'Paul "LeoNerd" Evans ' -x_generated_by_perl: v5.28.1 +x_generated_by_perl: v5.30.0 x_serialization_backend: 'YAML::Tiny version 1.73' diff -Nru libbson-xs-perl-0.8.1/README libbson-xs-perl-0.8.2/README --- libbson-xs-perl-0.8.1/README 2019-08-13 12:19:49.000000000 +0000 +++ libbson-xs-perl-0.8.2/README 2019-12-05 18:57:45.000000000 +0000 @@ -2,7 +2,7 @@ BSON::XS - XS implementation of MongoDB's BSON serialization VERSION - version v0.8.1 + version v0.8.2 END OF LIFE NOTICE Version v0.8.0 is the final feature release of the MongoDB BSON::XS