diff options
author | mandree <mandree@FreeBSD.org> | 2014-06-27 14:37:24 +0800 |
---|---|---|
committer | mandree <mandree@FreeBSD.org> | 2014-06-27 14:37:24 +0800 |
commit | 147c8956c10f2bbd4e03806d2826140d800b3844 (patch) | |
tree | 35fd1e9a416a2d9e1a7858299da1b2658d3d8a9a /archivers/lzo2 | |
parent | 22fe51bc79e0f46ecbe7511198fd02828a63953c (diff) | |
download | freebsd-ports-gnome-147c8956c10f2bbd4e03806d2826140d800b3844.tar.gz freebsd-ports-gnome-147c8956c10f2bbd4e03806d2826140d800b3844.tar.zst freebsd-ports-gnome-147c8956c10f2bbd4e03806d2826140d800b3844.zip |
Add #include <limits.h> to include/lzo/lzodefs.h to fix build issues
on some architectures, for instance, i386, that would otherwise
leave ULONG_MAX undefined.
Bug is reported upstream.
Reported by: Randy Bush
Diffstat (limited to 'archivers/lzo2')
-rw-r--r-- | archivers/lzo2/Makefile | 1 | ||||
-rw-r--r-- | archivers/lzo2/files/patch-include__lzo__lzodefs.h | 11 |
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 |