rpms/xenwatch/devel makefile.patch,NONE,1.1 xenwatch.spec,1.7,1.8

Gerd Hoffmann kraxel at fedoraproject.org
Tue Feb 16 16:51:48 UTC 2010


Author: kraxel

Update of /cvs/pkgs/rpms/xenwatch/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8132

Modified Files:
	xenwatch.spec 
Added Files:
	makefile.patch 
Log Message:
Fix FTBFS

makefile.patch:
 GNUmakefile |    1 +
 1 file changed, 1 insertion(+)

--- NEW FILE makefile.patch ---
diff -up xenwatch-0.5.4/GNUmakefile.orig xenwatch-0.5.4/GNUmakefile
--- xenwatch-0.5.4/GNUmakefile.orig	2010-02-16 17:32:31.000000000 +0100
+++ xenwatch-0.5.4/GNUmakefile	2010-02-16 17:47:17.000000000 +0100
@@ -42,6 +42,7 @@ endef
 # gtk
 ifeq ($(HAVE_GTK),yes)
   $(NEEDS_GTK) : CFLAGS += -Wno-strict-prototypes
+  $(NEEDS_GTK) : LDLIBS += -lX11 -lXext
   $(NEEDS_GTK) : pkglst += gtk+-x11-2.0
 else
   TARGETS := $(filter-out $(BUILD_GTK), $(TARGETS))


Index: xenwatch.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xenwatch/devel/xenwatch.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- xenwatch.spec	27 Jul 2009 07:47:26 -0000	1.7
+++ xenwatch.spec	16 Feb 2010 16:51:48 -0000	1.8
@@ -1,10 +1,11 @@
 Name:         xenwatch
 License:      GPLv2+
 Version:      0.5.4
-Release:      3%{?dist}
+Release:      4%{?dist}
 Summary:      Virtualization utilities, mostly for Xen
 Group:        Applications/Emulators
 Source:       %{name}-%{version}.tar.gz
+Patch1:       makefile.patch
 URL:          http://dl.bytesex.org/releases/%{name}/%{name}-%{version}.tar.gz
 Buildroot:    %{_tmppath}/root-%{name}-%{version}-%{release}
 Requires:     screen
@@ -37,6 +38,7 @@ vnc-client - built-in vnc client from xe
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 export CFLAGS="%{optflags}"
@@ -61,6 +63,9 @@ done
 rm -rf %{buildroot}
 
 %changelog
+* Tue Feb 16 2010 Gerd Hoffmann <kraxel at redhat.com> - 0.5.4-4
+- Fix FTBFS (#564697).
+
 * Mon Jul 27 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.4-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 



More information about the scm-commits mailing list