public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: app-admin/grub-customizer/files/, app-admin/grub-customizer/
@ 2024-03-24 19:31 Julien Roy
  0 siblings, 0 replies; only message in thread
From: Julien Roy @ 2024-03-24 19:31 UTC (permalink / raw
  To: gentoo-commits

commit:     7dd663c363769ecf11e29a127c5819ab67d478ea
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sun Mar 24 10:42:30 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sun Mar 24 10:42:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7dd663c3

app-admin/grub-customizer: prevent -fPIE being added

Closes: https://bugs.gentoo.org/927479
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 .../files/grub-customizer-5.2.4-fix-flags.patch                | 10 ++++++++++
 ...customizer-5.2.4.ebuild => grub-customizer-5.2.4-r1.ebuild} |  5 +++++
 2 files changed, 15 insertions(+)

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 0000000000..a21134ab15
--- /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
similarity index 89%
rename from app-admin/grub-customizer/grub-customizer-5.2.4.ebuild
rename to app-admin/grub-customizer/grub-customizer-5.2.4-r1.ebuild
index 5975521050..44ed375cde 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-24 19:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-24 19:31 [gentoo-commits] repo/proj/guru:master commit in: app-admin/grub-customizer/files/, app-admin/grub-customizer/ Julien Roy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox