aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/qpress
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2013-11-02 09:14:39 +0800
committermarino <marino@FreeBSD.org>2013-11-02 09:14:39 +0800
commit76df67b4f5acd0de67fe9698a56d42d57de75f43 (patch)
treebeda1b39cdf8b134df0a5dffef852f050fae9627 /archivers/qpress
parentd25283b962b99361884465569b7ae8994e314f81 (diff)
downloadfreebsd-ports-gnome-76df67b4f5acd0de67fe9698a56d42d57de75f43.tar.gz
freebsd-ports-gnome-76df67b4f5acd0de67fe9698a56d42d57de75f43.tar.zst
freebsd-ports-gnome-76df67b4f5acd0de67fe9698a56d42d57de75f43.zip
archivers/qpress: Add <unistd.h> for modern compilers
Approved by: portmgr (bapt, implicit)
Diffstat (limited to 'archivers/qpress')
-rw-r--r--archivers/qpress/Makefile1
-rw-r--r--archivers/qpress/files/patch-qpress.cpp10
2 files changed, 11 insertions, 0 deletions
diff --git a/archivers/qpress/Makefile b/archivers/qpress/Makefile
index c3f5d22479a9..dcdd358e57d9 100644
--- a/archivers/qpress/Makefile
+++ b/archivers/qpress/Makefile
@@ -14,6 +14,7 @@ LICENSE= GPLv2
EXTRACT_AFTER_ARGS= -d ${WRKSRC}
USE_ZIP= yes
+USE_DOS2UNIX= yes
NO_STAGE= yes
PLIST_FILES= bin/qpress
diff --git a/archivers/qpress/files/patch-qpress.cpp b/archivers/qpress/files/patch-qpress.cpp
new file mode 100644
index 000000000000..3e32fb406934
--- /dev/null
+++ b/archivers/qpress/files/patch-qpress.cpp
@@ -0,0 +1,10 @@
+--- qpress.cpp.orig 2013-11-02 00:43:30.451058000 +0000
++++ qpress.cpp
+@@ -88,6 +88,7 @@ and finally outputs an UPDIR:
+
+ #include <sys/stat.h>
+ #include <stdlib.h>
++#include <unistd.h>
+ #include <stdio.h>
+ #include "aio.hpp"
+ #include <stdarg.h>