Hello community, here is the log from the commit of package syslinux for openSUSE:Factory checked in at 2018-11-08 09:41:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/syslinux (Old) and /work/SRC/openSUSE:Factory/.syslinux.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "syslinux" Thu Nov 8 09:41:28 2018 rev:64 rq:645212 version:4.04 Changes: -------- --- /work/SRC/openSUSE:Factory/syslinux/syslinux.changes 2018-01-20 11:20:06.734887441 +0100 +++ /work/SRC/openSUSE:Factory/.syslinux.new/syslinux.changes 2018-11-08 09:41:32.837586702 +0100 @@ -1,0 +2,5 @@ +Mon Aug 6 07:35:52 UTC 2018 - [email protected] + +- sysmacros.patch: include <sys/sysmacros.h> for major/minor + +------------------------------------------------------------------- New: ---- sysmacros.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ syslinux.spec ++++++ --- /var/tmp/diff_new_pack.PthJn1/_old 2018-11-08 09:41:35.829583232 +0100 +++ /var/tmp/diff_new_pack.PthJn1/_new 2018-11-08 09:41:35.857583200 +0100 @@ -30,7 +30,7 @@ Url: http://www.syslinux.org/wiki/index.php/The_Syslinux_Project Suggests: mtools Summary: Boot Loader for Linux -License: GPL-2.0+ +License: GPL-2.0-or-later Group: System/Boot Version: 4.04 Release: 0 @@ -59,6 +59,7 @@ # PATCH-FIX-UPSTREAM -- make package build reproducible Patch19: syslinux-4.04-reproducible.patch Patch20: %{name}-%{version}-python3.diff +Patch21: sysmacros.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -95,6 +96,7 @@ %patch18 %patch19 -p1 %patch20 -p0 +%patch21 -p1 %build cp %{SOURCE2} . ++++++ sysmacros.patch ++++++ >From 1a74985b2a404639b08882c57f3147229605dfd5 Mon Sep 17 00:00:00 2001 From: Mike Frysinger <[email protected]> Date: Tue, 19 Apr 2016 06:50:31 -0400 Subject: [PATCH] extlinux: pull in sys/sysmacros.h for major/minor/makedev These functions are defined in sys/sysmacros.h, so add the include to main.c. This is already handled correctly in mountinfo.c. Otherwise we get build failures like: main.o: In function 'find_device_sysfs': extlinux/main.c:1131: undefined reference to 'minor' Signed-off-by: Mike Frysinger <[email protected]> Signed-off-by: Gene Cumm <[email protected]> --- extlinux/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/extlinux/main.c b/extlinux/main.c index a7ebd49a94..ebff7eae0e 100644 --- a/extlinux/main.c +++ b/extlinux/main.c @@ -38,6 +38,7 @@ #include <sysexits.h> #include <sys/ioctl.h> #include <sys/stat.h> +#include <sys/sysmacros.h> #include <sys/types.h> #include <sys/mount.h> #include <sys/vfs.h> -- 2.19.0
