mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 01:56:37 -04:00
On FreeBSD 12.3, build fail with: In file included from /wrkdirs/usr/ports/deskutils/subsurface/work/subsurface-5.0.10/core/exif.cpp:32: /wrkdirs/usr/ports/deskutils/subsurface/work/subsurface-5.0.10/core/exif.h:128:3: error: unknown type name 'time_t' time_t epoch(); ^ 1 error generated. Explicitly add time.h to headers which use time_t to avoid the issue. This should not have an impact where the package could be build so not bumping PORTREVISION.
10 lines
163 B
C++
10 lines
163 B
C++
--- core/exif.h.orig 2022-12-19 04:30:05 UTC
|
|
+++ core/exif.h
|
|
@@ -36,6 +36,7 @@
|
|
#define __EXIF_H
|
|
|
|
#include <string>
|
|
+#include <time.h>
|
|
|
|
namespace easyexif {
|
|
|