[vino/f15/master] fix build
Matthias Clasen
mclasen at fedoraproject.org
Tue Mar 8 05:35:14 UTC 2011
commit 6bc50cb38e9b43288e6388adcd9e7abba434a1d9
Author: Matthias Clasen <mclasen at redhat.com>
Date: Tue Mar 8 00:34:56 2011 -0500
fix build
vino-libs.patch | 12 ++++++++++++
vino.spec | 3 +++
2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/vino-libs.patch b/vino-libs.patch
new file mode 100644
index 0000000..08e47e0
--- /dev/null
+++ b/vino-libs.patch
@@ -0,0 +1,12 @@
+diff -up vino-2.99.3/Makefile.in.libs vino-2.99.3/Makefile.in
+--- vino-2.99.3/Makefile.in.libs 2011-03-08 00:33:57.554844384 -0500
++++ vino-2.99.3/Makefile.in 2011-03-08 00:34:17.586593950 -0500
+@@ -575,7 +575,7 @@ vino_server_LDADD = \
+ $(VINO_SERVER_LIBS) \
+ $(GCRYPT_LIBS) \
+ $(JPEG_LIBS) \
+- $(X_LIBS) $(XTEST_LIBS) $(XSHM_LIBS) $(XDAMAGE_LIBS)
++ $(X_LIBS) $(XTEST_LIBS) $(XSHM_LIBS) $(XDAMAGE_LIBS) -lX11
+
+ @VINO_ENABLE_HTTP_SERVER_TRUE at VINO_HTTP_sources = \
+ @VINO_ENABLE_HTTP_SERVER_TRUE@ server/vino-http.c \
diff --git a/vino.spec b/vino.spec
index c3fe2bc..3573d50 100644
--- a/vino.spec
+++ b/vino.spec
@@ -29,12 +29,15 @@ BuildRequires: unique-devel
BuildRequires: autoconf automake libtool
BuildRequires: gnome-common
+Patch0: vino-libs.patch
+
%description
Vino is a VNC server for GNOME. It allows remote users to
connect to a running GNOME session using VNC.
%prep
%setup -q
+%patch0 -p1 -b .libs
%build
%configure \
More information about the scm-commits
mailing list