Hi,

Good catch!

Kei Yamashita <[email protected]> skribis:

> +       (modify-phases %standard-phases
> +         (add-before 'configure 'patch-paths
> +           (lambda _
> +             (let ((tzdata (assoc-ref %build-inputs "tzdata")))
> +               (substitute* "src/libical/icaltz-util.c"
> +                 (((string-append "\"/usr/share/zoneinfo\","
> +                                  "\"/usr/lib/zoneinfo\","
> +                                  "\"/etc/zoneinfo\","
> +                                  "\"/usr/share/lib/zoneinfo\""))
> +                  (string-append "\"" tzdata "/share/zoneinfo\""))))

Could you use a literal string for the pattern?  Maybe something like
“char \*foo =.*$” would be clearer?

Otherwise LGTM, thanks!

Ludo’.

Reply via email to