Patches for aports can be sent to this list

1

[alpine-aports] [PATCH] main/patch: avoid using broken code in cross build

Mobile Stream
Details
Message ID
<1144704567.20180810164636@mobile-stream.com>
Sender timestamp
1533908796
DKIM signature
missing
Download raw message
Patch: +2 -0
Exactly the same rpl_gmtime problem as in main/tar. See the explanation and commit message in the corresponding e-mail message.

---
 main/patch/APKBUILD | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/main/patch/APKBUILD b/main/patch/APKBUILD
index 54993e4656..fabfc95e35 100644
--- a/main/patch/APKBUILD
+++ b/main/patch/APKBUILD
@@ -25,6 +25,8 @@ builddir="$srcdir"/$pkgname-$pkgver
 
 build() {
        cd "$builddir"
+       gl_cv_func_gettimeofday_clobber=no \
+       gl_cv_func_tzset_clobber=no \
        ./configure \
                --build=$CBUILD \
                --host=$CHOST \
-- 
2.18.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Natanael Copa
Details
Message ID
<20180903193445.2baae53d@ncopa-desktop.copa.dup.pw>
In-Reply-To
<1144704567.20180810164636@mobile-stream.com> (view parent)
Sender timestamp
1535996085
DKIM signature
missing
Download raw message
The patch failed for me:

Applying: main/patch: avoid using broken code in cross build
error: patch failed: main/patch/APKBUILD:25
error: main/patch/APKBUILD: patch does not apply
Patch failed at 0001 main/patch: avoid using broken code in cross build


I fixing it manually. Thanks!

-nc

On Fri, 10 Aug 2018 16:46:36 +0300
Mobile Stream <info@mobile-stream.com> wrote:

> Exactly the same rpl_gmtime problem as in main/tar. See the explanation and commit message in the corresponding e-mail message.
> 
> ---
>  main/patch/APKBUILD | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/main/patch/APKBUILD b/main/patch/APKBUILD
> index 54993e4656..fabfc95e35 100644
> --- a/main/patch/APKBUILD
> +++ b/main/patch/APKBUILD
> @@ -25,6 +25,8 @@ builddir="$srcdir"/$pkgname-$pkgver
>  
>  build() {
>         cd "$builddir"
> +       gl_cv_func_gettimeofday_clobber=no \
> +       gl_cv_func_tzset_clobber=no \
>         ./configure \
>                 --build=$CBUILD \
>                 --host=$CHOST \



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---