forked from pool/cdemu-daemon
This commit is contained in:
parent
19511e54d4
commit
78cce83889
@ -29,6 +29,7 @@ Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2
|
||||
Source2: 60-vhba.rules
|
||||
Source3: cdemu-daemon.sysconfig
|
||||
Patch1: logfile.diff
|
||||
Patch2: glibheaders.diff
|
||||
BuildRequires: cmake >= 2.8.5
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(ao) >= 0.8.0
|
||||
@ -52,7 +53,7 @@ that can be used by clients to control it.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -P 1 -p1
|
||||
%patch -P 1 -P 2 -p1
|
||||
|
||||
%build
|
||||
cmake . \
|
||||
|
16
glibheaders.diff
Normal file
16
glibheaders.diff
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
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 *
|
Loading…
Reference in New Issue
Block a user