libgnomeprint: fix gcc 4.6 compilation error
svn path=/nixpkgs/trunk/; revision=32832
This commit is contained in:
parent
38615a16e9
commit
f7896f322e
21
pkgs/desktops/gnome-2/platform/libgnomeprint/bug653388.patch
Normal file
21
pkgs/desktops/gnome-2/platform/libgnomeprint/bug653388.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
From 9b82b7e75b83395e7c5692085e1934202cf7f65f Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jeremy Huddleston <jeremyhu@freedesktop.org>
|
||||||
|
Date: Wed, 12 Oct 2011 15:08:59 +0000
|
||||||
|
Subject: Add missing include
|
||||||
|
|
||||||
|
https://bugzilla.gnome.org/show_bug.cgi?id=653388
|
||||||
|
---
|
||||||
|
diff --git a/libgnomeprint/modules/cups/gnome-print-cups-transport.c b/libgnomeprint/modules/cups/gnome-print-cups-transport.c
|
||||||
|
index aeb7111..85de91b 100644
|
||||||
|
--- a/libgnomeprint/modules/cups/gnome-print-cups-transport.c
|
||||||
|
+++ b/libgnomeprint/modules/cups/gnome-print-cups-transport.c
|
||||||
|
@@ -34,6 +34,7 @@
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
+#include <stdio.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <locale.h>
|
||||||
|
|
||||||
|
--
|
||||||
|
cgit v0.9.0.2
|
@ -12,6 +12,8 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "1034ec8651051f84d2424e7a1da61c530422cc20ce5b2d9e107e1e46778d9691";
|
sha256 = "1034ec8651051f84d2424e7a1da61c530422cc20ce5b2d9e107e1e46778d9691";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [ ./bug653388.patch ];
|
||||||
|
|
||||||
buildInputs = [ pkgconfig gtk gettext intltool libart_lgpl libgnomecups bison flex ];
|
buildInputs = [ pkgconfig gtk gettext intltool libart_lgpl libgnomecups bison flex ];
|
||||||
propagatedBuildInputs = [ libxml2 ];
|
propagatedBuildInputs = [ libxml2 ];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user