unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 7e808eeea7067ba0779b5a32d1bc00b5c9e30ec7 795 bytes (raw)
name: gnu/packages/patches/gobject-introspection-cc.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 
From e9b8fa0768a1f0ef7df2659eb559f48433ff82be Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <rg@raghavgururajan.name>
Date: Tue, 7 Sep 2021 16:59:16 -0400
Subject: [PATCH 1/2] Use gcc as the default C compiler if CC is not set.

---
 giscanner/__init__.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/giscanner/__init__.py b/giscanner/__init__.py
index 7c2f365a..607fe341 100644
--- a/giscanner/__init__.py
+++ b/giscanner/__init__.py
@@ -21,6 +21,8 @@ import os
 builddir = os.environ.get('UNINSTALLED_INTROSPECTION_BUILDDIR')
 if builddir is not None:
     __path__.append(os.path.join(builddir, 'giscanner'))  # type: ignore  # mypy issue #1422
+if not 'CC' in os.environ:
+    os.environ['CC'] = 'gcc'
 try:
     from ._version import __version__
 except ImportError:
-- 
2.33.0


debug log:

solving 7e808eeea7 ...
found 7e808eeea7 in https://yhetil.org/guix-patches/20210907213517.28486-1-rg@raghavgururajan.name/
found 6a86b56b44 in https://git.savannah.gnu.org/cgit/guix.git
preparing index
index prepared:
100644 6a86b56b4497a41a61ce355d0ef8ea4be92b2a6a	gnu/packages/patches/gobject-introspection-cc.patch

applying [1/1] https://yhetil.org/guix-patches/20210907213517.28486-1-rg@raghavgururajan.name/
diff --git a/gnu/packages/patches/gobject-introspection-cc.patch b/gnu/packages/patches/gobject-introspection-cc.patch
index 6a86b56b44..7e808eeea7 100644

1:34: trailing whitespace.
-- 
Checking patch gnu/packages/patches/gobject-introspection-cc.patch...
1:36: new blank line at EOF.
+
Applied patch gnu/packages/patches/gobject-introspection-cc.patch cleanly.
warning: 2 lines add whitespace errors.

index at:
100644 7e808eeea7067ba0779b5a32d1bc00b5c9e30ec7	gnu/packages/patches/gobject-introspection-cc.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

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).