summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-pda/jpilot-plucker/files/jpilot-plucker-0.01-pilot-0.12-compat.patch')
-rw-r--r--app-pda/jpilot-plucker/files/jpilot-plucker-0.01-pilot-0.12-compat.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-pda/jpilot-plucker/files/jpilot-plucker-0.01-pilot-0.12-compat.patch b/app-pda/jpilot-plucker/files/jpilot-plucker-0.01-pilot-0.12-compat.patch
new file mode 100644
index 000000000000..3df6100fcb0b
--- /dev/null
+++ b/app-pda/jpilot-plucker/files/jpilot-plucker-0.01-pilot-0.12-compat.patch
@@ -0,0 +1,14 @@
+--- src/plugin.c.dist 2003-06-04 19:13:41.000000000 -0700
++++ src/plugin.c 2007-09-20 15:51:22.000000000 -0700
+@@ -268,7 +268,11 @@
+ creator[4] = '\0';
+ jp_logf(JP_LOG_GUI, "(Creator ID is '%s')...", creator);
+
++#if PILOT_LINK_MAJOR >= 12
++ rval = pi_file_install (f, sd, 0, NULL);
++#else
+ rval = pi_file_install (f, sd, 0);
++#endif
+
+ if (rval < 0) {
+ g_snprintf (log_entry, 255, "Install %s failed", pc);