Fixing the FTBFS on behalf of Rafael Fonseca (rhbz#1482063)
Signed-off-by: Petr Šabata <contyk@redhat.com>
This commit is contained in:
parent
504f92248b
commit
f86493f320
@ -2,13 +2,14 @@
|
||||
|
||||
Name: libtirpc
|
||||
Version: 1.0.2
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Transport Independent RPC Library
|
||||
Group: System Environment/Libraries
|
||||
License: SISSL and BSD
|
||||
URL: http://nfsv4.bullopensource.org/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Source0: http://downloads.sourceforge.net/libtirpc/libtirpc-%{version}.tar.bz2
|
||||
Patch0: %{name}_header.patch
|
||||
|
||||
|
||||
BuildRequires: automake, autoconf, libtool, pkgconfig
|
||||
@ -39,6 +40,7 @@ developing programs which use the tirpc library.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .header
|
||||
|
||||
# Remove .orig files
|
||||
find . -name "*.orig" | xargs rm -f
|
||||
@ -132,6 +134,9 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/*/*
|
||||
|
||||
%changelog
|
||||
* Tue Aug 22 2017 Petr Šabata <contyk@redhat.com> - 1.0.2-3
|
||||
- Fixing the FTBFS on behalf of Rafael Fonseca (rhbz#1482063)
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
|
10
libtirpc_header.patch
Normal file
10
libtirpc_header.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- libtirpc-1.0.2/src/xdr_sizeof.c 2017-07-05 17:02:23.000000000 +0200
|
||||
+++ libtirpc-1.0.2/src/xdr_sizeof.c.fixed 2017-08-10 18:47:14.369381335 +0200
|
||||
@@ -39,6 +39,7 @@
|
||||
#include <rpc/xdr.h>
|
||||
#include <sys/types.h>
|
||||
#include <stdlib.h>
|
||||
+#include <stdint.h>
|
||||
#include "un-namespace.h"
|
||||
|
||||
/* ARGSUSED */
|
Loading…
Reference in New Issue
Block a user