Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jun 2014 06:37:25 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359461 - in head/archivers/lzo2: . files
Message-ID:  <201406270637.s5R6bPiK089283@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406270637.s5R6bPiK089283>