4a9d703312
- Fixing build issue with "major()" and a pointer comparison warning while I was at it, adding patches: * tgt-include-sys-macros-for-major.patch * tgt-compare-pointer-to-null.patch OBS-URL: https://build.opensuse.org/request/show/629014 OBS-URL: https://build.opensuse.org/package/show/Base:System/tgt?expand=0&rev=41
12 lines
385 B
Diff
12 lines
385 B
Diff
diff -aurp tgt-1.0.60.orig/usr/bs_sg.c tgt-1.0.60/usr/bs_sg.c
|
|
--- tgt-1.0.60.orig/usr/bs_sg.c 2015-07-01 17:10:39.000000000 -0700
|
|
+++ tgt-1.0.60/usr/bs_sg.c 2018-08-11 18:03:25.489712435 -0700
|
|
@@ -36,6 +36,7 @@
|
|
#include <sys/stat.h>
|
|
#include <sys/epoll.h>
|
|
#include <scsi/sg.h>
|
|
+#include <sys/sysmacros.h>
|
|
|
|
#include "bsg.h" /* Copied from include/linux/bsg.h */
|
|
#include "list.h"
|