diff --git a/ipxripd-0.8-stdint.patch b/ipxripd-0.8-stdint.patch new file mode 100644 index 0000000..2e8b7c2 --- /dev/null +++ b/ipxripd-0.8-stdint.patch @@ -0,0 +1,28 @@ +diff -Nrbu ipxripd-0.8/ipxutil.h ipxripd-0.8-OK/ipxutil.h +--- ipxripd-0.8/ipxutil.h 2016-08-18 19:03:12.984841963 +0300 ++++ ipxripd-0.8-OK/ipxutil.h 2016-08-18 19:02:35.036842017 +0300 +@@ -26,6 +26,7 @@ + + #include + #include ++#include + + #define IPX_MAX_ERROR (255) + #define IPX_THIS_NET (0) +@@ -35,11 +36,11 @@ + #define IPX_USER_PTYPE (0) + #define IPX_IS_INTERNAL (1) + +-typedef unsigned char IPXNode[6]; +-typedef unsigned long int IPXNet; +-typedef unsigned short int IPXPort; +-typedef unsigned short int hop_t; +-typedef unsigned short int tick_t; ++typedef uint8_t IPXNode[6]; ++typedef uint32_t IPXNet; ++typedef uint16_t IPXPort; ++typedef uint16_t hop_t; ++typedef uint16_t tick_t; + + void ipx_print_node(IPXNode node); + void ipx_print_network(IPXNet net); diff --git a/ipxripd.spec b/ipxripd.spec index 41730db..107d41a 100644 --- a/ipxripd.spec +++ b/ipxripd.spec @@ -1,7 +1,7 @@ Summary: IPX RIP/SAP daemon - routing for IPX networks Name: ipxripd Version: 0.8 -Release: 18%{?dist} +Release: 20%{?dist} Group: System Environment/Daemons License: GPLv2+ URL: ftp://ftp.ibiblio.org/pub/Linux/system/filesystems/ncpfs/ @@ -12,6 +12,7 @@ Patch0: ipxripd-0.8-glibc2.1.patch Patch1: ipxripd-0.7-gcc3.patch Patch2: ipxripd-0.7-kernel2.6.patch Patch3: ipxripd-0.8-printf.patch +Patch4: ipxripd-0.8-stdint.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: systemd-units @@ -32,6 +33,7 @@ It automagically builds and updates IPX routing table in the Linux kernel. %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %build @@ -83,6 +85,12 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Aug 18 2016 Dmitry Butskoy - 0.8-20 +- Fix for 64-bit platforms (#1367852) + +* Thu Feb 04 2016 Fedora Release Engineering - 0.8-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Wed Jun 17 2015 Fedora Release Engineering - 0.8-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild