Commits

Ryan Schmidt authored ff5b3f8669a
optipng: Update to 0.7.7
No tags

graphics/optipng/files/patch-src-optipng-osys.c.diff

Deleted
1 -Fix build on macOS High Sierra and later
2 -https://sourceforge.net/p/optipng/bugs/68/
3 -https://sourceforge.net/p/optipng/patches/9/
4 -osys.c:515:25: error: no member named 'st_atim' in 'struct stat'
5 -osys.c:516:25: error: no member named 'st_mtim' in 'struct stat'
6 ---- src/optipng/osys.c.orig 2014-10-04 22:51:00.000000000 -0500
7 -+++ src/optipng/osys.c 2017-12-09 11:38:10.000000000 -0600
8 -@@ -512,8 +512,13 @@
9 - {
10 - struct timespec times[2];
11 -
12 -+#ifdef OSYS_DARWIN
13 -+ times[0] = sbuf.st_atimespec;
14 -+ times[1] = sbuf.st_mtimespec;
15 -+#else
16 - times[0] = sbuf.st_atim;
17 - times[1] = sbuf.st_mtim;
18 -+#endif
19 - if (utimensat(AT_FDCWD, dest_path, times, 0) != 0)
20 - result = -1;
21 - }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut