Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7dece267bb |
2 changed files with 37 additions and 1 deletions
28
ipxripd-0.8-stdint.patch
Normal file
28
ipxripd-0.8-stdint.patch
Normal file
|
|
@ -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 <stdio.h>
|
||||
#include <netipx/ipx.h>
|
||||
+#include <stdint.h>
|
||||
|
||||
#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);
|
||||
10
ipxripd.spec
10
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 <Dmitry@Butskoy.name> - 0.8-20
|
||||
- Fix for 64-bit platforms (#1367852)
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue