diff options
author | Takuya Wakazono <pastalian46@gmail.com> | 2024-03-24 19:42:30 +0900 |
---|---|---|
committer | Takuya Wakazono <pastalian46@gmail.com> | 2024-03-24 19:42:30 +0900 |
commit | 7dd663c363769ecf11e29a127c5819ab67d478ea (patch) | |
tree | ae3f055e0285fe9254a1bf07ae5719d921a7f543 /app-admin | |
parent | sys-boot/boot-repair-iso-download: new package (diff) | |
download | guru-7dd663c363769ecf11e29a127c5819ab67d478ea.tar.gz guru-7dd663c363769ecf11e29a127c5819ab67d478ea.tar.bz2 guru-7dd663c363769ecf11e29a127c5819ab67d478ea.zip |
app-admin/grub-customizer: prevent -fPIE being added
Closes: https://bugs.gentoo.org/927479
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/grub-customizer/files/grub-customizer-5.2.4-fix-flags.patch | 10 | ||||
-rw-r--r-- | app-admin/grub-customizer/grub-customizer-5.2.4-r1.ebuild (renamed from app-admin/grub-customizer/grub-customizer-5.2.4.ebuild) | 5 |
2 files changed, 15 insertions, 0 deletions
diff --git a/app-admin/grub-customizer/files/grub-customizer-5.2.4-fix-flags.patch b/app-admin/grub-customizer/files/grub-customizer-5.2.4-fix-flags.patch new file mode 100644 index 000000000..a21134ab1 --- /dev/null +++ b/app-admin/grub-customizer/files/grub-customizer-5.2.4-fix-flags.patch @@ -0,0 +1,10 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -3,7 +3,6 @@ cmake_minimum_required(VERSION 2.6.2) # may be lower + + ADD_DEFINITIONS(-std=c++11) + +-set(CMAKE_POSITION_INDEPENDENT_CODE ON) + + find_package(PkgConfig) + diff --git a/app-admin/grub-customizer/grub-customizer-5.2.4.ebuild b/app-admin/grub-customizer/grub-customizer-5.2.4-r1.ebuild index 597552105..44ed375cd 100644 --- a/app-admin/grub-customizer/grub-customizer-5.2.4.ebuild +++ b/app-admin/grub-customizer/grub-customizer-5.2.4-r1.ebuild @@ -24,6 +24,11 @@ RDEPEND=" " BDEPEND="virtual/pkgconfig" +PATCHES=( + # prevent -fPIE being added + "${FILESDIR}/${P}-fix-flags.patch" +) + src_prepare() { cmake_src_prepare gunzip misc/manpage.gz || die |