Added uuid patch to fix build issue.
This commit is contained in:
parent
8f74c377f5
commit
477ffaedb9
@ -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
|
||||
|
11
uuid.patch
Normal file
11
uuid.patch
Normal file
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user