summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-28 01:26:29 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-28 01:29:25 +0700
commita57871ce6b8a31822c082d76fe21d4d06c0b0906 (patch)
treefabca06f5a671477904e4c515aa9d93dd1757e43 /desktop
parenteea3aaacc21ce19703f7ba32cd70fe8db57543fa (diff)
downloadslackbuilds-a57871ce6b8a31822c082d76fe21d4d06c0b0906.tar.gz
desktop/docfetcher: Fix patch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/docfetcher/docfetcher.SlackBuild2
-rw-r--r--desktop/docfetcher/paths.patch18
-rw-r--r--desktop/docfetcher/paths.patch.gzbin0 -> 354 bytes
3 files changed, 1 insertions, 19 deletions
diff --git a/desktop/docfetcher/docfetcher.SlackBuild b/desktop/docfetcher/docfetcher.SlackBuild
index fd4bc53881..f3e42f9a09 100644
--- a/desktop/docfetcher/docfetcher.SlackBuild
+++ b/desktop/docfetcher/docfetcher.SlackBuild
@@ -63,7 +63,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Set some sane defaults
-patch -p1 -i $CWD/paths.patch --verbose
+zcat $CWD/paths.patch.gz | patch -p1
mkdir -p $PKG/usr/share/{$PRGNAM,applications} \
$PKG/usr/bin
diff --git a/desktop/docfetcher/paths.patch b/desktop/docfetcher/paths.patch
deleted file mode 100644
index 6f071637c1..0000000000
--- a/desktop/docfetcher/paths.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- DocFetcher-1.1.19.orig/misc/paths.txt 2017-01-10 16:36:26.000000000 +0100
-+++ DocFetcher-1.1.19/misc/paths.txt 2018-01-23 08:39:05.136882469 +0100
-@@ -28,10 +28,13 @@
-
- # Where the settings are stored:
- #settings=C:/path/to/settings/folder
-+settings=${user.home}/.docfetcher/conf
-
- # Where the indexes are stored. Note: The DocFetcher daemon currently ignores
- # this setting.
- #indexes=C:/path/to/indexes/folder
-+indexes=${user.home}/.docfetcher/indexes
-
- # Where the SWT library files will be written to:
--#swt=C:/path/to/swt-libs
-\ No newline at end of file
-+#swt=C:/path/to/swt-libs
-+swt=${user.home}/.docfetcher/swt
diff --git a/desktop/docfetcher/paths.patch.gz b/desktop/docfetcher/paths.patch.gz
new file mode 100644
index 0000000000..ee24bde092
--- /dev/null
+++ b/desktop/docfetcher/paths.patch.gz
Binary files differ