# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/podsleuth/sg_utils.patch # Copyright (C) 2009 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- diff -uraN podsleuth-0.6.0.orig/configure podsleuth-0.6.0/configure --- podsleuth-0.6.0.orig/configure 2007-12-18 23:22:01.000000000 +0100 +++ podsleuth-0.6.0/configure 2008-08-09 14:32:40.707682701 +0200 @@ -4261,13 +4261,13 @@ -{ echo "$as_me:$LINENO: checking for sg_ll_inquiry in -lsgutils" >&5 -echo $ECHO_N "checking for sg_ll_inquiry in -lsgutils... $ECHO_C" >&6; } +{ echo "$as_me:$LINENO: checking for sg_ll_inquiry in -lsgutils2" >&5 +echo $ECHO_N "checking for sg_ll_inquiry in -lsgutils2... $ECHO_C" >&6; } if test "${ac_cv_lib_sgutils_sg_ll_inquiry+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lsgutils $LIBS" +LIBS="-lsgutils2 $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -4327,7 +4327,7 @@ #define HAVE_LIBSGUTILS 1 _ACEOF - LIBS="-lsgutils $LIBS" + LIBS="-lsgutils2 $LIBS" else { { echo "$as_me:$LINENO: error: Error! You need to have libsgutils." >&5 diff -uraN podsleuth-0.6.0.orig/src/PodSleuth/PodSleuth/ScsiReader.cs podsleuth-0.6.0/src/PodSleuth/PodSleuth/ScsiReader.cs --- podsleuth-0.6.0.orig/src/PodSleuth/PodSleuth/ScsiReader.cs 2007-09-17 09:51:40.000000000 +0200 +++ podsleuth-0.6.0/src/PodSleuth/PodSleuth/ScsiReader.cs 2008-08-09 14:43:16.559431933 +0200 @@ -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 @@ } } } -} \ Intet linjeskift ved filafslutning +} diff -uraN podsleuth-0.6.0.orig/src/PodSleuth/PodSleuth.dll.config.in podsleuth-0.6.0/src/PodSleuth/PodSleuth.dll.config.in --- podsleuth-0.6.0.orig/src/PodSleuth/PodSleuth.dll.config.in 2007-09-17 09:51:40.000000000 +0200 +++ podsleuth-0.6.0/src/PodSleuth/PodSleuth.dll.config.in 2008-08-09 14:42:46.522431555 +0200 @@ -1,4 +1,4 @@ - +