On Sunday, 27 December 2009 at 18:00, Joel Esler wrote:

> Has anyone figured out the m_osx_addressbook lbdb query bug in Snow
> Leopard yet?  When I install lbdb either via source or via ports, I
> have no ABQuery, or m_osx_addressbook support.
> 
> I know, that was pretty much a lbdb bug..  but I figured if anyone
> else has ran into it, it would be people on this list.
> 
> Otherwise, oh yeah, also...  urlview doesn't work on Snow Leopard
> (crashes upon invocation)
> 
> Anyone?

I maintain the fink port, and haven't had any problems with lbdb
building ABQuery there. For urlview, I had the same problem and
"fixed" it with the following voodoo patch (included in the fink
package):

@@ -506,10 +506,11 @@
          free (url[current]);
          url[current] = strdup (buf);
          endwin ();
+         quote (scratch, sizeof (scratch), url[current]);
          if (strstr (command, "%s"))
-           snprintf (buf, sizeof (buf), command, quote (scratch, sizeof 
(scratch), url[current
]));
+           snprintf (buf, sizeof (buf), command, scratch);
          else
-           snprintf (buf, sizeof (buf), "%s %s", command, quote (scratch, 
sizeof (scratch), ur
l[current]));
+           snprintf (buf, sizeof (buf), "%s %s", command, scratch);
          printf ("Executing: %s...\n", buf);
          fflush (stdout);
          system (buf);

Reply via email to