* added the Unlicense as valid in misc/share/REGISTER
[t2sde.git] / package / graphic / lcms / hotfix-clang.patch
blobc397cfaa55b6627328b13d5310200089c38412c7
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/lcms/hotfix-clang.patch
3 # Copyright (C) 2023 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 --- lcms-1.19/src/cmsio1.c.vanilla 2023-05-12 23:20:24.533079608 +0200
15 +++ lcms-1.19/src/cmsio1.c 2023-05-12 23:23:13.847091833 +0200
16 @@ -22,6 +22,9 @@
18 // ICC profile serialization
20 +#define _XOPEN_SOURCE /* See feature_test_macros(7) */
21 +#include <unistd.h>
22 +#include <strings.h>
24 #include "lcms.h"