Accepting request 252169 from devel:libraries:c_c++
1 OBS-URL: https://build.opensuse.org/request/show/252169 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmtp?expand=0&rev=65
This commit is contained in:
commit
ab8ffe2b4b
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…
Reference in New Issue
Block a user