diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-31 21:06:00 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-31 21:06:00 +0000 |
commit | c9c609463fab9bcfb35694627bca1429a21fdbb2 (patch) | |
tree | 024860c3c54aa33cdb6972acd3e2e0b8484f3aa7 /x11-misc/xscreensaver/files | |
parent | 6dd9db91dd6ce9bbe3197aa82642866e637ba68d (diff) |
gentoo auto-resync : 31:10:2022 - 21:05:59
Diffstat (limited to 'x11-misc/xscreensaver/files')
-rw-r--r-- | x11-misc/xscreensaver/files/xscreensaver-6.05-get-dirs-from-gtk3.0-in-configure.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/x11-misc/xscreensaver/files/xscreensaver-6.05-get-dirs-from-gtk3.0-in-configure.patch b/x11-misc/xscreensaver/files/xscreensaver-6.05-get-dirs-from-gtk3.0-in-configure.patch new file mode 100644 index 000000000000..c624c8046026 --- /dev/null +++ b/x11-misc/xscreensaver/files/xscreensaver-6.05-get-dirs-from-gtk3.0-in-configure.patch @@ -0,0 +1,27 @@ +Even though xscreensaver now uses GTK+3 instead of GTK+2 since version 6.05 +it still gets its directories from GTK+2 which results in an empty prefix +when GTK+2 is not installed. + +Bug: https://bugs.gentoo.org/878875 + +Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de> + +--- a/configure ++++ b/configure +@@ -16035,7 +16035,7 @@ printf "%s\n" "$ac_cv_gtk_config_libs" >&6; } + + GTK_DATADIR="" + if test "$have_gtk" = yes; then +- GTK_DATADIR=`$pkg_config --variable=prefix gtk+-2.0` ++ GTK_DATADIR=`$pkg_config --variable=prefix gtk+-3.0` + GTK_DATADIR="$GTK_DATADIR/share" + fi + +@@ -21440,6 +21440,6 @@ printf %s "checking for locale directory... " >&6; } + if test -n "$GTK_DATADIR" ; then + PO_DATADIR="$GTK_DATADIR" + elif test "$have_gtk" = yes; then +- PO_DATADIR=`$pkg_config --variable=prefix gtk+-2.0` ++ PO_DATADIR=`$pkg_config --variable=prefix gtk+-3.0` + PO_DATADIR="$PO_DATADIR/share" + fi |