summaryrefslogtreecommitdiff
path: root/archivers/par2
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2022-03-27 14:08:33 +0000
committertnn <tnn@pkgsrc.org>2022-03-27 14:08:33 +0000
commit62df427632449c7f3404c2ededab7c8707386aea (patch)
treed4fb2d24e97e633a2555584e11ff86da66ee8ba7 /archivers/par2
parent1c22a3abc7fbdf61938e22925e69bc183ec0bf94 (diff)
downloadpkgsrc-62df427632449c7f3404c2ededab7c8707386aea.tar.gz
par2: include <unistd.h> for sysconf(3)
Diffstat (limited to 'archivers/par2')
-rw-r--r--archivers/par2/distinfo3
-rw-r--r--archivers/par2/patches/patch-src_commandline.cpp14
2 files changed, 16 insertions, 1 deletions
diff --git a/archivers/par2/distinfo b/archivers/par2/distinfo
index 98a1284c878..184517be68b 100644
--- a/archivers/par2/distinfo
+++ b/archivers/par2/distinfo
@@ -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 --git a/archivers/par2/patches/patch-src_commandline.cpp b/archivers/par2/patches/patch-src_commandline.cpp
new file mode 100644
index 00000000000..3b0cf85d5c7
--- /dev/null
+++ b/archivers/par2/patches/patch-src_commandline.cpp
@@ -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;
+