add patch to fix missing EXIT_FAILURE define on 10.3
OBS-URL: https://build.opensuse.org/package/show/filesystems/davfs2?expand=0&rev=4
This commit is contained in:
parent
52ef0c3930
commit
f3ba1b9fb7
12
davfs2-fix_missing_exit_failure.patch
Normal file
12
davfs2-fix_missing_exit_failure.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- src/defaults.h.orig 2009-05-31 23:02:25.000000000 +0200
|
||||
+++ src/defaults.h 2009-05-31 23:04:08.000000000 +0200
|
||||
@@ -188,4 +188,9 @@
|
||||
#define DAV_DBG_SECRETS 0x8
|
||||
|
||||
|
||||
+#include <stdlib.h>
|
||||
+#ifndef EXIT_FAILURE
|
||||
+#define EXIT_FAILURE 1
|
||||
+%endif
|
||||
+
|
||||
#endif /* DAV_DEFAULTS_H */
|
@ -9,6 +9,7 @@ URL: http://savannah.nongnu.org/projects/davfs2
|
||||
Source: davfs2-%{version}.tar.bz2
|
||||
Source1: davfs.easy
|
||||
Source2: davfs.secure
|
||||
Patch1: /davfs2-fix_missing_exit_failure.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
BuildRequires: fuse-devel >= 2.2, neon-devel
|
||||
BuildRequires: pwdutils
|
||||
@ -30,6 +31,7 @@ Neon supports TLS/SSL (using OpenSSL or GnuTLS) and access via proxy server.
|
||||
|
||||
%prep
|
||||
%setup -q -n "davfs2-%{version}"
|
||||
%patch1
|
||||
|
||||
%build
|
||||
ssbindir="%{_sbindir}" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user