Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Apr 2026 12:44:18 +0000
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Cc:        Olivier Cochard <olivier@FreeBSD.org>
Subject:   git: 8bcf9babc3af - main - archivers/lzo2: add #include <stddef.h> to lzodefs.h
Message-ID:  <69ee08a2.253b8.71890562@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8bcf9babc3af5b6c26a79d082b0996d95da6ba8d

commit 8bcf9babc3af5b6c26a79d082b0996d95da6ba8d
Author:     Olivier Cochard <olivier@FreeBSD.org>
AuthorDate: 2026-04-22 23:59:00 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-04-26 12:44:10 +0000

    archivers/lzo2: add #include <stddef.h> to lzodefs.h
    
    to make the header self-contained.
    
    PR:             294715
    Pull Request:   https://github.com/freebsd/freebsd-ports/pull/504
---
 archivers/lzo2/Makefile                            | 2 +-
 archivers/lzo2/files/patch-include__lzo__lzodefs.h | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/archivers/lzo2/Makefile b/archivers/lzo2/Makefile
index c7a17a72fc36..5b78470e7737 100644
--- a/archivers/lzo2/Makefile
+++ b/archivers/lzo2/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	lzo2
 PORTVERSION=	2.10
-PORTREVISION=	1
+PORTREVISION=	2
 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
index c8cf52c3631b..cc55ee0cd65f 100644
--- a/archivers/lzo2/files/patch-include__lzo__lzodefs.h
+++ b/archivers/lzo2/files/patch-include__lzo__lzodefs.h
@@ -1,10 +1,11 @@
 --- include/lzo/lzodefs.h.orig	2017-03-01 19:54:14 UTC
 +++ include/lzo/lzodefs.h
-@@ -29,6 +29,8 @@
+@@ -29,6 +29,9 @@
  #ifndef __LZODEFS_H_INCLUDED
  #define __LZODEFS_H_INCLUDED 1
  
 +#include <limits.h>
++#include <stddef.h>
 +
  #if defined(__CYGWIN32__) && !defined(__CYGWIN__)
  #  define __CYGWIN__ __CYGWIN32__


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69ee08a2.253b8.71890562>