pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/misc/tmux
Module Name: pkgsrc
Committed By: tnn
Date: Thu Sep 19 18:18:08 UTC 2024
Modified Files:
pkgsrc/misc/tmux: distinfo
Added Files:
pkgsrc/misc/tmux/patches: patch-compat_queue.h
Log Message:
tmux: fix build with xcode 16
To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 pkgsrc/misc/tmux/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/tmux/patches/patch-compat_queue.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/misc/tmux/distinfo
diff -u pkgsrc/misc/tmux/distinfo:1.56 pkgsrc/misc/tmux/distinfo:1.57
--- pkgsrc/misc/tmux/distinfo:1.56 Mon Jun 17 06:50:09 2024
+++ pkgsrc/misc/tmux/distinfo Thu Sep 19 18:18:08 2024
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.56 2024/06/17 06:50:09 jperkin Exp $
+$NetBSD: distinfo,v 1.57 2024/09/19 18:18:08 tnn Exp $
BLAKE2s (tmux-3.4.tar.gz) = 81f261414c92f6a936204aa9f8e8e57f7e72389433b3ec7a60ff41521959030d
SHA512 (tmux-3.4.tar.gz) = bd3880211d99d8ee15947000abf8a1832fdfa48b29b2df81b66d5969cf3f4e64e746f984f6139bfc57e3ebee7fe8dc7cbb6bccb779307607de6c376969fecbff
Size (tmux-3.4.tar.gz) = 707213 bytes
SHA1 (patch-compat_daemon-darwin.c) = e8feeb4b100e73ab197eb2fd776fa648a1da28e4
+SHA1 (patch-compat_queue.h) = ca8e0287a1752aa47262d85f57184a294a237480
SHA1 (patch-osdep-darwin.c) = 715b1e206add7d911edec381942706220ea2fbb6
Added files:
Index: pkgsrc/misc/tmux/patches/patch-compat_queue.h
diff -u /dev/null pkgsrc/misc/tmux/patches/patch-compat_queue.h:1.1
--- /dev/null Thu Sep 19 18:18:08 2024
+++ pkgsrc/misc/tmux/patches/patch-compat_queue.h Thu Sep 19 18:18:08 2024
@@ -0,0 +1,30 @@
+$NetBSD: patch-compat_queue.h,v 1.1 2024/09/19 18:18:08 tnn Exp $
+
+Fix build with xcode 16.
+
+--- compat/queue.h.orig 2022-04-25 08:25:13.000000000 +0000
++++ compat/queue.h
+@@ -32,6 +32,23 @@
+ * @(#)queue.h 8.5 (Berkeley) 8/20/94
+ */
+
++#if defined(__APPLE__)
++# if __has_include(<sys/queue.h>)
++# include <sys/queue.h>
++# if !defined(TAILQ_REPLACE)
++#define TAILQ_REPLACE(head, elm, elm2, field) do { \
++ if (((elm2)->field.tqe_next = (elm)->field.tqe_next) != NULL) \
++ (elm2)->field.tqe_next->field.tqe_prev = \
++ &(elm2)->field.tqe_next; \
++ else \
++ (head)->tqh_last = &(elm2)->field.tqe_next; \
++ (elm2)->field.tqe_prev = (elm)->field.tqe_prev; \
++ *(elm2)->field.tqe_prev = (elm2); \
++} while (0)
++# endif
++# endif
++#endif
++
+ #ifndef _SYS_QUEUE_H_
+ #define _SYS_QUEUE_H_
+
Home |
Main Index |
Thread Index |
Old Index