Apply upstream patch to make oniguruma build correctly on 32-bit
architectures.
Peter Michael Green
3 years ago
|
0 |
rust-onig-sys (69.5.1-2) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
|
|
1 |
|
|
2 |
* Team upload.
|
|
3 |
* Package onig_sys 69.5.1 from crates.io using debcargo 2.4.3
|
|
4 |
* Apply upstream patch to make oniguruma build correctly on 32-bit
|
|
5 |
architectures (Closes: #973499).
|
|
6 |
|
|
7 |
-- Peter Michael Green <plugwash@debian.org> Sun, 01 Nov 2020 21:05:09 +0000
|
|
8 |
|
0 | 9 |
rust-onig-sys (69.5.1-1) unstable; urgency=medium
|
1 | 10 |
|
2 | 11 |
* Package onig_sys 69.5.1 from crates.io using debcargo 2.4.3
|
|
0 |
Patch based on the upstream commit described below
|
|
1 |
with paths updated to reflect the Debian rust-onig-sys
|
|
2 |
package.
|
|
3 |
|
|
4 |
commit c88ab90653c416b63ec994c3883579a15a3bba66
|
|
5 |
Author: Will Speak <lithiumflame@gmail.com>
|
|
6 |
Date: Sun Nov 1 12:14:44 2020 +0000
|
|
7 |
|
|
8 |
Add More Pointer Sizes to Config Header
|
|
9 |
|
|
10 |
This is needed for 32 bit LP32 targets to realise they are 32 bit.
|
|
11 |
|
|
12 |
diff --git a/onig_sys/build.rs b/onig_sys/build.rs
|
|
13 |
index cf1b6f3..4a1016f 100644
|
|
14 |
--- onig_sys/build.rs
|
|
15 |
+++ onig_sys/build.rs
|
|
16 |
@@ -113,7 +113,9 @@ fn compile() {
|
|
17 |
#define HAVE_INTTYPES_H 1
|
|
18 |
#define SIZEOF_INT 4
|
|
19 |
#define SIZEOF_SHORT 2
|
|
20 |
- #define SIZEOF_LONG {}
|
|
21 |
+ #define SIZEOF_LONG {0}
|
|
22 |
+ #define SIZEOF_VOIDP {0}
|
|
23 |
+ #define SIZEOF_LONG_LONG 8
|
|
24 |
",
|
|
25 |
if bits == "64" { "8" } else { "4" }
|
|
26 |
),
|
0 | 0 |
bindgen-version.diff
|
1 | 1 |
builrs.diff
|
|
2 |
add-more-pointer-sizes.diff
|