pulseeffects-legacy: rebuild for boost-1.80

This commit is contained in:
Đoàn Trần Công Danh 2022-08-26 17:00:43 +07:00
parent 5ae9440a32
commit cdabc025ef
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,19 @@
--- a/src/general_settings_ui.cpp
+++ b/src/general_settings_ui.cpp
@@ -20,6 +20,7 @@
#include "general_settings_ui.hpp"
#include <giomm/file.h>
#include <glibmm.h>
+#include <fstream>
#include <boost/filesystem.hpp>
#include "util.hpp"
@@ -176,7 +177,7 @@ auto GeneralSettingsUi::on_enable_autost
if (state) {
if (!boost::filesystem::exists(autostart_file)) {
- boost::filesystem::ofstream ofs{autostart_file};
+ std::ofstream ofs{autostart_file.native()};
ofs << "[Desktop Entry]\n";
ofs << "Name=PulseEffects\n";

View File

@ -1,7 +1,7 @@
# Template file for 'pulseeffects-legacy'
pkgname=pulseeffects-legacy
version=4.8.5
revision=3
revision=4
wrksrc="easyeffects-${version}"
build_style=meson
hostmakedepends="itstool pkg-config gettext glib-devel"