diff options
author | Maxim Cournoyer <[email protected]> | 2022-09-04 21:27:55 -0400 |
---|---|---|
committer | Maxim Cournoyer <[email protected]> | 2022-09-13 00:20:38 -0400 |
commit | b48162d3c98625a87b77da67578bbaa1843f693d (patch) | |
tree | 2b99471b9c178db12de4b207285ddbf1bbe8d2ea /gnu/packages/patches/gobject-introspection-cc-1.72.patch | |
parent | 579facddec29ec47c0b1bd9c0489fcecdc758f4c (diff) |
gnu: Add gobject-introspection-next.
* gnu/packages/glib.scm (gobject-introspection-next): New variable.
* gnu/packages/patches/gobject-introspection-absolute-shlib-path-1.72.patch:
New file.
* gnu/packages/patches/gobject-introspection-cc-1.72.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): Register them.
Diffstat (limited to 'gnu/packages/patches/gobject-introspection-cc-1.72.patch')
-rw-r--r-- | gnu/packages/patches/gobject-introspection-cc-1.72.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/patches/gobject-introspection-cc-1.72.patch b/gnu/packages/patches/gobject-introspection-cc-1.72.patch new file mode 100644 index 0000000000..d3b1df82af --- /dev/null +++ b/gnu/packages/patches/gobject-introspection-cc-1.72.patch @@ -0,0 +1,15 @@ +Use gcc as the default C compiler if CC is not set. + +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: |