summary refs log tree commit diff
path: root/gnu/packages/swig.scm
diff options
context:
space:
mode:
authorGreg Hogan <code@greghogan.com>2022-07-28 20:25:27 +0000
committerMarius Bakke <marius@gnu.org>2022-09-01 23:37:13 +0200
commit35db5d5ca49ce51b5cd293e2fc15e58429216f13 (patch)
treef5367999840cc7e90b1db43217277c99c08e6120 /gnu/packages/swig.scm
parent6f8083e6ecbbb3c2907ebfa08d4ab498a2971c45 (diff)
downloadguix-35db5d5ca49ce51b5cd293e2fc15e58429216f13.tar.gz
gnu: swig: Fix build with GCC-12.
* gnu/packages/patches/swig-support-gcc-12.patch: New file.
* gnu/local.mk: Add it.
* gnu/packages/swig.scm (swig)[source]: Add patch.

Signed-off-by: Marius Bakke <marius@gnu.org>
Diffstat (limited to 'gnu/packages/swig.scm')
-rw-r--r--gnu/packages/swig.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/swig.scm b/gnu/packages/swig.scm
index 1f4bd0922a..a90a5d51e8 100644
--- a/gnu/packages/swig.scm
+++ b/gnu/packages/swig.scm
@@ -43,7 +43,9 @@
                                  name "-" version ".tar.gz"))
              (sha256
               (base32
-               "1z06m5zv87mha6hvys1iay810ghc1jngilfby1ms2n4d1mryjfym"))))
+               "1z06m5zv87mha6hvys1iay810ghc1jngilfby1ms2n4d1mryjfym"))
+             ;; Remove with next release.
+             (patches (search-patches "swig-support-gcc-12.patch"))))
     (build-system gnu-build-system)
     (native-inputs (list boost
                          `(,pcre "bin") ;for 'pcre-config'