liferea: 1.14.2 -> 1.14.3

This commit is contained in:
José Romildo 2023-03-28 11:42:10 -03:00 committed by Vincent Laporte
parent 777a7125e8
commit 4929fad3c7
2 changed files with 28 additions and 2 deletions

View File

@ -0,0 +1,21 @@
diff -pru liferea-1.14.3-orig/src/common.c liferea-1.14.3/src/common.c
--- liferea-1.14.3-orig/src/common.c 2023-03-23 20:36:21.000000000 +0100
+++ liferea-1.14.3/src/common.c 2023-03-24 23:34:08.971922545 +0100
@@ -85,6 +85,8 @@ common_init_paths (void)
common_check_dir (g_build_filename (g_get_user_config_dir(), "liferea", NULL));
common_check_dir (g_build_filename (g_get_user_data_dir(), "liferea", NULL));
+ pathsChecked = TRUE;
+
/* Install default stylesheet if it does not yet exist */
filename = common_create_config_filename ("liferea.css");
if (!g_file_test (filename, G_FILE_TEST_EXISTS))
@@ -95,8 +97,6 @@ common_init_paths (void)
umask (077);
g_free (lifereaCachePath);
-
- pathsChecked = TRUE;
}
gchar *

View File

@ -24,13 +24,18 @@
stdenv.mkDerivation rec {
pname = "liferea";
version = "1.14.2";
version = "1.14.3";
src = fetchurl {
url = "https://github.com/lwindolf/${pname}/releases/download/v${version}/${pname}-${version}.tar.bz2";
sha256 = "aXgw3MwleHDw2yNbs5Cin687xVTLxeNwBt94c1b4fXQ=";
sha256 = "VmEyGXrePdnRzRldSOOfiB55KBu7w9x4Y9vA8gufot4=";
};
patches = [
# https://github.com/lwindolf/liferea/issues/1217
./bug-1217-segfaults.patch
];
nativeBuildInputs = [
wrapGAppsHook
python3Packages.wrapPython