pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/hexchat hexchat: Avoid races by explicitly depend...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/de6714914a69
branches:  trunk
changeset: 336543:de6714914a69
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Jul 17 10:53:22 2019 +0000

description:
hexchat: Avoid races by explicitly depending on generated headers.

diffstat:

 chat/hexchat/Makefile                             |   5 +----
 chat/hexchat/distinfo                             |   3 ++-
 chat/hexchat/patches/patch-src_common_meson.build |  15 +++++++++++++++
 3 files changed, 18 insertions(+), 5 deletions(-)

diffs (52 lines):

diff -r dfd7df58a46b -r de6714914a69 chat/hexchat/Makefile
--- a/chat/hexchat/Makefile     Wed Jul 17 09:56:12 2019 +0000
+++ b/chat/hexchat/Makefile     Wed Jul 17 10:53:22 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2019/07/17 09:22:11 nia Exp $
+# $NetBSD: Makefile,v 1.35 2019/07/17 10:53:22 nia Exp $
 
 DISTNAME=      hexchat-2.14.2
 CATEGORIES=    chat
@@ -41,9 +41,6 @@
 
 LDFLAGS.SunOS+=                -lsocket -lnsl
 
-# It seems generated files are sometimes not generated in time.
-MAKE_JOBS_SAFE=                no
-
 .include "../../devel/py-meson/build.mk"
 .include "../../textproc/iso-codes/buildlink3.mk"
 .include "../../devel/pango/buildlink3.mk"
diff -r dfd7df58a46b -r de6714914a69 chat/hexchat/distinfo
--- a/chat/hexchat/distinfo     Wed Jul 17 09:56:12 2019 +0000
+++ b/chat/hexchat/distinfo     Wed Jul 17 10:53:22 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2019/05/08 17:19:41 nia Exp $
+$NetBSD: distinfo,v 1.9 2019/07/17 10:53:22 nia Exp $
 
 SHA1 (hexchat-2.14.2.tar.xz) = 650f6247cc68c022ba4fee09ebde578dc2ec1c33
 RMD160 (hexchat-2.14.2.tar.xz) = a41067f7dd9b0eceaf2252aa7a8b8eca7dd228fd
@@ -9,3 +9,4 @@
 SHA1 (patch-plugins_sysinfo_unix_parse.c) = 92b882b7573cfcfc280351353a7bdcb0a7940c06
 SHA1 (patch-plugins_sysinfo_unix_pci.c) = db2d20261419bed6d6c4b716b4416d73b3386053
 SHA1 (patch-plugins_sysinfo_unix_pci.h) = 018b74796143b26d6a1f9ad821f3889b74b09cc8
+SHA1 (patch-src_common_meson.build) = 56f1376208c6ab198162d62ae990c8a6ed6c2b58
diff -r dfd7df58a46b -r de6714914a69 chat/hexchat/patches/patch-src_common_meson.build
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/hexchat/patches/patch-src_common_meson.build Wed Jul 17 10:53:22 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_common_meson.build,v 1.1 2019/07/17 10:53:22 nia Exp $
+
+Make generated headers an explicit dependency of targets using
+hexchat_common to force the headers to be generated in time.
+
+--- src/common/meson.build.orig        2018-08-29 21:13:25.000000000 +0000
++++ src/common/meson.build
+@@ -109,6 +109,7 @@ hexchat_common = static_library('hexchat
+ )
+ 
+ hexchat_common_dep = declare_dependency(
++  sources: [textevents] + marshal,
+   link_with: hexchat_common,
+   include_directories: common_includes,
+   compile_args: common_cflags,



Home | Main Index | Thread Index | Old Index