head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2026.08.18.06.41.59; author wiz; state dead; branches; next 1.1; commitid YCsoyRDoHeuFo5SG; 1.1 date 2026.07.20.07.10.35; author wiz; state Exp; branches; next ; commitid 0mqIKhMz8XCkumOG; desc @@ 1.2 log @xload: update to 1.2.2. This release fixes builds with meson on systems like NetBSD that need libintl for gettext(). @ text @$NetBSD: patch-meson.build,v 1.1 2026/07/20 07:10:35 wiz Exp $ deps needs to be initialized before it can be modified. --- meson.build.orig 2026-07-20 07:08:14.949369171 +0000 +++ meson.build @@@@ -47,6 +47,14 @@@@ cc = meson.get_compiler('c') cc = meson.get_compiler('c') +# Checks for pkg-config packages +dep_libxaw = dependency('xaw7', required: true) +dep_libxmu = dependency('xmu', required: true) +dep_libxt = dependency('xt', required: true) +dep_libx11 = dependency('x11', required: true) +dep_xproto = dependency('xproto', required: true, version: '>= 7.0.17') +deps = [dep_libxaw, dep_libxmu, dep_libxt, dep_libx11, dep_xproto] + # Replacement for XORG_DEFAULT_OPTIONS if cc.has_argument('-fno-strict-aliasing') add_project_arguments('-fno-strict-aliasing', language: 'c') @@@@ -105,14 +113,6 @@@@ endforeach description: f'Define to 1 if you have the <@@h@@> header file.', ) endforeach - -# Checks for pkg-config packages -dep_libxaw = dependency('xaw7', required: true) -dep_libxmu = dependency('xmu', required: true) -dep_libxt = dependency('xt', required: true) -dep_libx11 = dependency('x11', required: true) -dep_xproto = dependency('xproto', required: true, version: '>= 7.0.17') -deps = [dep_libxaw, dep_libxmu, dep_libxt, dep_libx11, dep_xproto] config_h = configure_file(output: 'config.h', configuration: conf) add_project_arguments('-DHAVE_CONFIG_H', language: ['c']) @ 1.1 log @xload: update to 1.2.1. Alan Coopersmith (8): Improve man page formatting man page: fix warnings from `mandoc -T lint` gitlab CI: drop the ci-fairy check-mr job Strip trailing whitespace from source files meson: Add option to build with meson meson: include libintl.h when checking for gettext() meson: include headers when checking for other functions xload 1.2.1 @ text @d1 1 a1 1 $NetBSD$ @