pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/xdelta3



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Jun 18 19:36:20 UTC 2026

Modified Files:
        pkgsrc/devel/xdelta3: distinfo
Added Files:
        pkgsrc/devel/xdelta3/patches: patch-xdelta3.h

Log Message:
xdelta3: Build fix for GCC 14 / 15

Fix the spelling of _POSIX_C_SOURCE so that gettimeofday gets
properly declared.

Verified to build on FreeBSD, NetBSD, macOS, Linux.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/xdelta3/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/xdelta3/patches/patch-xdelta3.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/xdelta3/distinfo
diff -u pkgsrc/devel/xdelta3/distinfo:1.11 pkgsrc/devel/xdelta3/distinfo:1.12
--- pkgsrc/devel/xdelta3/distinfo:1.11  Wed Apr 26 19:47:29 2023
+++ pkgsrc/devel/xdelta3/distinfo       Thu Jun 18 19:36:19 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.11 2023/04/26 19:47:29 wiz Exp $
+$NetBSD: distinfo,v 1.12 2026/06/18 19:36:19 nia Exp $
 
 BLAKE2s (xdelta3-3.1.0.tar.gz) = 376d5f08820930b1287ce44e8679508a5fb1f4b1434405fddcde58848fcc0d1d
 SHA512 (xdelta3-3.1.0.tar.gz) = 848c90a28018ec3c541ec43be59ea90328142c4705d3b59907fd89e8f6ac2758e288b1a1112fea601884c50ef7f6cf2c1634f539a76bea65a2741d3bb0e9b990
 Size (xdelta3-3.1.0.tar.gz) = 727607 bytes
+SHA1 (patch-xdelta3.h) = cbc47309b702e9ecc0f9766de959882edd740a9e

Added files:

Index: pkgsrc/devel/xdelta3/patches/patch-xdelta3.h
diff -u /dev/null pkgsrc/devel/xdelta3/patches/patch-xdelta3.h:1.1
--- /dev/null   Thu Jun 18 19:36:20 2026
+++ pkgsrc/devel/xdelta3/patches/patch-xdelta3.h        Thu Jun 18 19:36:19 2026
@@ -0,0 +1,16 @@
+$NetBSD: patch-xdelta3.h,v 1.1 2026/06/18 19:36:19 nia Exp $
+
+Fix spelling of _POSIX_C_SOURCE so gettimeofday(2) gets declared
+properly.
+
+--- xdelta3.h.orig     2026-06-18 19:25:18.614120556 +0000
++++ xdelta3.h
+@@ -24,7 +24,7 @@
+ #ifndef _XDELTA3_H_
+ #define _XDELTA3_H_
+ 
+-#define _POSIX_SOURCE 200112L
++#define _POSIX_C_SOURCE 200112L
+ #define _ISOC99_SOURCE
+ #define _C99_SOURCE
+ 



Home | Main Index | Thread Index | Old Index