diff options
Diffstat (limited to 'libs/podsleuth/podsleuth-sg3_utils.patch')
-rw-r--r-- | libs/podsleuth/podsleuth-sg3_utils.patch | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/libs/podsleuth/podsleuth-sg3_utils.patch b/libs/podsleuth/podsleuth-sg3_utils.patch new file mode 100644 index 0000000000..addf38b3fb --- /dev/null +++ b/libs/podsleuth/podsleuth-sg3_utils.patch @@ -0,0 +1,57 @@ +diff -Naur podsleuth-0.6.4.orig/configure podsleuth-0.6.4/configure +--- podsleuth-0.6.4.orig/configure 2009-01-20 23:43:04.000000000 +0100 ++++ podsleuth-0.6.4/configure 2009-06-25 04:20:57.000000000 +0200 +@@ -4392,13 +4392,13 @@ + + + +-{ $as_echo "$as_me:$LINENO: checking for sg_ll_inquiry in -lsgutils" >&5 +-$as_echo_n "checking for sg_ll_inquiry in -lsgutils... " >&6; } ++{ $as_echo "$as_me:$LINENO: checking for sg_ll_inquiry in -lsgutils2" >&5 ++$as_echo_n "checking for sg_ll_inquiry in -lsgutils2... " >&6; } + if test "${ac_cv_lib_sgutils_sg_ll_inquiry+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lsgutils $LIBS" ++LIBS="-lsgutils2 $LIBS" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF +@@ -4462,7 +4462,7 @@ + #define HAVE_LIBSGUTILS 1 + _ACEOF + +- LIBS="-lsgutils $LIBS" ++ LIBS="-lsgutils2 $LIBS" + + else + { { $as_echo "$as_me:$LINENO: error: Error! You need to have libsgutils." >&5 +diff -Naur podsleuth-0.6.4.orig/src/PodSleuth/PodSleuth/ScsiReader.cs podsleuth-0.6.4/src/PodSleuth/PodSleuth/ScsiReader.cs +--- podsleuth-0.6.4.orig/src/PodSleuth/PodSleuth/ScsiReader.cs 2007-09-17 09:51:40.000000000 +0200 ++++ podsleuth-0.6.4/src/PodSleuth/PodSleuth/ScsiReader.cs 2009-06-25 04:19:18.000000000 +0200 +@@ -50,7 +50,7 @@ + } + } + +- [DllImport("libsgutils.so.1")] ++ [DllImport("libsgutils.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 -Naur podsleuth-0.6.4.orig/src/PodSleuth/PodSleuth.dll.config.in podsleuth-0.6.4/src/PodSleuth/PodSleuth.dll.config.in +--- podsleuth-0.6.4.orig/src/PodSleuth/PodSleuth.dll.config.in 2007-09-17 09:51:40.000000000 +0200 ++++ podsleuth-0.6.4/src/PodSleuth/PodSleuth.dll.config.in 2009-06-25 04:19:10.000000000 +0200 +@@ -1,4 +1,4 @@ + <configuration> +- <dllmap dll="libsgutils.so.1" target="libsgutils.so.1" /> ++ <dllmap dll="libsgutils.so.2" target="libsgutils.so.2" /> + </configuration> + |