1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/libx11/hotfix-pragma.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 --- libx11/src/xkb/XKBBind.c.vanilla 2021-10-07 00:42:26.913105211 +0200
15 +++ libx11/src/xkb/XKBBind.c 2021-10-07 00:43:08.943103535 +0200
17 #pragma clang diagnostic push
18 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
19 #elif defined(__GNUC__)
20 -#pragma GCC diagnostic push
21 -#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
22 +//#pragma GCC diagnostic push
23 +//#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
25 return XKeycodeToKeysym(dpy, event->keycode, col);
27 #pragma clang diagnostic pop
28 #elif defined(__GNUC__)
29 -#pragma GCC diagnostic pop
30 +//#pragma GCC diagnostic pop