Control: tags 854743 + pending

Dear maintainer,

I've prepared an NMU for golang-github-mailru-easyjson (versioned as 
0.0~git20161103.0.159cdb8-1.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.

diff -Nru golang-github-mailru-easyjson-0.0~git20161103.0.159cdb8/debian/changelog golang-github-mailru-easyjson-0.0~git20161103.0.159cdb8/debian/changelog
--- golang-github-mailru-easyjson-0.0~git20161103.0.159cdb8/debian/changelog	2016-11-29 04:11:38.000000000 +0100
+++ golang-github-mailru-easyjson-0.0~git20161103.0.159cdb8/debian/changelog	2019-04-06 17:50:08.000000000 +0200
@@ -1,3 +1,11 @@
+golang-github-mailru-easyjson (0.0~git20161103.0.159cdb8-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix "FTBFS (32-bit): constant 4294967295 overflows int" with patch from
+    BTS, thanks to Ritesh Raj Sarraf for providing it. (Closes: #854743)
+
+ -- Tobias Frost <t...@debian.org>  Sat, 06 Apr 2019 17:50:08 +0200
+
 golang-github-mailru-easyjson (0.0~git20161103.0.159cdb8-1) unstable; urgency=medium
 
   * Initial release (Closes: #853811)
diff -Nru golang-github-mailru-easyjson-0.0~git20161103.0.159cdb8/debian/patches/fix-ftbfs-32bit-archs.patch golang-github-mailru-easyjson-0.0~git20161103.0.159cdb8/debian/patches/fix-ftbfs-32bit-archs.patch
--- golang-github-mailru-easyjson-0.0~git20161103.0.159cdb8/debian/patches/fix-ftbfs-32bit-archs.patch	1970-01-01 01:00:00.000000000 +0100
+++ golang-github-mailru-easyjson-0.0~git20161103.0.159cdb8/debian/patches/fix-ftbfs-32bit-archs.patch	2019-04-06 17:50:08.000000000 +0200
@@ -0,0 +1,63 @@
+Fix picked from: https://github.com/mailru/easyjson/pull/150/files
+Index: golang-github-mailru-easyjson-0.0~git20161103.0.159cdb8/benchmark/data.go
+===================================================================
+--- golang-github-mailru-easyjson-0.0~git20161103.0.159cdb8.orig/benchmark/data.go
++++ golang-github-mailru-easyjson-0.0~git20161103.0.159cdb8/benchmark/data.go
+@@ -25,12 +25,12 @@ var smallStructData = Entities{
+ type SearchMetadata struct {
+ 	CompletedIn float64 `json:"completed_in"`
+ 	Count       int     `json:"count"`
+-	MaxID       int     `json:"max_id"`
++	MaxID       int64   `json:"max_id"`
+ 	MaxIDStr    string  `json:"max_id_str"`
+ 	NextResults string  `json:"next_results"`
+ 	Query       string  `json:"query"`
+ 	RefreshURL  string  `json:"refresh_url"`
+-	SinceID     int     `json:"since_id"`
++	SinceID     int64   `json:"since_id"`
+ 	SinceIDStr  string  `json:"since_id_str"`
+ }
+ 
+Index: golang-github-mailru-easyjson-0.0~git20161103.0.159cdb8/tests/data.go
+===================================================================
+--- golang-github-mailru-easyjson-0.0~git20161103.0.159cdb8.orig/tests/data.go
++++ golang-github-mailru-easyjson-0.0~git20161103.0.159cdb8/tests/data.go
+@@ -88,10 +88,10 @@ var primitiveTypesString = "{" +
+ 	`"Int32":` + fmt.Sprint(math.MinInt32) + `,` +
+ 	`"Int64":` + fmt.Sprint(int64(math.MinInt64)) + `,` +
+ 
+-	`"Uint":` + fmt.Sprint(math.MaxUint32) + `,` +
++	`"Uint":` + fmt.Sprint(uint32(math.MaxUint32)) + `,` +
+ 	`"Uint8":` + fmt.Sprint(math.MaxUint8) + `,` +
+ 	`"Uint16":` + fmt.Sprint(math.MaxUint16) + `,` +
+-	`"Uint32":` + fmt.Sprint(math.MaxUint32) + `,` +
++	`"Uint32":` + fmt.Sprint(uint32(math.MaxUint32)) + `,` +
+ 	`"Uint64":` + fmt.Sprint(uint64(math.MaxUint64)) + `,` +
+ 
+ 	`"IntString":"` + fmt.Sprint(math.MinInt32) + `",` +
+@@ -100,10 +100,10 @@ var primitiveTypesString = "{" +
+ 	`"Int32String":"` + fmt.Sprint(math.MinInt32) + `",` +
+ 	`"Int64String":"` + fmt.Sprint(int64(math.MinInt64)) + `",` +
+ 
+-	`"UintString":"` + fmt.Sprint(math.MaxUint32) + `",` +
++	`"UintString":"` + fmt.Sprint(uint32(math.MaxUint32)) + `",` +
+ 	`"Uint8String":"` + fmt.Sprint(math.MaxUint8) + `",` +
+ 	`"Uint16String":"` + fmt.Sprint(math.MaxUint16) + `",` +
+-	`"Uint32String":"` + fmt.Sprint(math.MaxUint32) + `",` +
++	`"Uint32String":"` + fmt.Sprint(uint32(math.MaxUint32)) + `",` +
+ 	`"Uint64String":"` + fmt.Sprint(uint64(math.MaxUint64)) + `",` +
+ 
+ 	`"Float32":` + fmt.Sprint(1.5) + `,` +
+@@ -191,10 +191,10 @@ var namedPrimitiveTypesString = "{" +
+ 	`"Int32":` + fmt.Sprint(math.MinInt32) + `,` +
+ 	`"Int64":` + fmt.Sprint(int64(math.MinInt64)) + `,` +
+ 
+-	`"Uint":` + fmt.Sprint(math.MaxUint32) + `,` +
++	`"Uint":` + fmt.Sprint(uint32(math.MaxUint32)) + `,` +
+ 	`"Uint8":` + fmt.Sprint(math.MaxUint8) + `,` +
+ 	`"Uint16":` + fmt.Sprint(math.MaxUint16) + `,` +
+-	`"Uint32":` + fmt.Sprint(math.MaxUint32) + `,` +
++	`"Uint32":` + fmt.Sprint(uint32(math.MaxUint32)) + `,` +
+ 	`"Uint64":` + fmt.Sprint(uint64(math.MaxUint64)) + `,` +
+ 
+ 	`"Float32":` + fmt.Sprint(1.5) + `,` +
diff -Nru golang-github-mailru-easyjson-0.0~git20161103.0.159cdb8/debian/patches/series golang-github-mailru-easyjson-0.0~git20161103.0.159cdb8/debian/patches/series
--- golang-github-mailru-easyjson-0.0~git20161103.0.159cdb8/debian/patches/series	2016-11-29 04:11:38.000000000 +0100
+++ golang-github-mailru-easyjson-0.0~git20161103.0.159cdb8/debian/patches/series	2019-04-06 17:50:08.000000000 +0200
@@ -1 +1,2 @@
 fix-test-generate.patch
+fix-ftbfs-32bit-archs.patch

Attachment: signature.asc
Description: PGP signature

Reply via email to