Skip to content

Commit

Permalink
x11-libs/wxGTK: fix ld.lld errors: version script assignment failed: …
Browse files Browse the repository at this point in the history
…symbol not defined

ld.lld 17 fix, similar to #34595

Closes: https://bugs.gentoo.org/915154
Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
  • Loading branch information
AngryLoki committed Jan 21, 2024
1 parent 9c828d9 commit 2c057eb
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 11 deletions.
7 changes: 5 additions & 2 deletions x11-libs/wxGTK/wxGTK-3.0.4-r5.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit multilib-minimal
inherit multilib-minimal flag-o-matic

DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit"
HOMEPAGE="https://wxwidgets.org/"
Expand Down Expand Up @@ -53,6 +53,9 @@ PATCHES=(
)

multilib_src_configure() {
# Workaround for bug #34595
append-ldflags $(test-flags-CCLD -Wl,--undefined-version)

local myconf=(
# X independent options
--with-zlib=sys
Expand Down
7 changes: 5 additions & 2 deletions x11-libs/wxGTK/wxGTK-3.0.5.1-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit multilib-minimal
inherit multilib-minimal flag-o-matic

WXSUBVERSION=${PV}-gtk3 # 3.0.5.1-gtk3
WXVERSION=${WXSUBVERSION%.*} # 3.0.5
Expand Down Expand Up @@ -92,6 +92,9 @@ src_prepare() {
}

multilib_src_configure() {
# Workaround for bug #34595
append-ldflags $(test-flags-CCLD -Wl,--undefined-version)

# X independent options
local myeconfargs=(
--with-zlib=sys
Expand Down
7 changes: 5 additions & 2 deletions x11-libs/wxGTK/wxGTK-3.2.1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit multilib-minimal
inherit multilib-minimal flag-o-matic

WXSUBVERSION=${PV}-gtk3 # 3.2.1-gtk3
WXVERSION=${PV} # 3.2.1
Expand Down Expand Up @@ -124,6 +124,9 @@ src_prepare() {
}

multilib_src_configure() {
# Workaround for bug #34595
append-ldflags $(test-flags-CCLD -Wl,--undefined-version)

# X independent options
local myeconfargs=(
--with-zlib=sys
Expand Down
7 changes: 5 additions & 2 deletions x11-libs/wxGTK/wxGTK-3.2.2.1-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit multilib-minimal
inherit multilib-minimal flag-o-matic

WXSUBVERSION="${PV}-gtk3" # 3.2.1-gtk3
WXVERSION="$(ver_cut 1-3)" # 3.2.1
Expand Down Expand Up @@ -126,6 +126,9 @@ src_prepare() {
}

multilib_src_configure() {
# Workaround for bug #34595
append-ldflags $(test-flags-CCLD -Wl,--undefined-version)

# X independent options
local myeconfargs=(
--with-zlib=sys
Expand Down
7 changes: 5 additions & 2 deletions x11-libs/wxGTK/wxGTK-3.2.2.1-r2.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit multilib-minimal
inherit multilib-minimal flag-o-matic

WXSUBVERSION="${PV}-gtk3" # 3.2.1-gtk3
WXVERSION="$(ver_cut 1-3)" # 3.2.1
Expand Down Expand Up @@ -126,6 +126,9 @@ src_prepare() {
}

multilib_src_configure() {
# Workaround for bug #34595
append-ldflags $(test-flags-CCLD -Wl,--undefined-version)

# X independent options
local myeconfargs=(
--with-zlib=sys
Expand Down
5 changes: 4 additions & 1 deletion x11-libs/wxGTK/wxGTK-3.2.2.1-r3.ebuild
Expand Up @@ -3,7 +3,7 @@

EAPI=8

inherit multilib-minimal
inherit multilib-minimal flag-o-matic

WXSUBVERSION="${PV}-gtk3" # 3.2.1-gtk3
WXVERSION="$(ver_cut 1-3)" # 3.2.1
Expand Down Expand Up @@ -126,6 +126,9 @@ src_prepare() {
}

multilib_src_configure() {
# Workaround for bug #34595
append-ldflags $(test-flags-CCLD -Wl,--undefined-version)

# X independent options
local myeconfargs=(
--with-zlib=sys
Expand Down

0 comments on commit 2c057eb

Please sign in to comment.