1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/libcap/hotfix-gcc-4.2.patch.avr32
3 # Copyright (C) 2021 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
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 --- libcap-2.59/libcap/cap_alloc.c.vanilla 2021-10-07 20:02:03.980617403 +0200
15 +++ libcap-2.59/libcap/cap_alloc.c 2021-10-07 20:02:23.248618777 +0200
18 static cap_value_t _cap_max_bits;
20 -__attribute__((constructor (300))) static void _initialize_libcap(void)
21 +__attribute__((constructor)) static void _initialize_libcap(void)
25 --- libcap-2.59/libcap/cap_text.c.vanilla 2021-10-07 20:02:03.978617403 +0200
26 +++ libcap-2.59/libcap/cap_text.c 2021-10-07 20:02:14.832618177 +0200
28 * If the constructor is called (see cap_alloc.c) then we'll need the
29 * corresponding destructor.
31 -__attribute__((destructor (300))) static void _cleanup_libcap(void)
32 +__attribute__((destructor)) static void _cleanup_libcap(void)
34 if (_cap_proc_dir == NULL) {