- Fix libProjectM crash once selected. - Fix default CA file for gnutls module.el8
parent
b1e9b836c8
commit
f1f06a0a02
@ -0,0 +1,15 @@
|
||||
diff -up vlc-1.1.4/modules/visualization/projectm.cpp.hardcode vlc-1.1.4/modules/visualization/projectm.cpp
|
||||
--- vlc-1.1.4/modules/visualization/projectm.cpp.hardcode 2010-04-13 02:22:27.000000000 +0200
|
||||
+++ vlc-1.1.4/modules/visualization/projectm.cpp 2010-11-10 22:52:59.496688406 +0100
|
||||
@@ -75,9 +75,9 @@ vlc_module_begin ()
|
||||
#else
|
||||
add_file( "projectm-preset-path", "/usr/share/projectM/presets", NULL,
|
||||
PRESET_PATH_TXT, PRESET_PATH_LONGTXT, true )
|
||||
- add_file( "projectm-title-font", "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf", NULL,
|
||||
+ add_file( "projectm-title-font", "/usr/share/fonts/dejavu/DejaVuSans.ttf", NULL,
|
||||
TITLE_FONT_TXT, TITLE_FONT_LONGTXT, true )
|
||||
- add_file( "projectm-menu-font", "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf", NULL,
|
||||
+ add_file( "projectm-menu-font", "/usr/share/fonts/dejavu/DejaVuSansMono.ttf", NULL,
|
||||
MENU_FONT_TXT, MENU_FONT_LONGTXT, true )
|
||||
#endif
|
||||
add_integer( "projectm-width", 800, NULL, WIDTH_TEXT, WIDTH_LONGTEXT,
|
@ -0,0 +1,14 @@
|
||||
diff -up vlc-1.1.4/modules/misc/gnutls.c.tls_path vlc-1.1.4/modules/misc/gnutls.c
|
||||
--- vlc-1.1.4/modules/misc/gnutls.c.tls_path 2010-06-08 00:57:45.000000000 +0200
|
||||
+++ vlc-1.1.4/modules/misc/gnutls.c 2010-11-10 23:13:01.390977175 +0100
|
||||
@@ -695,8 +695,8 @@ static int OpenClient (vlc_object_t *obj
|
||||
const char *confdir = config_GetConfDir ();
|
||||
{
|
||||
char path[strlen (confdir)
|
||||
- + sizeof ("/ssl/certs/ca-certificates.crt")];
|
||||
- sprintf (path, "%s/ssl/certs/ca-certificates.crt", confdir);
|
||||
+ + sizeof ("/pki/tls/certs/ca-bundle.crt")];
|
||||
+ sprintf (path, "%s/pki/tls/certs/ca-bundle.crt", confdir);
|
||||
gnutls_Addx509File (VLC_OBJECT (p_session),
|
||||
p_sys->x509_cred, path, false);
|
||||
}
|
Loading…
Reference in new issue