File: fix_gcc-10.patch

package info (click to toggle)
gluegen2 2.3.2-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,420 kB
  • sloc: java: 45,952; xml: 2,960; ansic: 2,670; cpp: 1,694; sh: 1,251; pascal: 591; asm: 162; makefile: 53
file content (20 lines) | stat: -rw-r--r-- 752 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
Description: Fix ftbfs with GCC-10

Author: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Bug-Debian: https://bugs.debian.org/957276
Forwarded: no

---

--- gluegen2-2.3.2.orig/src/junit/com/jogamp/gluegen/test/junit/generation/test1.h
+++ gluegen2-2.3.2/src/junit/com/jogamp/gluegen/test/junit/generation/test1.h
@@ -299,9 +299,6 @@ MYAPI MYAPIConfig *  MYAPIENTRY typeTest
 #define HUGE_VALF_3        ((int) 1e53)
 #define DOUBLE_DEFINE_BRACKETS_3 HUGE_VALF_3
 
-size_t unsigned_size_t_1;
-ptrdiff_t a_signed_pointer_t_1;
-
 MYAPI int32_t   MYAPIENTRY typeTestInt32T(const int32_t i1, int32_t i2);
 MYAPI uint32_t  MYAPIENTRY typeTestUInt32T(const uint32_t ui1, uint32_t ui2);
 MYAPI int64_t   MYAPIENTRY typeTestInt64T(const int64_t i1, int64_t i2);