summaryrefslogtreecommitdiff
path: root/pcr/expac-relative/0001-fix-target-processing.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/expac-relative/0001-fix-target-processing.patch')
-rw-r--r--pcr/expac-relative/0001-fix-target-processing.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/pcr/expac-relative/0001-fix-target-processing.patch b/pcr/expac-relative/0001-fix-target-processing.patch
new file mode 100644
index 000000000..f3c682ff7
--- /dev/null
+++ b/pcr/expac-relative/0001-fix-target-processing.patch
@@ -0,0 +1,27 @@
+From ea25d7e51c2236e739aef2718499781dd37ef53d Mon Sep 17 00:00:00 2001
+From: Dave Reisner <dreisner@archlinux.org>
+Date: Tue, 25 Nov 2014 10:50:19 -0500
+Subject: [PATCH] fix target processing
+
+lack of targets is not an error.
+---
+ expac.c | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/expac.c b/expac.c
+index 5a11a59..d89e072 100644
+--- a/expac.c
++++ b/expac.c
+@@ -848,9 +848,6 @@ int main(int argc, char *argv[])
+ }
+
+ targets = process_targets(argc, argv);
+- if(targets == NULL) {
+- return 1;
+- }
+
+ r = expac_new(&expac, opt_config_file);
+ if(r < 0) {
+--
+2.1.3
+