[sanlock/f15] Added uuid patch to fix build issue.

Chris Feist cfeist at fedoraproject.org
Tue Aug 2 17:53:21 UTC 2011


commit 477ffaedb9df9d863403e5efb359c21b6d07dc93
Author: Chris Feist <cfeist at redhat.com>
Date:   Tue Aug 2 12:53:03 2011 -0500

    Added uuid patch to fix build issue.

 sanlock.spec |    2 ++
 uuid.patch   |   11 +++++++++++
 2 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/sanlock.spec b/sanlock.spec
index 37bd4fd..8b035ef 100644
--- a/sanlock.spec
+++ b/sanlock.spec
@@ -7,6 +7,7 @@ Group:          System Environment/Base
 License:        GPLv2+
 URL:            https://fedorahosted.org/sanlock/
 Source0:        https://fedorahosted.org/releases/s/a/sanlock/%{name}-%{version}.tar.gz
+Patch0:		uuid.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 ExclusiveArch:  i686 x86_64
 BuildRequires:  libblkid-devel libaio-devel python python-devel
@@ -20,6 +21,7 @@ access to the shared disks.
 
 %prep
 %setup -q
+%patch0 -p1 -b .uuid
 
 %build
 # upstream does not require configure
diff --git a/uuid.patch b/uuid.patch
new file mode 100644
index 0000000..0e4a6e8
--- /dev/null
+++ b/uuid.patch
@@ -0,0 +1,11 @@
+--- sanlock-1.6/src/Makefile.uuid	2011-08-02 12:51:51.559842071 -0500
++++ sanlock-1.6/src/Makefile	2011-08-02 12:51:55.782943836 -0500
+@@ -61,7 +61,7 @@ CFLAGS += -D_GNU_SOURCE -g \
+ 	-fasynchronous-unwind-tables \
+ 	-fdiagnostics-show-option
+ 
+-CMD_LDFLAGS = -lpthread -lrt -laio -lblkid -lsanlock -L../wdmd -lwdmd
++CMD_LDFLAGS = -lpthread -lrt -laio -lblkid -lsanlock -L../wdmd -lwdmd -luuid
+ LIB_LDFLAGS = -lpthread -lrt -laio -lblkid -L../wdmd -lwdmd
+ 
+ 


More information about the scm-commits mailing list