add patch to fix build of spice-gtk-0.6
spice-protocol as available in fedora 15 is missing a #include <stdint.h> which breaks the build of the controller
This commit is contained in:
parent
8b607a6841
commit
7c45bec07c
20
spice-gtk-controller-includes.patch
Normal file
20
spice-gtk-controller-includes.patch
Normal file
@ -0,0 +1,20 @@
|
||||
--- a/gtk/controller/controller.c
|
||||
+++ b/gtk/controller/controller.c
|
||||
@@ -15,6 +15,7 @@
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib-object.h>
|
||||
+#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <spice/controller_prot.h>
|
||||
--- a/gtk/controller/menu.c
|
||||
+++ b/gtk/controller/menu.c
|
||||
@@ -15,6 +15,7 @@
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib-object.h>
|
||||
+#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <spice/controller_prot.h>
|
@ -37,6 +37,7 @@ BuildRequires: libtool
|
||||
|
||||
ExclusiveArch: %{ix86} x86_64
|
||||
|
||||
Patch0: spice-gtk-controller-includes.patch
|
||||
|
||||
%description
|
||||
Client libraries for SPICE desktop servers.
|
||||
@ -117,6 +118,9 @@ snappy is a tool to capture screen-shots of a SPICE desktop.
|
||||
|
||||
%prep
|
||||
%setup -q -n spice-gtk-%{version} -c
|
||||
pushd spice-gtk-%{version}
|
||||
%patch0 -p1 -b .controller-includes
|
||||
popd
|
||||
|
||||
%if %{with_gtk3}
|
||||
cp -a spice-gtk-%{version} spice-gtk3-%{version}
|
||||
|
Loading…
Reference in New Issue
Block a user