Github messages for voidlinux
 help / color / mirror / Atom feed
From: ndowens <ndowens@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] giggle: Fix cross build
Date: Mon, 14 Dec 2020 17:36:50 +0100	[thread overview]
Message-ID: <20201214163650.t_Fu9FD-GAsjzhBLECzUwZEYZbn3cmiZVHFg0RHTJLk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27151@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

There is an updated pull request by ndowens against master on the void-packages repository

https://github.com/ndowens/void-packages giggle
https://github.com/void-linux/void-packages/pull/27151

giggle: Fix cross build


A patch file from https://github.com/void-linux/void-packages/pull/27151.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-giggle-27151.patch --]
[-- Type: text/x-diff, Size: 2422 bytes --]

From c9ae4cae140bee7af7847967ce545eb3ddd1b256 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens@artixlinux.org>
Date: Mon, 14 Dec 2020 10:36:26 -0600
Subject: [PATCH] giggle: Fix cross build

---
 srcpkgs/giggle/patches/0001-Fix-cross.patch | 34 +++++++++++++++++++++
 srcpkgs/giggle/template                     |  1 -
 2 files changed, 34 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/giggle/patches/0001-Fix-cross.patch

diff --git a/srcpkgs/giggle/patches/0001-Fix-cross.patch b/srcpkgs/giggle/patches/0001-Fix-cross.patch
new file mode 100644
index 00000000000..9589fdc0ac1
--- /dev/null
+++ b/srcpkgs/giggle/patches/0001-Fix-cross.patch
@@ -0,0 +1,34 @@
+From a3f22386938bd54214011b2b711b55b5fa277698 Mon Sep 17 00:00:00 2001
+From: Nathan Owens <ndowens@artixlinux.org>
+Date: Mon, 14 Dec 2020 10:18:27 -0600
+Subject: [PATCH] Fix cross
+
+---
+ configure | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git configure configure
+index 3faf65b..ddbdb2f 100755
+--- configure
++++ configure
+@@ -13359,7 +13359,7 @@ $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
+ 
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU extensions of strptime()" >&5
+ $as_echo_n "checking for GNU extensions of strptime()... " >&6; }
+-if test "$cross_compiling" = yes; then :
++if test "$cross_compiling" = xyes; then :
+   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+ $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+ as_fn_error $? "cannot run test program while cross compiling
+@@ -13395,7 +13395,7 @@ fi
+ 
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t type" >&5
+ $as_echo_n "checking size of time_t type... " >&6; }
+-if test "$cross_compiling" = yes; then :
++if test "$cross_compiling" = xyes; then :
+   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+ $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+ as_fn_error $? "cannot run test program while cross compiling
+-- 
+2.29.2
+
diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template
index 9da11473757..2e42bcb849f 100644
--- a/srcpkgs/giggle/template
+++ b/srcpkgs/giggle/template
@@ -13,7 +13,6 @@ homepage="https://wiki.gnome.org/Apps/giggle"
 distfiles="${GNOME_SITE}/${pkgname}/${version}/${pkgname}-${version}.tar.xz"
 checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59
 lib32disabled=yes
-nocross=yes
 
 CFLAGS="-fcommon"
 

  reply	other threads:[~2020-12-14 16:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-14 16:36 [PR PATCH] " ndowens
2020-12-14 16:36 ` ndowens [this message]
2020-12-15  8:57 ` sgn
2020-12-15 10:03 ` sgn
2020-12-18  0:27 ` sgn
2020-12-18  0:27 ` [PR PATCH] [Closed]: " sgn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201214163650.t_Fu9FD-GAsjzhBLECzUwZEYZbn3cmiZVHFg0RHTJLk@z \
    --to=ndowens@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).