diff options
author | marino <marino@FreeBSD.org> | 2013-11-02 09:14:39 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2013-11-02 09:14:39 +0800 |
commit | 76df67b4f5acd0de67fe9698a56d42d57de75f43 (patch) | |
tree | beda1b39cdf8b134df0a5dffef852f050fae9627 /archivers/qpress | |
parent | d25283b962b99361884465569b7ae8994e314f81 (diff) | |
download | freebsd-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/Makefile | 1 | ||||
-rw-r--r-- | archivers/qpress/files/patch-qpress.cpp | 10 |
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> |