head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.4 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.2 pkgsrc-2025Q4-base:1.1; locks; strict; comment @// @; 1.1 date 2025.12.13.09.40.51; author vins; state Exp; branches; next ; commitid 11jIE8Fery9bmemG; desc @@ 1.1 log @graphics/osg: fix build error @ text @$NetBSD$ Prevent conflicting types with system zlib. --- src/osgPlugins/zip/unzip.cpp.orig 2020-01-31 11:03:07.000000000 +0000 +++ src/osgPlugins/zip/unzip.cpp @@@@ -399,8 +399,9 @@@@ typedef unsigned int uInt; // 16 bits typedef unsigned long uLong; // 32 bits or more typedef void *voidpf; typedef void *voidp; -typedef long z_off_t; - +#ifndef z_off_t +#define z_off_t long +#endif @