pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/fbreader fbreader: include <sys/time.h> for getti...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e09a6d295b06
branches:  trunk
changeset: 355473:e09a6d295b06
user:      maya <maya%pkgsrc.org@localhost>
date:      Sat Dec 03 09:06:37 2016 +0000

description:
fbreader: include <sys/time.h> for gettimeofday. this is needed by
linux.

fix PR pkg/51684

diffstat:

 misc/fbreader/distinfo         |   4 ++--
 misc/fbreader/patches/patch-ab |  10 ++++++----
 2 files changed, 8 insertions(+), 6 deletions(-)

diffs (44 lines):

diff -r d6ec5295afd8 -r e09a6d295b06 misc/fbreader/distinfo
--- a/misc/fbreader/distinfo    Sat Dec 03 05:00:46 2016 +0000
+++ b/misc/fbreader/distinfo    Sat Dec 03 09:06:37 2016 +0000
@@ -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 -r d6ec5295afd8 -r e09a6d295b06 misc/fbreader/patches/patch-ab
--- a/misc/fbreader/patches/patch-ab    Sat Dec 03 05:00:46 2016 +0000
+++ b/misc/fbreader/patches/patch-ab    Sat Dec 03 09:06:37 2016 +0000
@@ -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 {



Home | Main Index | Thread Index | Old Index