# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/libcap/hotfix-gcc-4.2.patch.avr32 # Copyright (C) 2021 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- libcap-2.59/libcap/cap_alloc.c.vanilla 2021-10-07 20:02:03.980617403 +0200 +++ libcap-2.59/libcap/cap_alloc.c 2021-10-07 20:02:23.248618777 +0200 @@ -12,7 +12,7 @@ */ static cap_value_t _cap_max_bits; -__attribute__((constructor (300))) static void _initialize_libcap(void) +__attribute__((constructor)) static void _initialize_libcap(void) { if (_cap_max_bits) { return; --- libcap-2.59/libcap/cap_text.c.vanilla 2021-10-07 20:02:03.978617403 +0200 +++ libcap-2.59/libcap/cap_text.c 2021-10-07 20:02:14.832618177 +0200 @@ -677,7 +677,7 @@ * If the constructor is called (see cap_alloc.c) then we'll need the * corresponding destructor. */ -__attribute__((destructor (300))) static void _cleanup_libcap(void) +__attribute__((destructor)) static void _cleanup_libcap(void) { if (_cap_proc_dir == NULL) { return;