Description: Change GIFLIB_MINOR to allow matching with v5.2+ Source: https://savannah.gnu.org/patch/index.php?9873 Author: marius851000 diff --git a/libbase/GnashImageGif.cpp b/libbase/GnashImageGif.cpp index 2ae5ddb..b87b1e7 100644 --- a/libbase/GnashImageGif.cpp +++ b/libbase/GnashImageGif.cpp @@ -120,7 +120,7 @@ GifInput::GifInput(std::shared_ptr in) GifInput::~GifInput() { // Clean up allocated data. -#if GIFLIB_MAJOR==5 && GIFLIB_MINOR==1 +#if GIFLIB_MAJOR==5 && GIFLIB_MINOR!=0 DGifCloseFile(_gif, 0); #else DGifCloseFile(_gif); od='get'> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/ui.scm
AgeCommit message (Expand)Author
2022-06-16ui: Improve pager selection logic when less is not installed....* guix/ui.scm (find-available-pager): New procedure. (call-with-paginated-output-port): Use it. * guix/utils.scm (call-with-environment-variables): Allow clearing of specified environment variables. * tests/ui.scm (make-empty-file, assert-equals-find-available-pager): New procedures. ("find-available-pager, GUIX_PAGER takes precedence") ("find-available-pager, PAGER takes precedence") ("find-available-pager, 'less' takes precedence") ("find-available-pager, 'more' takes precedence") ("find-available-pager, no pager"): New tests. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Taiju HIGASHI
2020-03-25tests: Adjust to 'show-manifest-transaction' changes....This is a followup to 3e5ab0a7a9399bb098b9ced46bf3cbf4085c6bab. * tests/ui.scm ("show-manifest-transaction"): Update regexp. * tests/guix-package.sh: Adjust Emacs regexp in --with-source test. Ludovic Courtès
2020-02-23ui: (size->number "1.M") is correctly parsed....Reported by Pierre Neidhardt <mail@ambrevar.xyz>. * guix/ui.scm (size->number)[unit-pos]: Add #\. to CHAR-SET:DIGIT. * tests/ui.scm ("size->number, 1.M"): New test. Ludovic Courtès