aboutsummary
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/aegisub-boost68.patch
blob: 013721f3bd0e7451243d94d8e1b8046772ed2494 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Source: https://git.archlinux.org/svntogit/community.git/plain/trunk/boost-1.68.patch?h=packages/aegisub
From d8336d2fed73c72d1227b343d6acfb991bc1651b Mon Sep 17 00:00:00 2001
From: Jan Beich <jbeich@FreeBSD.org>
Date: Mon, 9 Jul 2018 20:15:29 +0000
Subject: [PATCH] Keep using std::distance after Boost 1.68

src/search_replace_engine.cpp:256:14: error: call to
      'distance' is ambiguous
                                count += distance(
                                         ^~~~~~~~
/usr/include/c++/v1/iterator:511:1: note: candidate function [with _InputIter =
      boost::u32regex_iterator<std::__1::__wrap_iter<const char *> >]
distance(_InputIter __first, _InputIter __last)
^
/usr/local/include/boost/iterator/distance.hpp:49:9: note: candidate function [with SinglePassIterator =
      boost::u32regex_iterator<std::__1::__wrap_iter<const char *> >]
        distance(SinglePassIterator first, SinglePassIterator last)
        ^
---
 src/search_replace_engine.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/search_replace_engine.cpp b/src/search_replace_engine.cpp
index 594c21e5e..14c71680d 100644
--- a/src/search_replace_engine.cpp
+++ b/src/search_replace_engine.cpp
@@ -253,7 +253,7 @@ bool SearchReplaceEngine::ReplaceAll() {
 			if (MatchState ms = matches(&diag, 0)) {
 				auto& diag_field = diag.*get_dialogue_field(settings.field);
 				std::string const& text = diag_field.get();
-				count += distance(
+				count += std::distance(
 					boost::u32regex_iterator<std::string::const_iterator>(begin(text), end(text), *ms.re),
 					boost::u32regex_iterator<std::string::const_iterator>());
 				diag_field = u32regex_replace(text, *ms.re, settings.replace_with);
d=8b9807489a98df5cfc1e84a7caa6b3d12f33e612'>gnu: emacs-zig-mode: Update to 0.0.8-2.f0b4a48....* gnu/packages/emacs-xyz.scm (emacs-zig-mode): Update to 0.0.8-2.f0b4a48. [arguments]<#:test-command>: Update test command. Change-Id: I86eb683db49ed4018518d6fd5bb5584cb5c97960 Hilton Chain 2024-12-20gnu: pipewire: Update to 1.2.7....* gnu/packages/linux.scm (pipewire): Update to 1.2.7. Change-Id: I80b535fa492f53f6e0c21beeaffd8c30e6ba5d51 John Kehayias 2024-12-19gnu: arm-trusted-firmware-imx8mq: Fix build....* gnu/local.mk (dist_patch_DATA): Register patches. * gnu/packages/firmware.scm (make-arm-trusted-firmware): Add make-flags argument. [source]: Use patches. (arm-trusted-firmware-imx8mq): Refactor. * gnu/packages/patches/8mq-enable-imx_hab_handler.patch: Add file. * gnu/packages/patches/8mq-move-stack-to-ocram_s.patch: Add file. Change-Id: I8a72c1ceb5e00e113ae91a7c2f5b733d981185d6 Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Herman Rimm 2024-12-19gnu: make-arm-trusted-firmware: Update to 2.12....* gnu/packages/firmware.scm (make-arm-trusted-firmware): Update to 2.12. [arguments]: Select correct objcopy and objdump variants. [native-inputs]: Add python to avoid warnings. Change-Id: Iccff10b16090913fe5c99491d8335f8ede09038c Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Herman Rimm 2024-12-19gnu: arm-trusted-firmware: Reformat....* gnu/packages/firmware.scm (arm-trusted-firmware)[source]: Use modules. [synopsis]: Mention supported architectures. [description]: Fix "ARMv7A" typo. Remove newline. Change-Id: I52d1a02f27e1c8ebbe5b48ea9a69e4c008ff5b9c Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Herman Rimm 2024-12-19gnu: arm-trusted-firmware-rk3399: Reformat....* gnu/packages/firmware.scm (arm-trusted-firmware-rk3399)[name]: Remove. [native-inputs]: Reformat. Change-Id: Ib44246f0c3929fcf8c6f625df53e3a307fc87595 Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Herman Rimm 2024-12-19gnu: python-gamera: Update to 4.0.1....* gnu/packages/python-xyz.scm (python-gamera): Update to 4.0.1. [arguments]: Update 'check' phase. Change-Id: Ie0817e0c22db8417f9bd3e28aed4d0711ce71ab0 Guillaume Le Vaillant 2024-12-19gnu: urh: Update to 2.9.8....* gnu/packages/radio.scm (urh): Update to 2.9.8. [arguments]: Update 'disable-some-tests' phase. Change-Id: I718defd03c7e9b4d0596e891e1e350c987e0a6b7 Guillaume Le Vaillant 2024-12-19gnu: python-construct: Update to 2.10.70-1.c1171b1....* gnu/packages/python-xyz.scm (python-construct): Update to 2.10.70-1.c1171b1. [propagated-inputs]: Add python-cryptography. Change-Id: Ie7d877827865224f90d8588f1706a354443de02c Guillaume Le Vaillant 2024-12-19gnu: txr: Update to 298....* gnu/packages/lisp.scm (txr): Update to 298. Change-Id: If0c79aa4606875edf42d980f8f2e17b8cdd0c849 Guillaume Le Vaillant 2024-12-19gnu: cl-nodgui: Update to 0.7.2.0-2.9a1b2c6....* gnu/packages/lisp-xyz.scm (sbcl-nodgui): Update to 0.7.2.0-2.9a1b2c6. [inputs]: Add tcllib. [arguments]: Update 'fix-paths' phase. Change-Id: If230ce77603bfc30686a1036908687d461312b75 Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Cage 2024-12-19gnu: emulators: Add libretro-beetle-gba....* gnu/packages/emulators.scm (libretro-beetle-gba): New variable. Change-Id: I3f58972ae9065e7e59b2d9fd5b31d528f7690da2 Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Noé Lopez 2024-12-19gnu: emacs-magit: Update to 4.1.3....* gnu/packages/emacs-xyz.scm (emacs-magit): Update to 4.1.3. Change-Id: Ic645c3febe0290907c1838425c899981c1428c2e Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Cayetano Santos 2024-12-19gnu: emacs-with-editor: Update to 3.4.3....* gnu/packages/emacs-xyz.scm (emacs-with-editor): Update to 3.4.3. Change-Id: I0e593630652ba3cff5974764fb19b54af0d65f78 Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Cayetano Santos 2024-12-19gnu: cgit: Update to 1.2.3-7.751a5b5....* gnu/packages/version-control.scm (cgit): Update to 1.2.3-7.751a5b5. Change-Id: I3f4d27246065d67a258a8cf3b3dea2e0b2d2bc9f Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Tomas Volf 2024-12-19gnu: Add pyre....* gnu/packages/python-science.scm (pyre): New variable. Change-Id: I4a26d7a83f24210104cb0ab50b5392ab97d9bfc4 Maxim Cournoyer 2024-12-19gnu: network-manager-openconnect: Update to 1.2.10...* gnu/packages/gnome.scm (network-manager-openconnect): Update to 1.2.10. [source, inputs]: Add input webkitgtk-with-libsoup2. Change-Id: I8dd75a6d360e49c298ef498afc15452c6612ab89 Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> reza 2024-12-18gnu: bootloaders: u-boot-sandbox: Reformat....* gnu/packages/bootloaders.scm (u-boot-sandbox): Wrap at 72 columns. Change-Id: I440c05b369c0be1437a3174e055efeeda8e5fe01 Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Herman Rimm 2024-12-18gnu: u-boot: Use search-patches....* gnu/packages/bootloaders.scm (%u-boot-rockchip-inno-usb-patch, %u-boot-allow-disabling-openssl-patch): Remove variables, move comments. (u-boot)[source]: Use search-patches. * gnu/packages/patches/u-boot-allow-disabling-openssl.patch: Comment. * gnu/packages/patches/u-boot-rockchip-inno-usb.patch: Remove E-Mail metadata. Replace diffstat with comments. Reapply to U-Boot v2024.10. Change-Id: I760a2e81bddfc2a80ef149fe1ac4496cbbd937a0 Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Herman Rimm 2024-12-18gnu: u-boot-tools: Remove extraneous native-input....* gnu/package/bootloaders.scm (u-boot-tools)[native-inputs]: Remove sdl2. Change-Id: I14d8a605f5e7232f6047ddccfcbd0249ee4b661c Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Herman Rimm 2024-12-18gnu: u-boot: Update to 2024.10....* gnu/packages/bootloaders.scm (u-boot): Update to 2024.10. [source]: Remove build-without-libcrypto patch. Use git-fetch. (%u-boot-build-without-libcrypto-patch): Remove variable. (u-boot-tools)[arguments]: Enable test_spl. Disable sandbox tests and kwbimage. (python-u-boot-pylib)[arguments]: Add phase to fix build file. (make-u-boot-package)[arguments]: Disable kwbimage. (u-boot-sandbox): Only keep CONFIG_FIT_CIPHER disabled. [inputs]: Add efitools. (u-boot-rockpro64-rk3399): Replace CONFIG_DM_SCSI with CONFIG_SCSI. * gnu/packages/patches/u-boot-build-without-libcrypto.patch: Delete. * gnu/local.mk (dist_patch_DATA): Remove patch. Change-Id: I07cb0df0431ed45af0beb05105ae948136dd9eb3 Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Herman Rimm 2024-12-18Revert "gnu: u-boot-tools: Fix segfault while running tests."...This reverts commit e526b8b11debb184929abd013b7d589c9db245fa. Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Herman Rimm 2024-12-18gnu: MPD: Update to 0.23.16....* gnu/packages/mpd.scm (mpd): Update to 0.23.16. Change-Id: I2efb423027848d3cc0a87470dffa179aff6f7c47 Leo Famulari 2024-12-18gnu: yt-dlp: Update to 2024.12.13....* gnu/packages/video.scm (yt-dlp): Update to 2024.12.13. Change-Id: I9aaf05b55c5f5e8fd07616945dc5b4bfde1573b2 Signed-off-by: Leo Famulari <leo@famulari.name> Ashish SHUKLA 2024-12-18gnu: Add node alias for node-lts....The node alias should henceforth refer to versions of Node.js that are at least as recent as node-lts. * gnu/packages/node.scm (node): New variable. Change-Id: I1f19914715dda7da6bb45917e32b53227b480929 Jelle Licht 2024-12-18gnu: node: Rename variable to node-bootstrap and hide package....The package formerly known as node has security issues, so should only be used to bootstrap more recent and secure versions of node. * gnu/packages/node.scm (node): Rename to... (node-bootstrap): ... this, and make it a hidden package. Change-Id: I536a8f55faa14f8221915467c2981053f4c4d70e Jelle Licht 2024-12-18gnu: esbuild-node: Use node-lts instead of node....* gnu/packages/web.scm (esbuild-node)[#:phases]<build-platform>: Remove workaround needed for building with older versions of Node. [native-inputs]: Replace node by node-lts. Change-Id: Iedf30dc1a395e674007c08ce6c0881dbb0f94f0e Jelle Licht 2024-12-18gnu: vlang: Use node-lts instead of node....* gnu/packages/vlang.scm (vlang)[native-inputs]: Replace node by node-lts. Change-Id: Iaf577f0b9bbd7095392c88c2d2737c0703d3bf96 Jelle Licht 2024-12-18gnu: ruby-execjs: Use node-lts instead of node....* gnu/packages/ruby.scm (ruby-execjs)[native-inputs]: Replace node by node-lts. Change-Id: If7ff42d9865d79c23560fb190db4fdce9ecc621c Jelle Licht 2024-12-18gnu: ruby-autoprefixer-rails: Use node-lts instead of node....* gnu/packages/rails.scm (ruby-autoprefixer-rails)[native-inputs]: Replace node by node-lts. Change-Id: Iea7fc9001cb12eecb1257a9a0f83851bd8bc36fd Jelle Licht 2024-12-18gnu: qtwebengine-5: Use node-lts instead of node....* gnu/packages/qt.scm (qtwebengine-5)[native-inputs]: Replace node by node-lts. Change-Id: If05e9dd0ef4a971074828da66742bb9387536e4d Jelle Licht 2024-12-18gnu: python-cloudscraper: Use node-lts instead of node....* gnu/packages/python-web.scm (python-cloudscraper)[inputs]: Replace node by node-lts. Change-Id: Id7a9354c04557d27ec90cfbecd0c8005cf912f1a Jelle Licht 2024-12-18gnu: fmp: Use node-lts instead of node....* gnu/packages/package-management.scm (fpm)[native-inputs]: Repalce node by node-lts. Change-Id: I5afdb49e18805722b9e69be0cf48c3a29ce49921 Jelle Licht 2024-12-18gnu: js-of-ocaml: Use node-lts instead of node....* gnu/packages/ocaml.scm (js-of-ocaml)[native-inputs]: Replace node by node-lts. Change-Id: Ie7dd4dc25bac75a41d1510df9ecf6cc2c4a2c5a7 Jelle Licht 2024-12-18gnu: ocaml-ezjsonm: Use node-lts instead of node....* gnu/packages/ocaml.scm (ocaml-ezjsonm)[native-inputs]: Replace node by node-lts. Change-Id: Icb79d2ac8cfa424a55e9b5985b8f4dacae7a9f37 Jelle Licht 2024-12-18gnu: python-cwl-utils: Use node-lts instead of node....* gnu/packages/bioinformatics.scm (python-cwl-utils)[inputs]: Replace node by node-lts. Change-Id: Ia98601db0a9233a96263051e1520a848dbc40a9c Jelle Licht 2024-12-18gnu: cwltool: Use node-lts instead of node....* gnu/packages/bioinformatics.scm (cwltool)[inputs]: Replace node by node-lts. Change-Id: Idea8c5cb456080fccd8fff6c6b2c674764ae7bce Jelle Licht 2024-12-18gnu: r-v8: Fix build with node-lts@20....The version bump of node-lts from 18 to 20 also bumped the version in the so-file. * gnu/packages/cran.scm (r-v8)[#:phases]<find-v8>: Look for libnode-so.115 as provided by node-lts. Change-Id: Ib5c0d865aea36c7d881efddf4877cbab4b7dd932 Jelle Licht 2024-12-18gnu: node-addon-api: Update to 8.3.0....* gnu/packages/node-xyz.scm (node-addon-api): Update to 8.3.0. [arguments]<#:phases>: Delete additional optional dependencies in 'delete-dependencies' phase. Change-Id: I86c6b026980aea02a20f889bc7f92ea3a304e674 Jelle Licht 2024-12-18gnu: node-nan: Update to 2.22.0....* gnu/packages/node-xyz.scm (node-nan): Update to 2.22.0. Change-Id: I000014f57db510f2351e2feb57e93b5325ed88a0 Jelle Licht 2024-12-18gnu: node-acorn: Update to 8.7.1....* gnu/packages/node-xyz.scm (node-acorn): Update to 8.7.1. Change-Id: Ie962b9c980f8e14bf0ccce046497bda87108dffc Jelle Licht 2024-12-18gnu: node-uglify-js: Update to 3.19.3....* gnu/packages/uglifyjs.scm (node-uglify-js): Update to 3.19.3. Change-Id: I3c221442e39fc49484122f377df79896bbb18bd9 Jelle Licht