summaryrefslogtreecommitdiff
path: root/archivers/p7zip/files/patch-CPP_Windows_System.cpp
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-07-26 16:51:15 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-07-26 16:51:15 +0000
commit9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch)
tree9b071a8105704e992946dcd6b801e9fcb7635142 /archivers/p7zip/files/patch-CPP_Windows_System.cpp
parentMooseFS is a Fault tolerant, High Available, Highly Performing, Scale-Out, (diff)
Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight
Diffstat (limited to 'archivers/p7zip/files/patch-CPP_Windows_System.cpp')
-rw-r--r--archivers/p7zip/files/patch-CPP_Windows_System.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/archivers/p7zip/files/patch-CPP_Windows_System.cpp b/archivers/p7zip/files/patch-CPP_Windows_System.cpp
new file mode 100644
index 000000000000..4214f0888b95
--- /dev/null
+++ b/archivers/p7zip/files/patch-CPP_Windows_System.cpp
@@ -0,0 +1,11 @@
+--- CPP/Windows/System.cpp.orig 2015-11-20 21:33:04 UTC
++++ CPP/Windows/System.cpp
+@@ -44,7 +44,7 @@ namespace NWindows
+ #elif defined (__FreeBSD__) || defined (__FreeBSD_kernel__)
+ UInt32 GetNumberOfProcessors() {
+ int nbcpu = 1;
+- size_t value;
++ int value;
+ size_t len = sizeof(value);
+ if (sysctlbyname("hw.ncpu", &value, &len, NULL, 0) == 0)
+ nbcpu = value;