Subject: pkg/34137: plugins from comms/jpilot failing due to extern resolving error
To: None <,,>
From: Brian de Alwis <>
List: pkgsrc-bugs
Date: 08/04/2006 00:40:00
>Number:         34137
>Category:       pkg
>Synopsis:       plugins from comms/jpilot failing due to extern resolving error
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 04 00:40:00 +0000 2006
>Originator:     Brian de Alwis
>Release:        NetBSD 3.99.21
  Brian de Alwis | Software Practices Lab | UBC |
System: NetBSD monolith 3.99.21 NetBSD 3.99.21 (LAPTOP.MPACPI) #2: Tue Aug 1 08:07:32 PDT 2006 bsd@monolith:/usr/obj/sys/arch/i386/compile/LAPTOP.MPACPI i386
Architecture: i386
Machine: i386
        As jpilot hasn't separated out the GUI code from the base code,
        its plugins require stubbed references to several GUI-specific
        global variables.  glob_tooltips has been missed and as a result
        several shipped plugins fail to load when using the external
        program jpilot-sync.

        $ jpilot-sync
        note that amongst others will fail due to
        unresolved symbols.

        Include the following simple patch in patches/.
        I haven't included distinfo or Makefile PKGREVISION changes.

--- jpilot-sync.c.orig  2006-08-03 15:44:03.000000000 -0700
+++ jpilot-sync.c       2006-08-03 15:44:32.000000000 -0700
@@ -43,6 +43,7 @@
 int pipe_to_parent, pipe_from_parent;
 pid_t glob_child_pid;
 GtkWidget *glob_dialog;
+GtkTooltips *glob_tooltips;
 pid_t glob_child_pid;

 unsigned char skip_plugins;