commit:     7f895a8c495438df236a79c4d798690295f4e0db
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 30 14:40:13 2023 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Sat Dec 30 16:56:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f895a8c

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 <AT> gentoo.org>

 app-arch/pdv/files/pdv-1.5.1-no-strip.patch | 11 +++++------
 app-arch/pdv/pdv-1.5.1-r4.ebuild            |  4 ++--
 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
 }
 

Reply via email to