Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > c6f48bfcf9821e5887ae24ffd740c439 > files > 1

nspluginwrapper-0.9.91.5-4mdv2008.0.src.rpm

diff -ur nspluginwrapper-0.9.91.5.orig/Makefile nspluginwrapper-0.9.91.5/Makefile
--- nspluginwrapper-0.9.91.5.orig/Makefile	2007-08-22 21:20:50.000000000 +0200
+++ nspluginwrapper-0.9.91.5/Makefile	2008-02-02 22:35:36.000000000 +0100
@@ -96,7 +96,7 @@
 npviewer_CFLAGS += -I$(LSB_INC_DIR)/glib-2.0
 npviewer_CFLAGS += -I$(LSB_INC_DIR)/gtk-2.0
 npviewer_LDFLAGS = $(LDFLAGS_32) -L$(LSB_OBJ_DIR)
-npviewer_LDFLAGS += -lgtk-x11-2.0 -lgdk-x11-2.0 -lgobject-2.0 -ldl -lglib-2.0 -lX11 -lXt
+npviewer_LDFLAGS += -lgtk-x11-2.0 -lgdk-x11-2.0 -lgobject-2.0 -ldl -lglib-2.0 -lgthread-2.0 -lX11 -lXt
 else
 npviewer_CFLAGS += $(GTK_CFLAGS)
 npviewer_LDFLAGS = $(GTK_LDFLAGS) $(X_LDFLAGS)
diff -ur nspluginwrapper-0.9.91.5.orig/configure nspluginwrapper-0.9.91.5/configure
--- nspluginwrapper-0.9.91.5.orig/configure	2007-08-20 22:44:59.000000000 +0200
+++ nspluginwrapper-0.9.91.5/configure	2008-02-03 00:12:58.000000000 +0100
@@ -300,8 +300,8 @@
 # check for GTK+ 2.0 compile CFLAGS
 if test "$build_viewer" = "yes"; then
     if $pkgconfig --exists gtk+-2.0; then
-	GTK_CFLAGS=`$pkgconfig --cflags gtk+-2.0`
-	GTK_LDFLAGS=`$pkgconfig --libs gtk+-2.0`
+	GTK_CFLAGS=`$pkgconfig --cflags gtk+-2.0  gthread-2.0`
+	GTK_LDFLAGS=`$pkgconfig --libs gtk+-2.0  gthread-2.0`
     else
 	echo "GTK+ 2.0 environment not found"
 	exit 1
Only in nspluginwrapper-0.9.91.5: configure~
diff -ur nspluginwrapper-0.9.91.5.orig/src/npw-viewer.c nspluginwrapper-0.9.91.5/src/npw-viewer.c
--- nspluginwrapper-0.9.91.5.orig/src/npw-viewer.c	2007-08-26 08:30:19.000000000 +0200
+++ nspluginwrapper-0.9.91.5/src/npw-viewer.c	2008-02-02 22:35:36.000000000 +0100
@@ -3001,6 +3001,7 @@
   XtToolkitInitialize();
   x_app_context = XtCreateApplicationContext();
   x_display = XtOpenDisplay(x_app_context, NULL, "npw-viewer", "npw-viewer", NULL, 0, &argc, argv);
+  g_thread_init(NULL);
   gtk_init(&argc, &argv);
 
   // Initialize RPC communication channel
Only in nspluginwrapper-0.9.91.5/src: npw-viewer.c.orig