summarylogtreecommitdiffstats
path: root/sg3_utils-1.26.patch
diff options
context:
space:
mode:
authorJames An2015-01-24 07:55:36 -0500
committerJames An2015-01-24 07:55:36 -0500
commit9907b7c8d8873091a45f0e81cd980e08cc5d626d (patch)
tree8ab6553b7254b2a10211e190ca871ace7a3a2327 /sg3_utils-1.26.patch
downloadaur-9907b7c8d8873091a45f0e81cd980e08cc5d626d.tar.gz
Added podsleuth from the AUR.
Diffstat (limited to 'sg3_utils-1.26.patch')
-rw-r--r--sg3_utils-1.26.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/sg3_utils-1.26.patch b/sg3_utils-1.26.patch
new file mode 100644
index 000000000000..7491d06ab307
--- /dev/null
+++ b/sg3_utils-1.26.patch
@@ -0,0 +1,42 @@
+diff -ru podsleuth-0.6.4.old/m4/podsleuth.m4 podsleuth-0.6.4/m4/podsleuth.m4
+--- podsleuth-0.6.4.old/m4/podsleuth.m4 2007-12-19 22:37:05.000000000 +0000
++++ podsleuth-0.6.4/m4/podsleuth.m4 2009-04-04 18:35:56.000000000 +0000
+@@ -32,8 +32,8 @@
+
+ AC_DEFUN([PODSLEUTH_CHECK_SGUTILS],
+ [
+- AC_CHECK_LIB(sgutils, sg_ll_inquiry, [],
+- AC_MSG_ERROR([Error! You need to have libsgutils.])
++ AC_CHECK_LIB(sgutils2, sg_ll_inquiry, [],
++ AC_MSG_ERROR([Error! You need to have libsgutils2.])
+ )
+ ])
+
+diff -ru podsleuth-0.6.4.old/src/PodSleuth/PodSleuth/ScsiReader.cs podsleuth-0.6.4/src/PodSleuth/PodSleuth/ScsiReader.cs
+--- podsleuth-0.6.4.old/src/PodSleuth/PodSleuth/ScsiReader.cs 2007-09-17 07:51:40.000000000 +0000
++++ podsleuth-0.6.4/src/PodSleuth/PodSleuth/ScsiReader.cs 2009-04-04 18:36:45.000000000 +0000
+@@ -50,7 +50,7 @@
+ }
+ }
+
+- [DllImport("libsgutils.so.1")]
++ [DllImport("libsgutils2.so.2")]
+ private static extern int sg_ll_inquiry(int sg_fd, int cmddt, int evpd, int pg_op,
+ IntPtr resp, int mx_resp_len, int noisy, int verbose);
+
+@@ -74,4 +74,4 @@
+ }
+ }
+ }
+-}
+\ No newline at end of file
++}
+diff -ru podsleuth-0.6.4.old/src/PodSleuth/PodSleuth.dll.config.in podsleuth-0.6.4/src/PodSleuth/PodSleuth.dll.config.in
+--- podsleuth-0.6.4.old/src/PodSleuth/PodSleuth.dll.config.in 2007-09-17 07:51:40.000000000 +0000
++++ podsleuth-0.6.4/src/PodSleuth/PodSleuth.dll.config.in 2009-04-04 18:36:29.000000000 +0000
+@@ -1,4 +1,4 @@
+ <configuration>
+- <dllmap dll="libsgutils.so.1" target="libsgutils.so.1" />
++ <dllmap dll="libsgutils2.so.2" target="libsgutils2.so.2" />
+ </configuration>
+