;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2012, 2013, 2018 Ludovic Courtès ;;; Copyright © 2017 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (gnu packages libsigsegv) #:use-module (guix licenses) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu)) (define-public libsigsegv (package (name "libsigsegv") (version "2.13") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/libsigsegv/libsigsegv-" version ".tar.gz")) (sha256 (base32 "06c1qjiv69hjvbq06mcxdi5hzfadhy28sa83zxspqpxhfr0ywy5y")))) (build-system gnu-build-system) (home-page "https://www.gnu.org/software/libsigsegv/") (synopsis "Library for handling page faults") (arguments `(;; The shared library isn't built by default but some packages need it. #:configure-flags '("--enable-shared") ;; On MIPS, work around this error: ;; ;; In file included from fault-linux-mips-old.h:18:0, ;; [...] ;; linux-libre-headers-cross-mips64el-linux-gnu-3.3.8/include/asm/sigcontext.h:57:8: error: redefinition of 'struct sigcontext' ,@(if (string-contains (or (%current-target-system) (%current-system)) "mips64el") `(#:phases (modify-phases %standard-phases (add-before 'configure 'patch-mips-old-h (lambda _ (substitute* "src/fault-linux-mips-old.h" (("#include ") "")) #t)))) '()))) (description "GNU libsigsegv is a library to handle page faults, which occur when a program tries to access an unavailable region of memory, in user mode. By catching and handling page faults, the program can implement pageable virtual memory, stack overflow handlers, and so on.") (license gpl2+))) >2022-07-17gnu: libdmtx: Omit static library.Tobias Geerinckx-Rice 2022-07-17gnu: libdmtx: Update to 0.7.7.Tobias Geerinckx-Rice 2021-12-18gnu: barcode: Fix build with GCC 10.Leo Famulari 2021-12-13gnu: Simplify package inputs.Ludovic Courtès 2021-11-11gnu: zxing-cpp: Update to 1.2.0-0.00783db.Maxim Cournoyer 2021-11-11Revert gstreamer update to 1.19.2.Maxim Cournoyer 2021-11-11gnu: zxing-cpp: Update to 1.2.0.Maxim Cournoyer 2021-06-19Merge branch 'master' into core-updatesMarius Bakke 2021-06-14gnu: Rename qtbase to qtbase-5.Maxim Cournoyer 2021-04-19gnu: zbar: Update to 0.23.90.Raghav Gururajan 2021-03-29gnu: qrencode: Enable tests.Efraim Flashner 2021-03-29gnu: qrencode: Update to 4.1.1.Efraim Flashner 2020-11-19gnu: Don't append '.git' to GitHub uris.Efraim Flashner 2020-08-18gnu: Add zxing-cpp.Raghav Gururajan 2020-07-12gnu: Remove ".git" from "https://github/…/….git".Ludovic Courtès 2020-04-18gnu: qrcodegen-cpp: Update to 1.6.0.Efraim Flashner 2020-02-13gnu: Add qrcodegen-cpp.Leo Famulari