commit:     4ad254426fb2ca7ed1e4086916688db6c22fed55
Author:     Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Fri Mar 28 06:03:36 2025 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Fri Mar 28 08:47:31 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ad25442

app-editors/qhexedit2: fix bug 952787, rev bump

Closes: https://bugs.gentoo.org/952787
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 .../{qhexedit2-0.8.10.ebuild => qhexedit2-0.8.10-r1.ebuild}       | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/app-editors/qhexedit2/qhexedit2-0.8.10.ebuild 
b/app-editors/qhexedit2/qhexedit2-0.8.10-r1.ebuild
similarity index 87%
rename from app-editors/qhexedit2/qhexedit2-0.8.10.ebuild
rename to app-editors/qhexedit2/qhexedit2-0.8.10-r1.ebuild
index 8bccefc0be85..e453b38b41d6 100644
--- a/app-editors/qhexedit2/qhexedit2-0.8.10.ebuild
+++ b/app-editors/qhexedit2/qhexedit2-0.8.10-r1.ebuild
@@ -59,7 +59,13 @@ src_compile() {
                export PATH="$(qt6_get_bindir):${PATH}"
                python_build() {
                        pushd "${S}" || die
-                       sip-build || die
+                       # sip-build is not able to handle CFLAGS and CXXFLAGS
+                       # so we need to pass them as QMAKE_CFLAGS and 
QMAKE_CXXFLAGS
+                       # https://bugs.gentoo.org/952787
+                       sip-build \
+                               --qmake-setting "QMAKE_CFLAGS += ${CFLAGS}" \
+                               --qmake-setting "QMAKE_CXXFLAGS += ${CXXFLAGS}" 
\
+                               || die
                        popd || die
                }
                python_foreach_impl run_in_build_dir python_build

Reply via email to