;;; 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.12") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/libsigsegv/libsigsegv-" version ".tar.gz")) (sha256 (base32 "1dlhqf4igzpqayms25lkhycjq1ccavisx8cnb3y4zapbkqsszq9s")))) (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+))) 5gnu: lucene++: Use G-expressions....Tobias Geerinckx-Rice 2022-01-05gnu: lucene++: Update to 3.0.8....Tobias Geerinckx-Rice 2021-12-13gnu: Simplify package inputs....Ludovic Courtès 2021-11-11gnu: Move a few Python packages to (gnu packages python-build)....Maxim Cournoyer 2021-07-21gnu: Add python-sparqlwrapper....Lars-Dominik Braun 2021-04-10gnu: raptor2: Use HTTPS home page and source URI....Nicolas Goaziou 2021-01-11gnu: sord: Update to 0.16.8....Tobias Geerinckx-Rice 2021-01-11gnu: serd: Update to 0.30.8....Tobias Geerinckx-Rice 2020-10-02gnu: sord: Update to 0.16.6....Tobias Geerinckx-Rice 2020-10-02gnu: serd: Update to 0.30.6....Tobias Geerinckx-Rice 2020-08-29gnu: Add hdt-cpp....pukkamustard 2020-08-09gnu: Add python-cfgraph....Efraim Flashner 2020-07-12gnu: Remove ".git" from "https://github/…/….git"....Ludovic Courtès