head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.48 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.46 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.44 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.42 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.40 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.38 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.36 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.34 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.32 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.30 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.28 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.26 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.24 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.22 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.20 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.18 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.16 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.14 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.12 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.10 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.8 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.6 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.4 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.2 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.1.0.2 pkgsrc-2020Q1-base:1.1; locks; strict; comment @// @; 1.2 date 2020.04.22.08.13.40; author nia; state Exp; branches; next 1.1; commitid hQxBntNIXqMn7m5C; 1.1 date 2020.03.06.12.23.01; author nia; state Exp; branches; next ; commitid 0CcTnqrZb9fW0lZB; desc @@ 1.2 log @caprice32: Update to 4.6.0 Changes: * Support CAP32_DELAY in autorun commands * Support German keyboard (physical layout only) * Better freedesktop integration * Better logic for finding configuration file * Dynamic loading of CAPS (IPF) library * Nix packaging support @ text @$NetBSD: patch-src_cap32.cpp,v 1.1 2020/03/06 12:23:01 nia Exp $ Fix paths. --- src/cap32.cpp.orig 2020-03-14 14:36:08.000000000 +0000 +++ src/cap32.cpp @@@@ -1577,7 +1577,7 @@@@ std::string getConfigurationFilename(boo { getenv("XDG_CONFIG_HOME"), "/cap32.cfg" }, { getenv("HOME"), "/.config/cap32.cfg" }, { getenv("HOME"), "/.cap32.cfg" }, - { PATH_OK, "/etc/cap32.cfg"} + { PATH_OK, "@@PKG_SYSCONFDIR@@/cap32.cfg"} }; for(const auto& p: configPaths){ @ 1.1 log @emulators: Add caprice32. Caprice32 is a software emulator of the Amstrad CPC 8bit home computer series. The emulator faithfully imitates the CPC464, CPC664, and CPC6128 models. By recreating the operations of all hardware components at a low level, the emulator achieves a high degree of compatibility with original CPC software. These programs or games can be run unmodified at real-time or higher speeds, depending on the emulator host environment. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- src/cap32.cpp.orig 2019-01-04 19:01:29.000000000 +0000 d7 9 a15 9 @@@@ -1578,7 +1578,7 @@@@ std::string getConfigurationFilename(boo configFilename = std::string(getenv("HOME")) + "/.cap32.cfg"; // If still not found, look for cap32.cfg in /etc if (!forWrite && access(configFilename.c_str(), F_OK) != 0) { - configFilename = "/etc/cap32.cfg"; + configFilename = "@@PKG_SYSCONFDIR@@/cap32.cfg"; } } } @