summaryrefslogtreecommitdiff
path: root/tools/pkg/4/xorg-server/diff/libgpg-error.diff
blob: f936e08d5975d7d3e7e8d798e0a02737dc5308bb (plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
diff -Naur libgpg-error-1.45/build-aux/config.sub libgpg-error-patched3/build-aux/config.sub
--- libgpg-error-1.45/build-aux/config.sub	2018-10-24 11:00:20.000000000 +0300
+++ libgpg-error-patched3/build-aux/config.sub	2025-10-15 14:39:02.553948824 +0300
@@ -1358,7 +1358,7 @@
 	     | os2* | vos* | palmos* | uclinux* | nucleus* \
 	     | morphos* | superux* | rtmk* | windiss* \
 	     | powermax* | dnix* | nx6 | nx7 | sei* | dragonfly* \
-	     | skyos* | haiku* | rdos* | toppers* | drops* | es* \
+	     | skyos* | orange* | haiku* | rdos* | toppers* | drops* | es* \
 	     | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
 	     | midnightbsd*)
 	# Remember, each alternative MUST END IN *, to match a version number.
diff -Naur libgpg-error-1.45/src/syscfg/lock-obj-pub.orange.h libgpg-error-patched3/src/syscfg/lock-obj-pub.orange.h
--- libgpg-error-1.45/src/syscfg/lock-obj-pub.orange.h	1970-01-01 03:00:00.000000000 +0300
+++ libgpg-error-patched3/src/syscfg/lock-obj-pub.orange.h	2018-10-12 18:12:38.000000000 +0300
@@ -0,0 +1,25 @@
+## lock-obj-pub.x86_64-pc-linux-gnu.h
+## File created by gen-posix-lock-obj - DO NOT EDIT
+## To be included by mkheader into gpg-error.h
+
+typedef struct
+{
+  long _vers;
+  union {
+    volatile char _priv[40];
+    long _x_align;
+    long *_xp_align;
+  } u;
+} gpgrt_lock_t;
+
+#define GPGRT_LOCK_INITIALIZER {1,{{0,0,0,0,0,0,0,0, \
+                                    0,0,0,0,0,0,0,0, \
+                                    0,0,0,0,0,0,0,0, \
+                                    0,0,0,0,0,0,0,0, \
+                                    0,0,0,0,0,0,0,0}}}
+##
+## Local Variables:
+## mode: c
+## buffer-read-only: t
+## End:
+##
diff -Naur libgpg-error-1.45/tests/t-printf.c libgpg-error-patched3/tests/t-printf.c
--- libgpg-error-1.45/tests/t-printf.c	2018-12-12 11:14:31.000000000 +0300
+++ libgpg-error-patched3/tests/t-printf.c	2025-10-15 14:44:20.729513269 +0300
@@ -449,7 +449,7 @@
 static void
 check_fprintf_sf (void)
 {
-  volatile char *nullptr = NULL; /* Avoid compiler warning.  */
+  
   struct sfstate_s sfstate = {NULL};
   gpgrt_stream_t stream;
   const char *expect;