I managed to do a quick hack to fix the code for the new JPilot
Backup plugin, diff below. You can get the original code here:
http://people.atl.mediaone.net/jasonday/code/backup/backup.html
I'll spend some time this week and work out a cleaner fix, but
this works so far.
---
diff -ur Backup.orig/backup.c Backup.new/backup.c
--- Backup.orig/backup.c Thu Feb 10 11:26:34 2000
+++ Backup.new/backup.c Sun Feb 11 23:49:01 2001
@@ -88,6 +88,12 @@
gpointer data);
+void plugin_version(int *major_version, int *minor_version)
+{
+ *major_version=0;
+ *minor_version=99;
+}
+
int plugin_get_name(char *name, int len)
{
strncpy(name, "Backup 0.23", len);
diff -ur Backup.orig/configure Backup.new/configure
--- Backup.orig/configure Thu Feb 10 11:54:42 2000
+++ Backup.new/configure Sun Feb 11 23:41:59 2001
@@ -857,9 +857,9 @@
echo "configure:858: checking for JPilot plugin library" >&5
pluginlibs=no
for plugin_lib in $plugin_prefix . .. /usr/lib /usr/local/lib; do
- if test -r "$plugin_lib/libplugin.a" ; then
+ if test -r "$plugin_lib/libplugin.h" ; then
pluginlibs=yes
- libs="$libs -L$plugin_lib -lplugin"
+ libs="$libs -L$plugin_lib"
break
fi
done
---
/d
_______________________________________________
Pilot-unix mailing list
[EMAIL PROTECTED]
http://hcirisc.cs.binghamton.edu/mailman/listinfo/pilot-unix