[packages/nslint] Rel 3

arekm arekm at pld-linux.org
Mon Mar 9 18:10:53 CET 2026


commit 39707e7432d2e8d74b6c7a6522f96f6dd0286127
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Mar 9 18:10:39 2026 +0100

    Rel 3

 nslint-do_not_check_for_libsnl.patch | 13 ++++++-------
 nslint-missing-string-h.patch        | 10 ++++++++++
 nslint.spec                          |  6 ++++--
 3 files changed, 20 insertions(+), 9 deletions(-)
---
diff --git a/nslint.spec b/nslint.spec
index a25235a..c9f8786 100644
--- a/nslint.spec
+++ b/nslint.spec
@@ -2,13 +2,14 @@ Summary:	Checks DNS files for errors
 Summary(pl.UTF-8):	Wyszukiwanie błędów w plikach DNS
 Name:		nslint
 Version:	3.0a2
-Release:	2
+Release:	3
 License:	BSD
 Group:		Networking/Utilities
 Source0:	ftp://ftp.ee.lbl.gov/%{name}-%{version}.tar.gz
 # Source0-md5:	0bd71a046c6e33bd5ffc62990931a7da
 Patch0:		%{name}-makefile.patch
 Patch1:		%{name}-do_not_check_for_libsnl.patch
+Patch2:		%{name}-missing-string-h.patch
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -38,12 +39,13 @@ kluczowe.
 %setup -q
 %patch -P0 -p1
 %patch -P1 -p1
+%patch -P2 -p1
 
 %build
 cp -f /usr/share/automake/config.* .
 %{__autoconf}
 %configure
-%{__make}
+%{__make} CCOPT="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
diff --git a/nslint-do_not_check_for_libsnl.patch b/nslint-do_not_check_for_libsnl.patch
index c9791d6..c63e6bc 100644
--- a/nslint-do_not_check_for_libsnl.patch
+++ b/nslint-do_not_check_for_libsnl.patch
@@ -1,11 +1,10 @@
-diff -Nru nslint-2.0.1a1/configure.in nslint-2.0.1a1.new/configure.in
---- nslint-2.0.1a1/configure.in	Wed Jul 23 09:55:55 1997
-+++ nslint-2.0.1a1.new/configure.in	Wed Aug 23 00:01:05 2000
+--- nslint-3.0a2/configure.in.orig	2009-10-10 23:31:13.000000000 +0000
++++ nslint-3.0a2/configure.in	2010-06-07 09:30:00.000000000 +0000
 @@ -21,7 +21,6 @@
- AC_CHECK_HEADERS(fcntl.h malloc.h memory.h)
- 
+ AC_CHECK_HEADERS(fcntl.h memory.h)
+
  AC_REPLACE_FUNCS(strerror)
 -AC_CHECK_LIB(nsl, main)
  AC_CHECK_LIB(socket, main)
- 
- AC_CHECK_TYPE(int32_t, int)
+
+ AC_LBL_CHECK_TYPE(int32_t, int)
diff --git a/nslint-missing-string-h.patch b/nslint-missing-string-h.patch
new file mode 100644
index 0000000..48e018d
--- /dev/null
+++ b/nslint-missing-string-h.patch
@@ -0,0 +1,10 @@
+--- nslint-3.0a2/savestr.c.orig	2006-03-09 02:27:11.000000000 +0000
++++ nslint-3.0a2/savestr.c	2024-01-01 00:00:00.000000000 +0000
+@@ -28,6 +28,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+
+ #include "gnuc.h"
+ #ifdef HAVE_OS_PROTO_H
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nslint.git/commitdiff/39707e7432d2e8d74b6c7a6522f96f6dd0286127



More information about the pld-cvs-commit mailing list