summaryrefslogtreecommitdiffstats
path: root/desktop/emerald/tar_ordering_fix.patch
diff options
context:
space:
mode:
author M.Dinslage <daedra1980@gmail.com>2021-07-25 20:43:28 -0500
committer Robby Workman <rworkman@slackbuilds.org>2021-07-25 20:43:46 -0500
commitda4c070910424783a3557d5c0e70f254ddec009a (patch)
treefc4b446f3e398c914f777053133daa96385241d9 /desktop/emerald/tar_ordering_fix.patch
parent371786399eea13e0b5785879923af7d68cdc91b5 (diff)
downloadslackbuilds-da4c070910424783a3557d5c0e70f254ddec009a.tar.gz
slackbuilds-da4c070910424783a3557d5c0e70f254ddec009a.tar.xz
desktop/emerald: Updated for version 0.8.18.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop/emerald/tar_ordering_fix.patch')
-rw-r--r--desktop/emerald/tar_ordering_fix.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/desktop/emerald/tar_ordering_fix.patch b/desktop/emerald/tar_ordering_fix.patch
new file mode 100644
index 0000000000..10fd120efd
--- /dev/null
+++ b/desktop/emerald/tar_ordering_fix.patch
@@ -0,0 +1,25 @@
+From ddc504ea11ee9f16202be0aa5fb104bae1273643 Mon Sep 17 00:00:00 2001
+From: Steven M Campbell <scampbell@scampbell.net>
+Date: Sun, 2 May 2021 17:39:16 -0400
+Subject: [PATCH] emerald-theme-manager is now compatible with newer versions
+ of tar. The tar command now requires that the exclude directives come before
+ the specification of files to archive. This new ordering is compatible with
+ older versions of tar as well making this an easy fix.
+
+---
+ themer/main.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/themer/main.c b/themer/main.c
+index c936a64..9aad0b4 100644
+--- a/themer/main.c
++++ b/themer/main.c
+@@ -512,7 +512,7 @@ static void export_theme(gchar * file)
+ at = g_shell_quote(fn);
+ g_free(fn);
+ fn = g_shell_quote(file);
+- ot = g_strdup_printf("tar -czf %s -C %s ./ --exclude=*~",fn,at);
++ ot = g_strdup_printf("tar -czf %s -C %s --exclude=*~ ./",fn,at);
+ if (!g_spawn_command_line_sync(ot,NULL,NULL,&ex,NULL) ||
+ (WIFEXITED(ex)&&WEXITSTATUS(ex)))
+ {