diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2018-12-03 16:21:35 +0100 |
---|---|---|
committer | Kei Kebreau <kkebreau@posteo.net> | 2019-06-20 23:24:34 -0400 |
commit | 036c86be5ad6d960d3f8e3b06e15bc368c77957d (patch) | |
tree | 036cd6089db786ee5e3eb77dcfaef9def99fe6a5 /gnu/packages/patches/gobject-introspection-cc.patch | |
parent | 6c237a2d7bfa3c7be02c069e5c24a2b401a51864 (diff) | |
download | guix-036c86be5ad6d960d3f8e3b06e15bc368c77957d.tar guix-036c86be5ad6d960d3f8e3b06e15bc368c77957d.tar.gz |
gnu: gobject-introspection: Update to 1.58.1.
* gnu/packages/glib.scm (gobject-introspection): Update to 1.58.1.
[source]: Remove snippet.
[arguments]: Add phase "do-not-use-/usr/bin/env".
[inputs]: Replace python-2 with python-wrapper; add zlib.
[native-inputs]: Add autoconf and automake to be able to keep using the
gnu-build-system.
* gnu/packages/patches/gobject-introspection-cc.patch: Update patch to apply
to latest version.
Diffstat (limited to 'gnu/packages/patches/gobject-introspection-cc.patch')
-rw-r--r-- | gnu/packages/patches/gobject-introspection-cc.patch | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gnu/packages/patches/gobject-introspection-cc.patch b/gnu/packages/patches/gobject-introspection-cc.patch index d9cacf4ca7..6a86b56b44 100644 --- a/gnu/packages/patches/gobject-introspection-cc.patch +++ b/gnu/packages/patches/gobject-introspection-cc.patch @@ -1,11 +1,14 @@ Use gcc as the default C compiler if CC is not set. - ---- gobject-introspection-1.44.0.orig/giscanner/__init__.py 2014-08-04 22:37:07.000000000 +0800 -+++ gobject-introspection-1.44.0/giscanner/__init__.py 2015-04-20 17:30:26.507697234 +0800 -@@ -22,3 +22,5 @@ +diff -ru gobject-introspection-1.58.1.orig/giscanner/__init__.py gobject-introspection-1.58.1/giscanner/__init__.py +--- gobject-introspection-1.58.1.orig/giscanner/__init__.py 1970-01-01 01:00:00.000000000 +0100 ++++ gobject-introspection-1.58.1/giscanner/__init__.py 2018-12-03 13:33:28.788971299 +0100 +@@ -22,6 +22,8 @@ builddir = os.environ.get('UNINSTALLED_INTROSPECTION_BUILDDIR') if builddir is not None: __path__.append(os.path.join(builddir, 'giscanner')) +if not 'CC' in os.environ: + os.environ['CC'] = 'gcc' + try: + from ._version import __version__ + except ImportError: |