initial import from Debian
version: 14.3.0-5 commit: bee30ab0fff2fd6af94c62376c8aa4221bb831e0
This commit is contained in:
17
debian/patches/ada-tv_nsec-size.diff
vendored
Normal file
17
debian/patches/ada-tv_nsec-size.diff
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
--- a/src/gcc/ada/s-oscons-tmplt.c
|
||||
+++ b/src/gcc/ada/s-oscons-tmplt.c
|
||||
@@ -1769,9 +1769,12 @@ CNS(MAX_tv_sec, "")
|
||||
struct timespec ts;
|
||||
/*
|
||||
-- Sizes (in bytes) of the components of struct timespec.
|
||||
- -- The tv_sec field is the same than in struct timeval.
|
||||
+ -- The tv_sec component is the same size as in struct timeval.
|
||||
+ -- In order to avoid the endian issues in the glibc __timespec64
|
||||
+ -- struct, we use the same size for the tv_nsec component as the
|
||||
+ -- tv_sec component.
|
||||
*/
|
||||
-#define SIZEOF_tv_nsec (sizeof (ts.tv_nsec))
|
||||
+#define SIZEOF_tv_nsec (sizeof (ts.tv_sec))
|
||||
CND(SIZEOF_tv_nsec, "tv_nsec");
|
||||
}
|
||||
|
Reference in New Issue
Block a user