[packages/MAKEDEV] Rel 3
arekm
arekm at pld-linux.org
Sun Aug 9 13:54:51 CEST 2026
commit 204f8d0049d1657fbe89f8c4c7d050511f8115e2
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Aug 9 13:54:34 2026 +0200
Rel 3
MAKEDEV-sysmacros.patch | 10 ++++++++++
MAKEDEV-ub.patch | 36 ------------------------------------
MAKEDEV.spec | 6 +++---
3 files changed, 13 insertions(+), 39 deletions(-)
---
diff --git a/MAKEDEV.spec b/MAKEDEV.spec
index 1c761e4..b7974ec 100644
--- a/MAKEDEV.spec
+++ b/MAKEDEV.spec
@@ -11,12 +11,12 @@ Summary(pt_BR.UTF-8): Script para fazer e atualizar entradas referentes a dispos
Summary(tr.UTF-8): Aygıt tanımı yapmak ve değiştirmek için bir araç
Name: MAKEDEV
Version: 3.24
-Release: 2
+Release: 3
License: GPL v2+
Group: Applications/System
Source0: ftp://distfiles.pld-linux.org/src/%{name}-%{version}-1.tar.gz
# Source0-md5: 38546d1306ead17afbc34f60c06fcb20
-Patch0: %{name}-ub.patch
+Patch0: %{name}-sysmacros.patch
%if %{with selinux}
BuildRequires: libselinux-devel >= 0:1.8
Requires: libselinux >= 0:1.8
@@ -74,7 +74,7 @@ olarak işleyebilmesi için temel gereksinimlerdendir.
%build
%{__make} \
CC="%{__cc}" \
- OPTFLAGS="%{rpmcflags} %{rpmldflags}" \
+ OPTFLAGS="%{rpmcflags} %{rpmcppflags} %{rpmldflags}" \
%{?with_selinux:SELINUX=1}
%install
diff --git a/MAKEDEV-sysmacros.patch b/MAKEDEV-sysmacros.patch
new file mode 100644
index 0000000..f0a0de4
--- /dev/null
+++ b/MAKEDEV-sysmacros.patch
@@ -0,0 +1,10 @@
+--- MAKEDEV-3.24/MAKEDEV.c.orig
++++ MAKEDEV-3.24/MAKEDEV.c
+@@ -20,6 +20,7 @@
+ #define _GNU_SOURCE
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+ #include <sys/socket.h>
+ #include <sys/un.h>
+ #include <assert.h>
diff --git a/MAKEDEV-ub.patch b/MAKEDEV-ub.patch
deleted file mode 100644
index ca5cc8b..0000000
--- a/MAKEDEV-ub.patch
+++ /dev/null
@@ -1,36 +0,0 @@
---- MAKEDEV-3.13/makedev.d/linux-2.6.x~ 2004-12-21 12:20:32.000000000 +0100
-+++ MAKEDEV-3.13/makedev.d/linux-2.6.x 2004-12-21 12:20:32.000000000 +0100
-@@ -1379,6 +1379,33 @@
- #c $ROOT 180 32 1 16 usb/ez%d
- #c $CONSOLE 180 48 1 16 usb/scanner%d
-
-+b $STORAGE 180 0 1 8 uba
-+b $STORAGE 180 8 1 8 ubb
-+b $STORAGE 180 16 1 8 ubc
-+b $STORAGE 180 24 1 8 ubd
-+b $STORAGE 180 32 1 8 ube
-+b $STORAGE 180 40 1 8 ubf
-+b $STORAGE 180 48 1 8 ubg
-+b $STORAGE 180 56 1 8 ubh
-+b $STORAGE 180 64 1 8 ubi
-+b $STORAGE 180 72 1 8 ubj
-+b $STORAGE 180 80 1 8 ubk
-+b $STORAGE 180 88 1 8 ubl
-+b $STORAGE 180 96 1 8 ubm
-+b $STORAGE 180 104 1 8 ubn
-+b $STORAGE 180 112 1 8 ubo
-+b $STORAGE 180 120 1 8 ubp
-+b $STORAGE 180 128 1 8 ubq
-+b $STORAGE 180 136 1 8 ubr
-+b $STORAGE 180 144 1 8 ubs
-+b $STORAGE 180 152 1 8 ubt
-+b $STORAGE 180 160 1 8 ubu
-+b $STORAGE 180 168 1 8 ubv
-+b $STORAGE 180 176 1 8 ubw
-+b $STORAGE 180 184 1 8 ubx
-+b $STORAGE 180 192 1 8 uby
-+b $STORAGE 180 200 1 8 ubz
-+
- c $ALLREAD 181 0 1 16 pcfclock%d
- c $ROOT 182 0 1 16 pethr%d
-
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/MAKEDEV.git/commitdiff/204f8d0049d1657fbe89f8c4c7d050511f8115e2
More information about the pld-cvs-commit
mailing list