summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authormaya <maya>2016-12-03 09:06:37 +0000
committermaya <maya>2016-12-03 09:06:37 +0000
commit516a51d50f6bf4a1d6157b33100baae6597af0ee (patch)
treea1dd3f81cab33f7606255a073ca894248398e556 /misc
parent2045e345494e45958574e1879d8c80d2d48114c5 (diff)
downloadpkgsrc-516a51d50f6bf4a1d6157b33100baae6597af0ee.tar.gz
fbreader: include <sys/time.h> for gettimeofday. this is needed by
linux. fix PR pkg/51684
Diffstat (limited to 'misc')
-rw-r--r--misc/fbreader/distinfo4
-rw-r--r--misc/fbreader/patches/patch-ab10
2 files changed, 8 insertions, 6 deletions
diff --git a/misc/fbreader/distinfo b/misc/fbreader/distinfo
index 7d29bf096aa..f2d9891767f 100644
--- a/misc/fbreader/distinfo
+++ b/misc/fbreader/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.11 2015/11/03 23:49:35 agc Exp $
+$NetBSD: distinfo,v 1.12 2016/12/03 09:06:37 maya Exp $
SHA1 (fbreader-sources-0.99.4.tgz) = 7e6f0acbac5d8111fcda14a576ae4fdc93eef292
RMD160 (fbreader-sources-0.99.4.tgz) = 90825fcb6b026785dd3a7329899b54a02b08e4ed
SHA512 (fbreader-sources-0.99.4.tgz) = d4b11d7ab03df002ad4212db805b10b80a24ea4384e92122b12c25a3f817a0eb343509ae30e31d68417fd4ce27f77e043235436f0081ff2c785a2830d6211dc7
Size (fbreader-sources-0.99.4.tgz) = 2345664 bytes
-SHA1 (patch-ab) = 4fcbbc7c9fe7fe2e9d841d226ba69624e36e08a5
+SHA1 (patch-ab) = a23a87f2ea3e44471d93c83cdb9e65a5840e38f5
SHA1 (patch-ah) = 8b30ee01cdb05d1680ce45cb57ba37011c33fa6c
SHA1 (patch-ai) = a8f5a4e181fd34840d18d39fc9f7bf17a9e053d0
SHA1 (patch-fbreader_Makefile) = b34214a6a725527f312969c12f3c79fcda193233
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 {