aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--archivers/lzo2/Makefile1
-rw-r--r--archivers/lzo2/files/patch-include__lzo__lzodefs.h11
2 files changed, 12 insertions, 0 deletions
diff --git a/archivers/lzo2/Makefile b/archivers/lzo2/Makefile
index f81a3e3da1a6..a70105fb5973 100644
--- a/archivers/lzo2/Makefile
+++ b/archivers/lzo2/Makefile
@@ -3,6 +3,7 @@
PORTNAME= lzo2
PORTVERSION= 2.07
+PORTREVISION= 1
CATEGORIES= archivers devel
MASTER_SITES= http://www.oberhumer.com/opensource/lzo/download/ \
LOCAL/mandree
diff --git a/archivers/lzo2/files/patch-include__lzo__lzodefs.h b/archivers/lzo2/files/patch-include__lzo__lzodefs.h
new file mode 100644
index 000000000000..f72388541adc
--- /dev/null
+++ b/archivers/lzo2/files/patch-include__lzo__lzodefs.h
@@ -0,0 +1,11 @@
+--- ./include/lzo/lzodefs.h.orig 2014-06-25 15:47:13.000000000 +0200
++++ ./include/lzo/lzodefs.h 2014-06-27 06:31:33.000000000 +0200
+@@ -29,6 +29,8 @@
+ #ifndef __LZODEFS_H_INCLUDED
+ #define __LZODEFS_H_INCLUDED 1
+
++#include <limits.h>
++
+ #if defined(__CYGWIN32__) && !defined(__CYGWIN__)
+ # define __CYGWIN__ __CYGWIN32__
+ #endif