Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package hdparm for openSUSE:Factory checked 
in at 2022-08-10 17:13:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hdparm (Old)
 and      /work/SRC/openSUSE:Factory/.hdparm.new.1521 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hdparm"

Wed Aug 10 17:13:06 2022 rev:79 rq:994126 version:9.64

Changes:
--------
--- /work/SRC/openSUSE:Factory/hdparm/hdparm.changes    2022-07-26 
19:42:40.452032134 +0200
+++ /work/SRC/openSUSE:Factory/.hdparm.new.1521/hdparm.changes  2022-08-10 
17:13:36.665756712 +0200
@@ -1,0 +2,5 @@
+Tue Aug  9 11:52:28 UTC 2022 - Dirk M??ller <dmuel...@suse.com>
+
+- add avoid-linux-includes.patch (bsc#1202212) 
+
+-------------------------------------------------------------------

New:
----
  avoid-linux-includes.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ hdparm.spec ++++++
--- /var/tmp/diff_new_pack.bckquF/_old  2022-08-10 17:13:40.281766150 +0200
+++ /var/tmp/diff_new_pack.bckquF/_new  2022-08-10 17:13:40.285766160 +0200
@@ -28,6 +28,8 @@
 Patch2:         hdparm-wiper-warn.patch
 Patch3:         hdparm-leak-fix.patch
 Patch4:         hdparm-9.43-fix-bashisms.patch
+# https://sourceforge.net/p/hdparm/patches/52/
+Patch5:         avoid-linux-includes.patch
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(udev)
 Requires(post): coreutils
@@ -43,6 +45,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 %make_build CFLAGS="%{optflags} -Wall -Wstrict-prototypes" LDFLAGS= CC="gcc"

++++++ avoid-linux-includes.patch ++++++
--- hdparm-9.64/hdparm.c
+++ hdparm-9.64/hdparm.c
@@ -24,9 +24,6 @@
 #include <sys/mount.h>
 #include <sys/mman.h>
 #include <sys/user.h>
-#include <linux/types.h>
-#include <linux/fs.h>
-#include <linux/major.h>
 #include <endian.h>
 #include <asm/byteorder.h>
 

Reply via email to