unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 64287@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>,
	Andreas Enge <andreas@enge.fr>,
	Efraim Flashner <efraim@flashner.co.il>,
	Eric Bavier <bavier@posteo.net>
Subject: [bug#64287] [PATCH 3/9] gnu: eye: Fix build.
Date: Sun, 25 Jun 2023 22:28:15 +0100	[thread overview]
Message-ID: <f1529d8e867762b9782b12bd77efe8383d68676d.1687727967.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <cover.1687727967.git.sharlatanus@gmail.com>

* gnu/packages/astronomy.scm (eye): Fix build.
[source]: Swap to 'git-fetch
[arguments]: Add CPPFLAGS to pass build with GCC 10.
---
 gnu/packages/astronomy.scm | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 17bc4ed7d7..326a9a170e 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -579,12 +579,21 @@ (define-public eye
     (version "1.4.1")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://www.astromatic.net/download/eye/"
-                           "eye-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/astromatic/eye")
+             (commit version)))
        (sha256
-        (base32 "092qhzcbrkcfidbx4bv9wz42w297n80jk7a6kwyi9a3fjfz81d7k"))))
+        (base32 "1j8rpgz3fjp6fw0qmxgfqycf3n01fzxds4w12vgyrhbnk658ia41"))
+       (file-name (git-file-name name version))))
     (build-system gnu-build-system)
+    (arguments
+     (list
+      #:configure-flags
+      #~(list
+         ;; Address this link error:
+         ;; ld: ... multiple definition of ... first defined here
+         "CPPFLAGS=-O2 -g -fcommon")))
     (home-page "https://www.astromatic.net/software/eye")
     (synopsis "Small image feature detector using machine learning")
     (description
-- 
2.40.1





  parent reply	other threads:[~2023-06-25 21:30 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-25 21:26 [bug#64287] [PATCH 0/9]: gnu: Monthly astronomy packages update II Sharlatan Hellseher
2023-06-25 21:28 ` [bug#64287] [PATCH 1/9] gnu: weightwatcher: Fix build Sharlatan Hellseher
2023-06-25 21:28 ` [bug#64287] [PATCH 2/9] gnu: swarp: Update to 2.41.2, fix build Sharlatan Hellseher
2023-06-25 21:28 ` Sharlatan Hellseher [this message]
2023-06-25 21:28 ` [bug#64287] [PATCH 4/9] gnu: missfits: Fix build Sharlatan Hellseher
2023-06-25 21:28 ` [bug#64287] [PATCH 5/9] gnu: skymaker: Update to 3.10.5-0.1a69c47, fix build Sharlatan Hellseher
2023-06-25 21:28 ` [bug#64287] [PATCH 6/9] gnu: stuff: Update to 1.26.0-0.9008dc0, " Sharlatan Hellseher
2023-06-25 21:28 ` [bug#64287] [PATCH 7/9] gnu: xplanet: Use G-expressions Sharlatan Hellseher
2023-06-25 21:28 ` [bug#64287] [PATCH 8/9] gnu: celestia: Update to 1.6.3 Sharlatan Hellseher
2023-06-25 21:28 ` [bug#64287] [PATCH 9/9] gnu: celestia-gtk: Fix build Sharlatan Hellseher
2023-07-04 13:07 ` [bug#64287] Sharlatan Hellseher
2023-07-08 18:56   ` [bug#64287] Sharlatan Hellseher
2023-07-08 19:19     ` [bug#64287] Tobias Geerinckx-Rice via Guix-patches via
2023-07-09  8:41     ` [bug#64287] Sharlatan Hellseher
2023-07-09  8:30 ` bug#64287: Sharlatan Hellseher

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=f1529d8e867762b9782b12bd77efe8383d68676d.1687727967.git.sharlatanus@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=64287@debbugs.gnu.org \
    --cc=andreas@enge.fr \
    --cc=bavier@posteo.net \
    --cc=efraim@flashner.co.il \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).