svn commit: r426051 - in head/graphics/llpp: . files

Kurt Jaeger pi at FreeBSD.org
Sun Nov 13 14:00:52 UTC 2016


Author: pi
Date: Sun Nov 13 14:00:50 2016
New Revision: 426051
URL: https://svnweb.freebsd.org/changeset/ports/426051

Log:
  graphics/llpp: Fix 'crashes Firefox sometimes'
  
  - This one is related to bug #199872 where Firefox would randomly crash
    when exiting llpp (sometimes yes and sometimes no, you don't know which
    beforehand).
    Firefox (or GTK+ apps in general) seems to monitor ~/.config
    (not sure if true).  llpp writes to ~/.config/llpp.conf when it
    exits, which will trigger bug #199872.
  - This patch moves llpp's config file to ~/.llpp.conf instead, solving
    this annoyance.
  
  PR:		214458
  Submitted by:	Tobias Kortkamp <t at tobik.me> (maintainer)

Added:
  head/graphics/llpp/files/patch-config.ml   (contents, props changed)
Modified:
  head/graphics/llpp/Makefile

Modified: head/graphics/llpp/Makefile
==============================================================================
--- head/graphics/llpp/Makefile	Sun Nov 13 13:23:04 2016	(r426050)
+++ head/graphics/llpp/Makefile	Sun Nov 13 14:00:50 2016	(r426051)
@@ -3,7 +3,7 @@
 
 PORTNAME=	llpp
 PORTVERSION=	22
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	graphics
 MASTER_SITES=	http://repo.or.cz/llpp.git/snapshot/
 DISTNAME=	561dc5673cea431e930668b0d87b0c4b31a36b39

Added: head/graphics/llpp/files/patch-config.ml
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/llpp/files/patch-config.ml	Sun Nov 13 14:00:50 2016	(r426051)
@@ -0,0 +1,21 @@
+--- config.ml.orig	2015-10-13 20:12:27 UTC
++++ config.ml
+@@ -1420,17 +1420,7 @@ let do_load f contents =
+ ;;
+ 
+ let defconfpath =
+-  let dir =
+-    let xdgconfdir = Utils.getenvwithdef "XDG_CONFIG_HOME" E.s in
+-    if emptystr xdgconfdir
+-    then
+-      try
+-        let dir = Filename.concat home ".config" in
+-        if Sys.is_directory dir then dir else home
+-      with _ -> home
+-    else xdgconfdir
+-  in
+-  Filename.concat dir "llpp.conf"
++  Filename.concat home ".llpp.conf"
+ ;;
+ 
+ let confpath = ref defconfpath;;


More information about the svn-ports-all mailing list