aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/pxz
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-07-27 00:51:15 +0800
committermat <mat@FreeBSD.org>2016-07-27 00:51:15 +0800
commit92a23247b1467190ce10007190052c33423ff547 (patch)
tree9b071a8105704e992946dcd6b801e9fcb7635142 /archivers/pxz
parent95f228514e93df3c298ff9e8142253c866d190fe (diff)
downloadfreebsd-ports-gnome-92a23247b1467190ce10007190052c33423ff547.tar.gz
freebsd-ports-gnome-92a23247b1467190ce10007190052c33423ff547.tar.zst
freebsd-ports-gnome-92a23247b1467190ce10007190052c33423ff547.zip
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/pxz')
-rw-r--r--archivers/pxz/files/patch-pxz.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/archivers/pxz/files/patch-pxz.c b/archivers/pxz/files/patch-pxz.c
index 8878d8ea28c5..4f09c008714b 100644
--- a/archivers/pxz/files/patch-pxz.c
+++ b/archivers/pxz/files/patch-pxz.c
@@ -1,26 +1,24 @@
---- pxz.c.orig 2010-11-23 10:35:25.720939440 +0100
-+++ pxz.c 2010-11-23 10:46:28.910235910 +0100
-@@ -21,11 +21,17 @@
+--- pxz.c.orig 2014-10-18 17:06:27 UTC
++++ pxz.c
+@@ -23,11 +23,17 @@
#include <string.h>
#include <stdio.h>
--#include <stdio_ext.h>
+#ifndef __FreeBSD__
-+#include <stdio_ext.h>
+ #include <stdio_ext.h>
+#endif
#include <stdlib.h>
#include <inttypes.h>
#include <unistd.h>
--#include <error.h>
+#ifdef __FreeBSD__
+#include <err.h>
+#else
-+#include <error.h>
+ #include <error.h>
+#endif
#include <errno.h>
#include <sys/stat.h>
#include <sys/mman.h>
-@@ -40,6 +46,10 @@
+@@ -42,6 +48,10 @@
#include <omp.h>
#endif
@@ -31,7 +29,7 @@
#ifndef XZ_BINARY
#define XZ_BINARY "xz"
#endif
-@@ -119,6 +129,13 @@
+@@ -121,6 +131,13 @@ const struct option long_opts[] = {
{ NULL, 0, NULL, 0 }
};