Edit

IABSD.fr/ports/sysutils/ttyplot/patches/patch-ttyplot_c

Branch :

  • Show log

    Commit

  • Author : fcambus
    Date : 2024-02-05 18:38:08
    Hash : 9abf9812
    Message : Update ttyplot to 1.6.2.

  • sysutils/ttyplot/patches/patch-ttyplot_c
  • OpenBSD also needs the _XOPEN_SOURCE_EXTENDED define.
    
    Index: ttyplot.c
    --- ttyplot.c.orig
    +++ ttyplot.c
    @@ -9,7 +9,7 @@
     
     // This is needed on macOS to get the ncurses widechar API, and pkg-config fails to
     // define it.
    -#ifdef __APPLE__
    +#if defined (__APPLE__) || defined (__OpenBSD__)
     #define _XOPEN_SOURCE_EXTENDED
     #else
     // This is needed for musl libc