Accepting request 520932 from home:garloff:branches:Base:System
- Mark inline function static. - This time submit after uploading new source tarball to server. OBS-URL: https://build.opensuse.org/request/show/520932 OBS-URL: https://build.opensuse.org/package/show/Base:System/dd_rescue?expand=0&rev=35
This commit is contained in:
committed by
Git OBS Bridge
parent
5b2cbfcf78
commit
1b7ee0d5d1
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 4 23:25:28 CEST 2017 - kurt@garloff.de
|
||||||
|
|
||||||
|
- Mark inline function static.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 25 15:19:24 CEST 2017 - kurt@garloff.de
|
Fri Aug 25 15:19:24 CEST 2017 - kurt@garloff.de
|
||||||
|
|
||||||
|
@@ -27,6 +27,7 @@ Source0: http://garloff.de/kurt/linux/ddrescue/%{name}-%{version}.tar.bz2
|
|||||||
Source1: http://garloff.de/kurt/linux/ddrescue/%{name}-%{version}.tar.bz2.asc
|
Source1: http://garloff.de/kurt/linux/ddrescue/%{name}-%{version}.tar.bz2.asc
|
||||||
Source2: %{name}.keyring
|
Source2: %{name}.keyring
|
||||||
Source99: %{name}.changes
|
Source99: %{name}.changes
|
||||||
|
Patch1: libddr_hash-round-down-static.diff
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: libattr-devel
|
BuildRequires: libattr-devel
|
||||||
BuildRequires: libfallocate-devel
|
BuildRequires: libfallocate-devel
|
||||||
@@ -112,6 +113,7 @@ data to the decompressor; the plugin is still young and might expose bugs.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch1 -p0
|
||||||
|
|
||||||
# Remove build time references so build-compare can do its work
|
# Remove build time references so build-compare can do its work
|
||||||
FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{SOURCE99} '+%%H:%%M')
|
FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{SOURCE99} '+%%H:%%M')
|
||||||
|
11
libddr_hash-round-down-static.diff
Normal file
11
libddr_hash-round-down-static.diff
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
--- libddr_hash.c.orig 2017-08-25 09:51:38.170686244 +0200
|
||||||
|
+++ libddr_hash.c 2017-08-25 17:14:33.308431613 +0200
|
||||||
|
@@ -398,7 +398,7 @@
|
||||||
|
#error __WORDSIZE unknown
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-inline int round_down(int val, const int gran)
|
||||||
|
+static inline int round_down(int val, const int gran)
|
||||||
|
{
|
||||||
|
return val-val%gran;
|
||||||
|
}
|
Reference in New Issue
Block a user