Hello,

Attached is a patch that fixes a build error.  It was caused by GTK
2.14 depreciating the GtkType typedef in favor of GType as explained
at http://xchatdata.net/Using/CompileErrors .  This site says it is
fixed in CVS, so it's really just a temporary patch until then.

Thank you,

John Altobelli
--- pkgs/applications/networking/irc/xchat/default.nix.old	2010-01-24 20:37:55.719856576 -0500
+++ pkgs/applications/networking/irc/xchat/default.nix	2010-01-24 20:38:06.989085096 -0500
@@ -9,6 +9,10 @@
   buildInputs = [pkgconfig tcl gtk];
   configureFlags = "--disable-nls";
 
+# This preConfigure should be removed in any release after 2.8.6
+  preConfigure = ''
+    sed -i 's/GtkType/GType/' src/fe-gtk/xtext.{c,h}'';
+
   meta = {
     homepage = http://www.xchat.org;
   };
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to