summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@gentoo.org>2023-12-30 15:40:13 +0100
committerPetr Vaněk <arkamar@gentoo.org>2023-12-30 17:56:04 +0100
commit7f895a8c495438df236a79c4d798690295f4e0db (patch)
treeb4a8b220b5a94eba6ff4fb1d1bb39fc624fb1dc3 /app-arch/pdv
parentlinux-mod-r1.eclass: Call module cleanup in postinst (diff)
downloadgentoo-7f895a8c495438df236a79c4d798690295f4e0db.tar.gz
gentoo-7f895a8c495438df236a79c4d798690295f4e0db.tar.bz2
gentoo-7f895a8c495438df236a79c4d798690295f4e0db.zip
app-arch/pdv: reconfigure also project root
It is necessary to reconfigure also project root for modern compiler compatibility. This necessitated updating the no-strip patch to modify extra.mk instead of Makefile.in, responding to the new regeneration process. Closes: https://bugs.gentoo.org/880351 Closes: https://bugs.gentoo.org/906002 Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
Diffstat (limited to 'app-arch/pdv')
-rw-r--r--app-arch/pdv/files/pdv-1.5.1-no-strip.patch11
-rw-r--r--app-arch/pdv/pdv-1.5.1-r4.ebuild4
2 files changed, 7 insertions, 8 deletions
diff --git a/app-arch/pdv/files/pdv-1.5.1-no-strip.patch b/app-arch/pdv/files/pdv-1.5.1-no-strip.patch
index 630bf5eb7c36..4beaeb1c4889 100644
--- a/app-arch/pdv/files/pdv-1.5.1-no-strip.patch
+++ b/app-arch/pdv/files/pdv-1.5.1-no-strip.patch
@@ -1,13 +1,12 @@
-diff -ur pdv-1.5.1-orig/pdv.c pdv-1.5.1/pdv.c
---- pdv-1.5.1-orig/Makefile.in 2008-12-06 23:17:46.000000000 -0800
-+++ pdv-1.5.1/Makefile.in 2008-12-06 23:18:37.000000000 -0800
-@@ -536,7 +536,8 @@
+diff --git a/extra.mk b/extra.mk
+index 65f6e72..e681adb 100644
+--- a/extra.mk
++++ b/extra.mk
+@@ -11,7 +11,6 @@ pdv_fixed.c : Makefile
touch $@
pdv_fixed : pdv_fixed.c pdv
- $(STRIPBIN) pdv
-+ # let portage decide whether to strip binaries
-+ #$(STRIPBIN) pdv
printf "%-5.5s" $$VERSION >> pdv
printf "\000\000\000\000\000\000\000\000" >> pdv
sleep 1
diff --git a/app-arch/pdv/pdv-1.5.1-r4.ebuild b/app-arch/pdv/pdv-1.5.1-r4.ebuild
index b50f939fa91a..d77acc17e472 100644
--- a/app-arch/pdv/pdv-1.5.1-r4.ebuild
+++ b/app-arch/pdv/pdv-1.5.1-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -40,7 +40,7 @@ src_prepare() {
default
# re-build configure script since patch was applied to configure.in
- cd X11 || die
+ # and to refresh old compiler checks, see bugs #880351 and #906002
eautoreconf
}