diff options
author | rh <rh@pkgsrc.org> | 2000-06-15 21:14:06 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2000-06-15 21:14:06 +0000 |
commit | c0f5618eecde5c077d8e9c8320b85653b3e7ae62 (patch) | |
tree | a3d481f27912c8dccf38f88c535fe4fce3e29bc4 /comms/jpilot/patches | |
parent | 266648019e2a729c11e995adee8c92d8d01f66fa (diff) | |
download | pkgsrc-c0f5618eecde5c077d8e9c8320b85653b3e7ae62.tar.gz |
Fix plugin handling.
Diffstat (limited to 'comms/jpilot/patches')
-rw-r--r-- | comms/jpilot/patches/patch-aa | 12 | ||||
-rw-r--r-- | comms/jpilot/patches/patch-ab | 30 |
2 files changed, 42 insertions, 0 deletions
diff --git a/comms/jpilot/patches/patch-aa b/comms/jpilot/patches/patch-aa new file mode 100644 index 00000000000..1dbd2d75010 --- /dev/null +++ b/comms/jpilot/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1 2000/06/15 21:14:07 rh Exp $ + +--- configure.orig Mon Feb 28 23:30:09 2000 ++++ configure Thu Jun 15 18:05:22 2000 +@@ -3779,7 +3779,6 @@ + echo $ac_n "checking for dlopen""... $ac_c" 1>&6 + echo "configure:3781: checking for dlopen" >&5 + save_LIBS="$LIBS" +- LIBS="$LIBS -ldl" + cat > conftest.$ac_ext <<EOF + #line 3785 "configure" + #include "confdefs.h" diff --git a/comms/jpilot/patches/patch-ab b/comms/jpilot/patches/patch-ab new file mode 100644 index 00000000000..2ad623f9886 --- /dev/null +++ b/comms/jpilot/patches/patch-ab @@ -0,0 +1,30 @@ +$NetBSD: patch-ab,v 1.1 2000/06/15 21:14:08 rh Exp $ + +--- plugins.c.orig Sun Feb 13 05:36:01 2000 ++++ plugins.c Thu Jun 15 22:19:03 2000 +@@ -127,7 +127,7 @@ + char name[52]; + char db_name[52]; + int version, major_version, minor_version; +- /* void (*plugin_set_jpilot_logf)(int (*Pjpilot_logf)(int level, char *format, ...));*/ ++ void (*plugin_set_jpilot_logf)(int (*Pjpilot_logf)(int level, char *format, ...)); + void (*plugin_versionM)(int *major_version, int *minor_version); + + p->full_path = NULL; +@@ -159,14 +159,14 @@ + p->handle=h; + + /* logf */ +-/* ++ + plugin_set_jpilot_logf = dlsym(h, "plugin_set_jpilot_logf"); + if ((err = dlerror()) != NULL) { + jpilot_logf(LOG_WARN, "plugin_set_jpilot_logf, [%s]\n [%s]\n", err, path); + } else { + plugin_set_jpilot_logf(jpilot_logf); + } +-*/ ++ + + p->full_path = strdup(path); + |