diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-04 13:38:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-04 13:38:05 +0000 |
commit | 65e4244e411c4f65f55f2aa91f39e228f4c0680b (patch) | |
tree | 8b41c53639e40128179128339b45b0ed05984142 /media-libs/lcms/files | |
parent | 5ae7efc9abae6bb8f8fac438298427769a91f5ad (diff) |
gentoo auto-resync : 04:03:2023 - 13:38:04
Diffstat (limited to 'media-libs/lcms/files')
3 files changed, 62 insertions, 0 deletions
diff --git a/media-libs/lcms/files/lcms-2.15-meson-big-endian.patch b/media-libs/lcms/files/lcms-2.15-meson-big-endian.patch new file mode 100644 index 000000000000..a40690862d6b --- /dev/null +++ b/media-libs/lcms/files/lcms-2.15-meson-big-endian.patch @@ -0,0 +1,21 @@ +https://github.com/mm2/Little-CMS/pull/360 + +From 4e55c55802e4aee5f65be120291f5f4785483d98 Mon Sep 17 00:00:00 2001 +From: psykose <alice@ayaya.dev> +Date: Thu, 2 Mar 2023 02:22:01 +0000 +Subject: [PATCH] meson: fix big endian cargs + +otherwise they are a string and appending with + [""] +later fails in +plugins/fast_float/testbed/meson.build:5:0: ERROR: The `+` operator of str does not accept objects of type list (['-DPROFILES_DIR="/home/buildozer/aports/main/lcms2/src/lcms2-2.15/plugins/test_profiles/"']) +--- a/meson.build ++++ b/meson.build +@@ -27,7 +27,7 @@ if cc.has_function_attribute('visibility:hidden') + endif + + if host_machine.endian() == 'big' +- cargs = '-DWORDS_BIGENDIAN=1' ++ cargs += '-DWORDS_BIGENDIAN=1' + endif + + diff --git a/media-libs/lcms/files/lcms-2.15-meson-psicc-man-page.patch b/media-libs/lcms/files/lcms-2.15-meson-psicc-man-page.patch new file mode 100644 index 000000000000..665f53d8a594 --- /dev/null +++ b/media-libs/lcms/files/lcms-2.15-meson-psicc-man-page.patch @@ -0,0 +1,15 @@ +https://github.com/mm2/Little-CMS/pull/361 + +From a88767e99bc1b856946229796faf780ec2d5cbef Mon Sep 17 00:00:00 2001 +From: Biswapriyo Nath <nathbappai@gmail.com> +Date: Thu, 2 Mar 2023 15:16:45 +0530 +Subject: [PATCH] meson: Install psicc man page + +--- a/utils/psicc/meson.build ++++ b/utils/psicc/meson.build +@@ -12,3 +12,5 @@ psicc_exe = executable( + psicc_man = files( + 'psicc.1', + ) ++ ++install_man(psicc_man) diff --git a/media-libs/lcms/files/lcms-2.15-meson-samples.patch b/media-libs/lcms/files/lcms-2.15-meson-samples.patch new file mode 100644 index 000000000000..0b451c3922ef --- /dev/null +++ b/media-libs/lcms/files/lcms-2.15-meson-samples.patch @@ -0,0 +1,26 @@ +https://github.com/mm2/Little-CMS/pull/362 + +From 8849dd87ae44216b56c48db2b441f3906e085596 Mon Sep 17 00:00:00 2001 +From: Richard Hughes <richard@hughsie.com> +Date: Thu, 2 Mar 2023 11:54:46 +0000 +Subject: [PATCH] Fix compiling the samples using meson + +--- a/utils/samples/meson.build ++++ b/utils/samples/meson.build +@@ -5,7 +5,7 @@ wtpt_srcs = files( + wtpt_exe = executable( + 'wtpt', + wtpt_srcs, +- dependencies: [liblcms2_dep, common_dep], ++ dependencies: [liblcms2_dep, common_dep, m_dep], + ) + + wtpt_man = files( +@@ -28,6 +28,6 @@ foreach exe, srcs : examples + executable( + exe, + srcs, +- dependencies: [liblcms2_dep], ++ dependencies: [liblcms2_dep, m_dep], + ) + endforeach |