pkgsrc/x11/xview-lib/patches/patch-as
abs c9c8f97e88 - Add PKG_DESTDIR_SUPPORT
- Depend on the latest version of xview-config
- Mark as LICENSE sun-openlook-license
- Bump pkgrevision
2009-12-10 20:35:56 +00:00

21 lines
811 B
Text

$NetBSD: patch-as,v 1.3 2009/12/10 20:35:56 abs Exp $
--- lib/libxview/server/server.c.orig 1994-06-26 18:53:40.000000000 +0000
+++ lib/libxview/server/server.c
@@ -65,6 +65,7 @@ static Notify_value scheduler();
static unsigned int string_to_modmask();
static Server_atom_type save_atom();
static void server_yield_modifiers();
+static int xv_set_scheduler();
Xv_private char *xv_strtok();
@@ -440,7 +441,7 @@ server_init(parent, server_public, avlis
/* lumpi@dobag.in-berlin.de */
if (XrmGetDatabase((Display *)server->xdisplay)) {
server->db = XrmGetStringDatabase(
- (XrmGetDatabase((Display *)server->xdisplay)));
+ (char *) (XrmGetDatabase((Display *)server->xdisplay)));
#else
if (((Display *)server->xdisplay)->xdefaults) {
server->db = XrmGetStringDatabase(