[packages/resmgr] - rel 6, fix major/minor macros misuse

baggins baggins at pld-linux.org
Sat Oct 17 11:41:17 CEST 2026


commit 8d58ed1964ef1f18c738e3581357c4f386b1f54b
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Oct 17 11:40:57 2026 +0200

    - rel 6, fix major/minor macros misuse

 resmgr.spec     |  4 +++-
 sysmacros.patch | 20 ++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletion(-)
---
diff --git a/resmgr.spec b/resmgr.spec
index 919be3c..1b4b260 100644
--- a/resmgr.spec
+++ b/resmgr.spec
@@ -2,7 +2,7 @@ Summary:	Resource Manager
 Summary(pl.UTF-8):	Zarządca zasobów
 Name:		resmgr
 Version:	1.0
-Release:	5
+Release:	6
 License:	GPL
 Group:		Libraries
 Source0:	ftp://ftp.lst.de/pub/people/okir/resmgr/%{name}-%{version}.tar.bz2
@@ -10,6 +10,7 @@ Source0:	ftp://ftp.lst.de/pub/people/okir/resmgr/%{name}-%{version}.tar.bz2
 Patch0:		%{name}-va_list.patch
 Patch1:		%{name}-syslog.patch
 Patch2:		%{name}-MAX_PATH.patch
+Patch3:		sysmacros.patch
 URL:		http://www.lst.de/~okir/resmgr/
 BuildRequires:	pam-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -41,6 +42,7 @@ Pliki nagłówkowe biblioteki resmgr.
 %patch -P0 -p1
 %patch -P1 -p1
 %patch -P2 -p1
+%patch -P3 -p1
 
 %build
 %{__make} \
diff --git a/sysmacros.patch b/sysmacros.patch
new file mode 100644
index 0000000..cf763d0
--- /dev/null
+++ b/sysmacros.patch
@@ -0,0 +1,20 @@
+--- resmgr-1.0/paride.c~	2002-11-07 15:09:04.000000000 +0100
++++ resmgr-1.0/paride.c	2026-10-17 11:39:44.945074369 +0200
+@@ -12,6 +12,7 @@
+ #include <fcntl.h>
+ #include <stdlib.h>
+ #include <ctype.h>
++#include <sys/sysmacros.h>
+ #include "resmgrd.h"
+ 
+ typedef unsigned int paride_id_t;
+--- resmgr-1.0/usb.c~	2003-03-05 14:36:43.000000000 +0100
++++ resmgr-1.0/usb.c	2026-10-17 11:39:38.011694498 +0200
+@@ -16,6 +16,7 @@
+ #include <ctype.h>
+ #include <linux/usbdevice_fs.h>
+ #include <linux/major.h>
++#include <sys/sysmacros.h>
+ #include "resmgrd.h"
+ 
+ #include <linux/usbdevice_fs.h>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/resmgr.git/commitdiff/8d58ed1964ef1f18c738e3581357c4f386b1f54b



More information about the pld-cvs-commit mailing list