updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / podsleuth / sg3_utils-1.26.patch
blob7491d06ab307ebc9e9cd2f685c3c2115bcaca6c3
1 diff -ru podsleuth-0.6.4.old/m4/podsleuth.m4 podsleuth-0.6.4/m4/podsleuth.m4
2 --- podsleuth-0.6.4.old/m4/podsleuth.m4 2007-12-19 22:37:05.000000000 +0000
3 +++ podsleuth-0.6.4/m4/podsleuth.m4 2009-04-04 18:35:56.000000000 +0000
4 @@ -32,8 +32,8 @@
6 AC_DEFUN([PODSLEUTH_CHECK_SGUTILS],
8 - AC_CHECK_LIB(sgutils, sg_ll_inquiry, [],
9 - AC_MSG_ERROR([Error! You need to have libsgutils.])
10 + AC_CHECK_LIB(sgutils2, sg_ll_inquiry, [],
11 + AC_MSG_ERROR([Error! You need to have libsgutils2.])
15 diff -ru podsleuth-0.6.4.old/src/PodSleuth/PodSleuth/ScsiReader.cs podsleuth-0.6.4/src/PodSleuth/PodSleuth/ScsiReader.cs
16 --- podsleuth-0.6.4.old/src/PodSleuth/PodSleuth/ScsiReader.cs 2007-09-17 07:51:40.000000000 +0000
17 +++ podsleuth-0.6.4/src/PodSleuth/PodSleuth/ScsiReader.cs 2009-04-04 18:36:45.000000000 +0000
18 @@ -50,7 +50,7 @@
22 - [DllImport("libsgutils.so.1")]
23 + [DllImport("libsgutils2.so.2")]
24 private static extern int sg_ll_inquiry(int sg_fd, int cmddt, int evpd, int pg_op,
25 IntPtr resp, int mx_resp_len, int noisy, int verbose);
27 @@ -74,4 +74,4 @@
32 \ No newline at end of file
34 diff -ru podsleuth-0.6.4.old/src/PodSleuth/PodSleuth.dll.config.in podsleuth-0.6.4/src/PodSleuth/PodSleuth.dll.config.in
35 --- podsleuth-0.6.4.old/src/PodSleuth/PodSleuth.dll.config.in 2007-09-17 07:51:40.000000000 +0000
36 +++ podsleuth-0.6.4/src/PodSleuth/PodSleuth.dll.config.in 2009-04-04 18:36:29.000000000 +0000
37 @@ -1,4 +1,4 @@
38 <configuration>
39 - <dllmap dll="libsgutils.so.1" target="libsgutils.so.1" />
40 + <dllmap dll="libsgutils2.so.2" target="libsgutils2.so.2" />
41 </configuration>