File: fix-32-bit-adt.patch

package info (click to toggle)
pycxx 7.1.8-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,392 kB
  • sloc: cpp: 6,767; python: 1,138; sh: 85; ansic: 60; makefile: 18
file content (26 lines) | stat: -rw-r--r-- 889 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: Graham Inggs <ginggs@debian.org>
Date: Thu, 25 Jan 2018 11:32:33 +0200
Subject: Fix autopkgtest failure on 32-bit architectures

Bug-Debian: https://bugs.debian.org/888414
Last-Update: 2018-01-26
---
 Demo/Python3/test_assert.hxx | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Demo/Python3/test_assert.hxx b/Demo/Python3/test_assert.hxx
index 0944544..d972e16 100644
--- a/Demo/Python3/test_assert.hxx
+++ b/Demo/Python3/test_assert.hxx
@@ -54,6 +54,11 @@ static void test_assert( const char *description, int benchmark, int value )
     test_assert_scaler( description, "int", benchmark, value );
 }
 
+static void test_assert( const char *description, long benchmark, long value )
+{
+    test_assert_scaler( description, "long", benchmark, value );
+}
+
 #ifdef HAVE_LONG_LONG
 static void test_assert( const char *description, long long benchmark, long long value )
 {