pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/par2 par2: include <unistd.h> for sysconf(3)



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6ee30e9587c7
branches:  trunk
changeset: 375814:6ee30e9587c7
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Mar 27 14:08:33 2022 +0000

description:
par2: include <unistd.h> for sysconf(3)

diffstat:

 archivers/par2/distinfo                          |   3 ++-
 archivers/par2/patches/patch-src_commandline.cpp |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r 104b94b2204b -r 6ee30e9587c7 archivers/par2/distinfo
--- a/archivers/par2/distinfo   Sun Mar 27 14:05:36 2022 +0000
+++ b/archivers/par2/distinfo   Sun Mar 27 14:08:33 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.24 2021/10/26 09:57:12 nia Exp $
+$NetBSD: distinfo,v 1.25 2022/03/27 14:08:33 tnn Exp $
 
 BLAKE2s (par2cmdline-0.8.1.tar.gz) = 8e15aa6653864e799aab404cabfb9af091bf41756a26ae6750802212b94bb4f6
 SHA512 (par2cmdline-0.8.1.tar.gz) = b0032639353d869ffa449c8b5f27fe1deec0e5e4326ba90aae5c8a03f82441c69ba40f2032c4cbda98f415c3d100136beed8285d099ffbf32329451e719478d9
 Size (par2cmdline-0.8.1.tar.gz) = 3654317 bytes
+SHA1 (patch-src_commandline.cpp) = 1b44178599dbc9b8e6321063bbf23c5c14ce25cd
diff -r 104b94b2204b -r 6ee30e9587c7 archivers/par2/patches/patch-src_commandline.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/par2/patches/patch-src_commandline.cpp  Sun Mar 27 14:08:33 2022 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_commandline.cpp,v 1.1 2022/03/27 14:08:33 tnn Exp $
+
+include <unistd.h> for sysconf(3)
+
+--- src/commandline.cpp.orig   2020-02-09 14:29:09.000000000 +0000
++++ src/commandline.cpp
+@@ -21,6 +21,7 @@
+ // This is included here, so that cout and cerr are not used elsewhere.
+ #include<iostream>
+ #include<algorithm>
++#include <unistd.h>
+ #include "commandline.h"
+ using namespace std;
+ 



Home | Main Index | Thread Index | Old Index