1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../podsleuth/sg_utils.patch
5 # Copyright (C) 2009 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 diff -uraN podsleuth-0.6.0.orig/configure podsleuth-0.6.0/configure
18 --- podsleuth-0.6.0.orig/configure 2007-12-18 23:22:01.000000000 +0100
19 +++ podsleuth-0.6.0/configure 2008-08-09 14:32:40.707682701 +0200
20 @@ -4261,13 +4261,13 @@
24 -{ echo "$as_me:$LINENO: checking for sg_ll_inquiry in -lsgutils" >&5
25 -echo $ECHO_N "checking for sg_ll_inquiry in -lsgutils... $ECHO_C" >&6; }
26 +{ echo "$as_me:$LINENO: checking for sg_ll_inquiry in -lsgutils2" >&5
27 +echo $ECHO_N "checking for sg_ll_inquiry in -lsgutils2... $ECHO_C" >&6; }
28 if test "${ac_cv_lib_sgutils_sg_ll_inquiry+set}" = set; then
29 echo $ECHO_N "(cached) $ECHO_C" >&6
31 ac_check_lib_save_LIBS=$LIBS
32 -LIBS="-lsgutils $LIBS"
33 +LIBS="-lsgutils2 $LIBS"
34 cat >conftest.$ac_ext <<_ACEOF
38 #define HAVE_LIBSGUTILS 1
41 - LIBS="-lsgutils $LIBS"
42 + LIBS="-lsgutils2 $LIBS"
45 { { echo "$as_me:$LINENO: error: Error! You need to have libsgutils." >&5
46 diff -uraN podsleuth-0.6.0.orig/src/PodSleuth/PodSleuth/ScsiReader.cs podsleuth-0.6.0/src/PodSleuth/PodSleuth/ScsiReader.cs
47 --- podsleuth-0.6.0.orig/src/PodSleuth/PodSleuth/ScsiReader.cs 2007-09-17 09:51:40.000000000 +0200
48 +++ podsleuth-0.6.0/src/PodSleuth/PodSleuth/ScsiReader.cs 2008-08-09 14:43:16.559431933 +0200
53 - [DllImport("libsgutils.so.1")]
54 + [DllImport("libsgutils2.so.2")]
55 private static extern int sg_ll_inquiry(int sg_fd, int cmddt, int evpd, int pg_op,
56 IntPtr resp, int mx_resp_len, int noisy, int verbose);
63 \ Intet linjeskift ved filafslutning
65 diff -uraN podsleuth-0.6.0.orig/src/PodSleuth/PodSleuth.dll.config.in podsleuth-0.6.0/src/PodSleuth/PodSleuth.dll.config.in
66 --- podsleuth-0.6.0.orig/src/PodSleuth/PodSleuth.dll.config.in 2007-09-17 09:51:40.000000000 +0200
67 +++ podsleuth-0.6.0/src/PodSleuth/PodSleuth.dll.config.in 2008-08-09 14:42:46.522431555 +0200
70 - <dllmap dll="libsgutils.so.1" target="libsgutils.so.1" />
71 + <dllmap dll="libsgutils2.so.2" target="libsgutils2.so.2" />