Stop using objcopy for resources
It interferes with hardening.
This commit is contained in:
parent
8591c00f82
commit
9c8207141e
11
gtk4-no-objcopy.patch
Normal file
11
gtk4-no-objcopy.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- gtk-4.14.4/meson.build.no-objcopy 2024-06-06 10:17:08.764814627 -0400
|
||||||
|
+++ gtk-4.14.4/meson.build 2024-06-06 10:17:31.276931886 -0400
|
||||||
|
@@ -777,6 +777,8 @@
|
||||||
|
can_use_objcopy_for_resources = false
|
||||||
|
endif
|
||||||
|
|
||||||
|
+can_use_objcopy_for_resources = false
|
||||||
|
+
|
||||||
|
project_build_root = meson.current_build_dir()
|
||||||
|
|
||||||
|
gen_visibility_macros = find_program('build-aux/meson/gen-visibility-macros.py')
|
@ -32,6 +32,9 @@ License: LGPL-2.0-or-later
|
|||||||
URL: https://www.gtk.org
|
URL: https://www.gtk.org
|
||||||
Source0: https://download.gnome.org/sources/gtk/4.14/gtk-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/gtk/4.14/gtk-%{version}.tar.xz
|
||||||
|
|
||||||
|
# Using objcopy for resources interferes with hardening
|
||||||
|
Patch0: gtk4-no-objcopy.patch
|
||||||
|
|
||||||
BuildRequires: cups-devel
|
BuildRequires: cups-devel
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: docbook-style-xsl
|
BuildRequires: docbook-style-xsl
|
||||||
|
Loading…
Reference in New Issue
Block a user