diff options
Diffstat (limited to 'misc/fbreader/patches/patch-ab')
-rw-r--r-- | misc/fbreader/patches/patch-ab | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/misc/fbreader/patches/patch-ab b/misc/fbreader/patches/patch-ab index f1e3db64ece..b68ece902cf 100644 --- a/misc/fbreader/patches/patch-ab +++ b/misc/fbreader/patches/patch-ab @@ -1,18 +1,20 @@ -$NetBSD: patch-ab,v 1.3 2012/10/01 12:47:30 wiz Exp $ +$NetBSD: patch-ab,v 1.4 2016/12/03 09:06:37 maya Exp $ Avoid ancient function that needs libcompat. +include sys/time.h for gettimeofday (needed by linux) ---- zlibrary/core/src/unix/time/ZLUnixTime.cpp.orig 2012-09-06 20:58:48.000000000 +0000 +--- zlibrary/core/src/unix/time/ZLUnixTime.cpp.orig 2012-11-30 12:41:25.000000000 +0000 +++ zlibrary/core/src/unix/time/ZLUnixTime.cpp -@@ -17,7 +17,6 @@ +@@ -17,17 +17,17 @@ * 02110-1301, USA. */ -#include <sys/timeb.h> #include <time.h> ++#include <sys/time.h> #include <ZLTime.h> -@@ -25,9 +24,9 @@ + #include "ZLUnixTime.h" ZLTime ZLUnixTimeManager::currentTime() const { |