Accepting request 252166 from home:Andreas_Schwab:Factory
- include-config-h.patch: always include "config.h" first OBS-URL: https://build.opensuse.org/request/show/252166 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmtp?expand=0&rev=69
This commit is contained in:
parent
91daec5637
commit
cd76e452be
12
include-config-h.patch
Normal file
12
include-config-h.patch
Normal file
@ -0,0 +1,12 @@
|
||||
Index: libmtp-1.1.7/src/util.c
|
||||
===================================================================
|
||||
--- libmtp-1.1.7.orig/src/util.c
|
||||
+++ libmtp-1.1.7/src/util.c
|
||||
@@ -34,6 +34,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
+#include "config.h"
|
||||
#include "libmtp.h"
|
||||
#include "util.h"
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 25 08:02:46 UTC 2014 - schwab@suse.de
|
||||
|
||||
- include-config-h.patch: always include "config.h" first
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 26 06:31:36 UTC 2014 - meissner@suse.com
|
||||
|
||||
|
@ -30,6 +30,7 @@ Version: 1.1.7
|
||||
Release: 0
|
||||
%define sonum 9
|
||||
Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
|
||||
Patch0: include-config-h.patch
|
||||
# from git 1a2669c6df6c093aec38c0c99a21438d74ccdf33
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d }
|
||||
@ -77,6 +78,7 @@ Transfer Protocol) authored by Microsoft.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
echo 'HTML_TIMESTAMP=NO' >> doc/Doxyfile.in
|
||||
|
Loading…
x
Reference in New Issue
Block a user