pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/R-readstata13 R-readstata13: fix build on non...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ae550aa16f58
branches: trunk
changeset: 401776:ae550aa16f58
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Sep 26 01:18:30 2019 +0000
description:
R-readstata13: fix build on non-Linux non-mac.
diffstat:
textproc/R-readstata13/distinfo | 3 +-
textproc/R-readstata13/patches/patch-inst_include_readstata.h | 17 +++++++++++
2 files changed, 19 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r 19c2fa771667 -r ae550aa16f58 textproc/R-readstata13/distinfo
--- a/textproc/R-readstata13/distinfo Thu Sep 26 00:57:29 2019 +0000
+++ b/textproc/R-readstata13/distinfo Thu Sep 26 01:18:30 2019 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2019/07/31 13:53:41 brook Exp $
+$NetBSD: distinfo,v 1.2 2019/09/26 01:18:30 wiz Exp $
SHA1 (R/readstata13_0.9.2.tar.gz) = f87e7e136d0707d4720b00acd2a81c0e071ff65a
RMD160 (R/readstata13_0.9.2.tar.gz) = 15d371f1c7170cf1aa1df2f8f1f31dec8707d11b
SHA512 (R/readstata13_0.9.2.tar.gz) = c2e9ba9fa013f9976ef2d3e6d3e4fe8429fc4b8dd0ad420061bf5738de2dbfc2cfb039f7a55f8d978c51ca17ae9d9dd473cb6d77947057966f40c3ca48a86ca6
Size (R/readstata13_0.9.2.tar.gz) = 61394 bytes
+SHA1 (patch-inst_include_readstata.h) = 6bbec9e0cbc87ac344143abf502d11d90edf4b69
diff -r 19c2fa771667 -r ae550aa16f58 textproc/R-readstata13/patches/patch-inst_include_readstata.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/R-readstata13/patches/patch-inst_include_readstata.h Thu Sep 26 01:18:30 2019 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-inst_include_readstata.h,v 1.1 2019/09/26 01:18:30 wiz Exp $
+
+fseeko64 only exists on Linux.
+off64_t is not used in the code.
+
+--- inst/include/readstata.h.orig 2018-05-26 07:44:32.000000000 +0000
++++ inst/include/readstata.h
+@@ -40,8 +40,7 @@ typedef unsigned int uint32_t;
+ #include <stdint.h>
+ #endif
+
+-#ifdef __APPLE__
+-# define off64_t off_t
++#if !defined(__Linux__)
+ # define fseeko64 fseeko
+ #endif
+
Home |
Main Index |
Thread Index |
Old Index