[packages/arpscan] Rel 3

arekm arekm at pld-linux.org
Tue May 12 19:48:48 CEST 2026


commit e6251934dd29c86b8c2e6c0224040578d07c36b5
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue May 12 19:48:35 2026 +0200

    Rel 3

 arpscan-implicit-int.patch | 11 +++++++++++
 arpscan.spec               |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/arpscan.spec b/arpscan.spec
index 2c551d5..333176e 100644
--- a/arpscan.spec
+++ b/arpscan.spec
@@ -2,13 +2,14 @@ Summary:	Very simple ARP scanner
 Summary(pl.UTF-8):	Prosty skaner ARP
 Name:		arpscan
 Version:	0.10
-Release:	2
+Release:	3
 License:	GPL v2
 Group:		Networking/Admin
 Source0:	http://wizard.ae.krakow.pl/~jb/arpscan/%{name}-%{version}.tar.gz
 # Source0-md5:	960addcbb4051ef2d1c3d9ff0562f09e
 Source1:	http://standards.ieee.org/regauth/oui/oui.txt
 # Source1-md5:	10dffbf4706f1ba00a0883b70ab88dfa
+Patch0:		arpscan-implicit-int.patch
 URL:		http://wizard.ae.krakow.pl/~jb/arpscan/
 BuildRequires:	gawk
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -24,6 +25,7 @@ jest dla Linuksa.
 
 %prep
 %setup -q
+%patch -P 0 -p1
 
 %build
 %{__make} \
diff --git a/arpscan-implicit-int.patch b/arpscan-implicit-int.patch
new file mode 100644
index 0000000..dd05571
--- /dev/null
+++ b/arpscan-implicit-int.patch
@@ -0,0 +1,11 @@
+--- arpscan-0.10/arpscan.c.orig	2012-01-01 00:00:00.000000000 +0000
++++ arpscan-0.10/arpscan.c	2026-05-12 00:00:00.000000000 +0000
+@@ -74,7 +74,7 @@
+ 	u8 len, addr[HWMAX];
+ };
+
+-static inline hw_eq(struct hwaddr *h, int hl, u8 *ha)
++static inline int hw_eq(struct hwaddr *h, int hl, u8 *ha)
+ {
+ 	return h->len == hl && memcmp(h->addr, ha, hl) == 0;
+ }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/arpscan.git/commitdiff/e6251934dd29c86b8c2e6c0224040578d07c36b5



More information about the pld-cvs-commit mailing list