Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 770915 Details for
Bug 832756
www-apps/gitea-1.16.0 builds but segfaults
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ebuild patch to manage pie
gitea_pie.patch (text/plain), 1.02 KB, created by
jon R-B
on 2022-04-15 15:23:21 UTC
(
hide
)
Description:
ebuild patch to manage pie
Filename:
MIME Type:
Creator:
jon R-B
Created:
2022-04-15 15:23:21 UTC
Size:
1.02 KB
patch
obsolete
>--- gitea-1.16.5.ebuild 2022-03-26 10:49:07.783165726 +0000 >+++ gitea-1.16.5-r1.ebuild 2022-04-15 16:13:23.543487354 +0100 >@@ -3,7 +3,7 @@ > > EAPI=8 > >-inherit fcaps go-module tmpfiles systemd >+inherit fcaps go-module tmpfiles systemd flag-o-matic > > DESCRIPTION="A painless self-hosted Git service" > HOMEPAGE="https://gitea.io https://github.com/go-gitea/gitea" >@@ -13,7 +13,7 @@ > > LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0" > SLOT="0" >-IUSE="+acct pam sqlite" >+IUSE="+acct pam sqlite pie" > > DEPEND=" > acct? ( >@@ -28,6 +28,7 @@ > ) > FILECAPS=( > -m 711 cap_net_bind_service+ep usr/bin/gitea >+ > ) > > RESTRICT="test" >@@ -52,6 +53,12 @@ > fi > } > >+src_configure() { >+ # bug 832756 - PIE build issues >+ filter-flags -fPIE >+ filter-ldflags -fPIE -pie >+} >+ > src_compile() { > local gitea_tags=( > bindata >@@ -69,7 +76,12 @@ > TAGS="${gitea_tags[*]}" > ) > >- env "${makeenv[@]}" emake backend >+ GOFLAGS="" >+ if use pie ; then >+ GOFLAGS+="-buildmode=pie" >+ fi >+ >+ env "${makeenv[@]}" emake EXTRA_GOFLAGS="$GOFLAGS" backend > } > > src_install() {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 832756
: 770915