* manually add pygments hatchling DEP and update .cache
[t2sde.git] / package / network / ntp / hotfix-gcc14-pthread.patch
blob029d8f4a90e1f1ba351b855c78bea05446c24d20
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/ntp/hotfix-gcc14-pthread.patch
3 # Copyright (C) 2024 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- ntp-4.2.8p18/configure.vanilla 2024-07-17 21:11:10.935639739 +0200
15 +++ ntp-4.2.8p18/configure 2024-07-17 21:11:48.147636153 +0200
16 @@ -23131,7 +23131,8 @@
17 int
18 main (void)
20 -pthread_detach(NULL);
21 +pthread_t tid;
22 +pthread_detach(tid);
24 return 0;
26 --- ntp-4.2.8p18/sntp/configure.vanilla 2024-12-24 13:37:25.849970941 +0100
27 +++ ntp-4.2.8p18/sntp/configure 2024-12-24 13:38:13.050973173 +0100
28 @@ -13732,7 +13732,8 @@
29 int
30 main (void)
32 -pthread_detach(NULL);
33 +pthread_t tid;
34 +pthread_detach(tid);
36 return 0;