Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 81614e04b5 | |||
| dd572f05df |
22
nfswatch-fix-proto.patch
Normal file
22
nfswatch-fix-proto.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
Index: nfswatch-4.99.11/rpcutil.c
|
||||
===================================================================
|
||||
--- nfswatch-4.99.11.orig/rpcutil.c
|
||||
+++ nfswatch-4.99.11/rpcutil.c
|
||||
@@ -82,7 +82,7 @@
|
||||
#include "rpcdefs.h"
|
||||
|
||||
/* get rpc arguments */
|
||||
-static bool_t rpcxdr_getargs(SVCXPRT *, xdrproc_t, caddr_t);
|
||||
+static bool_t rpcxdr_getargs(struct __rpc_svcxprt *, xdrproc_t, void*);
|
||||
|
||||
/*
|
||||
* Operations on the SVCXPRT structure. We're only going to use
|
||||
@@ -223,7 +223,7 @@ udprpc_recv(char *data, u_int length, st
|
||||
* rpcxdr_getargs - called by SVC_GETARGS.
|
||||
*/
|
||||
static bool_t
|
||||
-rpcxdr_getargs(SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr)
|
||||
+rpcxdr_getargs(struct __rpc_svcxprt *xprt, xdrproc_t xdr_args, void* args_ptr)
|
||||
{
|
||||
return((*xdr_args)(&(su_data(xprt)->su_xdrs), args_ptr));
|
||||
}
|
||||
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 16 12:55:20 UTC 2024 - Marcus Meissner <meissner@suse.com>
|
||||
|
||||
- nfswatch-fix-proto.patch: fixed build with gcc14.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 22 14:09:32 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package nfswatch
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -26,6 +26,7 @@ URL: http://nfswatch.sourceforge.net
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
Patch0: makefile.patch
|
||||
Patch1: nfswatch-4.99.11-sysmacros.patch
|
||||
Patch2: nfswatch-fix-proto.patch
|
||||
BuildRequires: libpcap-devel
|
||||
BuildRequires: ncurses-devel
|
||||
%if 0%{?suse_version} >= 1500
|
||||
@@ -43,6 +44,7 @@ network interface or on all interfaces.
|
||||
%patch -P 0 -p1
|
||||
%endif
|
||||
%patch -P 1 -p1
|
||||
%patch -P 2 -p1
|
||||
|
||||
%build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user