r1466 - branches/udev_update/packages/irssi

alexander at linuxfromscratch.org alexander at linuxfromscratch.org
Wed Apr 5 01:28:43 PDT 2006


Author: alexander
Date: 2006-04-05 02:28:41 -0600 (Wed, 05 Apr 2006)
New Revision: 1466

Added:
   branches/udev_update/packages/irssi/irssi-0.8.10-gslice-1.patch
Modified:
   branches/udev_update/packages/irssi/Makefile
Log:
Fixed irssi segfault with the new glib

Modified: branches/udev_update/packages/irssi/Makefile
===================================================================
--- branches/udev_update/packages/irssi/Makefile	2006-04-04 13:37:59 UTC (rev 1465)
+++ branches/udev_update/packages/irssi/Makefile	2006-04-05 08:28:41 UTC (rev 1466)
@@ -8,6 +8,8 @@
 URL-$(FILE)= http://irssi.org/files/$(FILE)
 SHA-$(FILE)= c27c3aa19f7e54e4295c9e78f522194b296e9f7f
 
+PATCH1= $(DIR)-gslice-1.patch
+
 # Targets
 
 include $(ROOT)/scripts/functions
@@ -23,6 +25,7 @@
 # This breaks non-ASCII input.
 
 compile-stage2:
+	patch -Np1 -i ../$(PATCH1)
 	./configure --prefix=/usr --sysconfdir=/etc
 	make $(PM)
 	make install

Added: branches/udev_update/packages/irssi/irssi-0.8.10-gslice-1.patch
===================================================================
--- branches/udev_update/packages/irssi/irssi-0.8.10-gslice-1.patch	                        (rev 0)
+++ branches/udev_update/packages/irssi/irssi-0.8.10-gslice-1.patch	2006-04-05 08:28:41 UTC (rev 1466)
@@ -0,0 +1,20 @@
+Submitted By: Alexander E. Patrakov
+Date: 2006-04-05
+Initial Package Version: 0.8.10
+Upstream Status: ???
+Origin: http://people.ubuntu.com/~scott/patches/irssi/irssi_0.8.10-1ubuntu1.patch
+Description: Fixes segfault-on-quit with Glib >= 2.10
+
+diff -urNad irssi-0.8.10~/src/irc/dcc/dcc.c irssi-0.8.10/src/irc/dcc/dcc.c
+--- irssi-0.8.10~/src/irc/dcc/dcc.c	2006-01-18 14:25:19.000000000 +0200
++++ irssi-0.8.10/src/irc/dcc/dcc.c	2006-01-18 14:41:20.000000000 +0200
+@@ -58,8 +58,8 @@
+ 
+ 	pos = gslist_find_string(dcc_types, type);
+ 	if (pos != NULL) {
+-                dcc_types = g_slist_remove(dcc_types, pos->data);
+ 		g_free(pos->data);
++                dcc_types = g_slist_remove(dcc_types, pos->data);
+ 	}
+ }
+ 




More information about the livecd mailing list