summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2016-12-30 15:26:11 +0100
committerDavid Seifert <soap@gentoo.org>2017-01-04 12:13:52 +0200
commit4900df19ccc108c602fda59a5e6a7f095934241b (patch)
treec63cc53ab926b48381260327eb6a5f4debf9f43f /media-video/bdsup2sub
parentmedia-tv/kodi: remove unused patch (diff)
downloadgentoo-4900df19ccc108c602fda59a5e6a7f095934241b.tar.gz
gentoo-4900df19ccc108c602fda59a5e6a7f095934241b.tar.bz2
gentoo-4900df19ccc108c602fda59a5e6a7f095934241b.zip
media-video/bdsup2sub: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/3286
Diffstat (limited to 'media-video/bdsup2sub')
-rw-r--r--media-video/bdsup2sub/files/bdsup2sub-4.0.0-xdg.diff37
1 files changed, 0 insertions, 37 deletions
diff --git a/media-video/bdsup2sub/files/bdsup2sub-4.0.0-xdg.diff b/media-video/bdsup2sub/files/bdsup2sub-4.0.0-xdg.diff
deleted file mode 100644
index 4a045d31b190..000000000000
--- a/media-video/bdsup2sub/files/bdsup2sub-4.0.0-xdg.diff
+++ /dev/null
@@ -1,37 +0,0 @@
-diff -Naur src.orig/deadbeef/SupTools/Core.java src/deadbeef/SupTools/Core.java
---- src.orig/deadbeef/SupTools/Core.java 2010-07-28 22:56:08.319223422 +0200
-+++ src/deadbeef/SupTools/Core.java 2010-07-28 22:56:08.890223411 +0200
-@@ -22,6 +22,8 @@
- import deadbeef.Tools.Props;
- import deadbeef.Tools.ToolBox;
-
-+import java.io.File;
-+
- /*
- * Copyright 2009 Volker Oth (0xdeadbeef)
- *
-@@ -768,6 +770,11 @@
- }
- fnameProps += Core.iniName;
-
-+ // use XDG spec
-+ fnameProps = System.getenv("XDG_CONFIG_HOME");
-+ if (fnameProps == null) fnameProps = System.getProperty("user.home") + "/.config";
-+ fnameProps += "/" + Core.iniName;
-+
- // read properties from ini file
- props = new Props();
- props.setHeader(Core.progNameVer+" settings - don't modify manually");
-@@ -905,8 +912,11 @@
- * Write properties
- */
- public static void storeProps() {
-- if (props != null)
-+ if (props != null) {
-+ File path = new File(ToolBox.getPathName(fnameProps));
-+ path.mkdirs();
- props.save(fnameProps);
-+ }
- }
-
- /**