From 78cce83889217dd79569fb4bba2d6dabfd03ffafab377aa80d53c87d423ec061 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 2 Oct 2014 14:05:02 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/filesystems/cdemu-daemon?expand=0&rev=31 --- cdemu-daemon.spec | 3 ++- glibheaders.diff | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 glibheaders.diff diff --git a/cdemu-daemon.spec b/cdemu-daemon.spec index 09b23c4..f897168 100644 --- a/cdemu-daemon.spec +++ b/cdemu-daemon.spec @@ -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 . \ diff --git a/glibheaders.diff b/glibheaders.diff new file mode 100644 index 0000000..a25d65a --- /dev/null +++ b/glibheaders.diff @@ -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 + + /**********************************************************************\ + * BLANK *