mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Patch xdg-open to drop LD_PRELOAD if called from a Linux app to fix
skype invoking native browsers. [1] - Bump PORTREVISION. Reported by: guru@unixarea.de (Matthias Apitz) on -emulation [1] Approved by: gnome@ (kwm, via irc)
This commit is contained in:
parent
ca81209a91
commit
1fb6e6f60c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=292854
2 changed files with 17 additions and 4 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
PORTNAME= xdg-utils
|
||||
PORTVERSION= 1.0.2
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://portland.freedesktop.org/download/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
|
|
@ -1,6 +1,19 @@
|
|||
--- scripts/xdg-open.orig 2009-08-15 13:22:26.000000000 -0400
|
||||
+++ scripts/xdg-open 2009-08-15 13:26:02.000000000 -0400
|
||||
@@ -364,7 +364,9 @@ open_generic()
|
||||
--- scripts/xdg-open.orig
|
||||
+++ scripts/xdg-open
|
||||
@@ -31,6 +31,12 @@
|
||||
#
|
||||
#---------------------------------------------
|
||||
|
||||
+# If we are started from a Linux app with LD_PRELOAD set unset that
|
||||
+# so native apps (like browers) won't fail to start.
|
||||
+if [ "x$(uname)" = "xLinux" ]; then
|
||||
+ unset LD_PRELOAD
|
||||
+fi
|
||||
+
|
||||
manualpage()
|
||||
{
|
||||
cat << _MANUALPAGE
|
||||
@@ -364,7 +370,9 @@ open_generic()
|
||||
for browser in $BROWSER; do
|
||||
if [ x"$browser" != x"" ]; then
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue