1
0
forked from pool/cdemu-daemon
Jan Engelhardt 2014-10-02 14:13:11 +00:00 committed by Git OBS Bridge
parent bf7fe945ed
commit 5cf30cea63
2 changed files with 2 additions and 19 deletions

View File

@ -29,7 +29,6 @@ Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2
Source2: 60-vhba.rules Source2: 60-vhba.rules
Source3: cdemu-daemon.sysconfig Source3: cdemu-daemon.sysconfig
Patch1: logfile.diff Patch1: logfile.diff
Patch2: glibheaders.diff
BuildRequires: cmake >= 2.8.5 BuildRequires: cmake >= 2.8.5
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: pkgconfig(ao) >= 0.8.0 BuildRequires: pkgconfig(ao) >= 0.8.0
@ -53,14 +52,14 @@ that can be used by clients to control it.
%prep %prep
%setup -q %setup -q
%patch -P 1 -P 2 -p1 %patch -P 1 -p1
%build %build
cmake . \ cmake . \
-DCMAKE_INSTALL_PREFIX:PATH="%_prefix" \ -DCMAKE_INSTALL_PREFIX:PATH="%_prefix" \
-DCMAKE_INSTALL_LIBEXECDIR:PATH="%_libexecdir" \ -DCMAKE_INSTALL_LIBEXECDIR:PATH="%_libexecdir" \
-DCMAKE_C_FLAGS:STRING="%optflags" -DCMAKE_C_FLAGS:STRING="%optflags"
make %{?_smp_mflags} make %{?_smp_mflags} -j1
%install %install
b="%buildroot" b="%buildroot"

View File

@ -1,16 +0,0 @@
---
src/mmc-packet-commands.h | 1 +
1 file changed, 1 insertion(+)
Index: cdemu-daemon-3.0.2/src/mmc-packet-commands.h
===================================================================
--- cdemu-daemon-3.0.2.orig/src/mmc-packet-commands.h
+++ cdemu-daemon-3.0.2/src/mmc-packet-commands.h
@@ -87,6 +87,7 @@ typedef enum {
- SCSI-3 Block Command Set (SBC)
*/
+#include <glib.h>
/**********************************************************************\
* BLANK *