svn commit: r359461 - in head/archivers/lzo2: . files

Matthias Andree mandree at FreeBSD.org
Fri Jun 27 06:37:25 UTC 2014


Author: mandree
Date: Fri Jun 27 06:37:24 2014
New Revision: 359461
URL: http://svnweb.freebsd.org/changeset/ports/359461
QAT: https://qat.redports.org/buildarchive/r359461/

Log:
  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

Added:
  head/archivers/lzo2/files/patch-include__lzo__lzodefs.h   (contents, props changed)
Modified:
  head/archivers/lzo2/Makefile

Modified: head/archivers/lzo2/Makefile
==============================================================================
--- head/archivers/lzo2/Makefile	Fri Jun 27 06:34:58 2014	(r359460)
+++ head/archivers/lzo2/Makefile	Fri Jun 27 06:37:24 2014	(r359461)
@@ -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

Added: head/archivers/lzo2/files/patch-include__lzo__lzodefs.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/lzo2/files/patch-include__lzo__lzodefs.h	Fri Jun 27 06:37:24 2014	(r359461)
@@ -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


More information about the svn-ports-head mailing list