]> git.pld-linux.org Git - packages/libgpod.git/commitdiff
- fix building with sg3_utils >= 1.26
authorhawk <hawk@pld-linux.org>
Wed, 30 Jul 2008 06:41:46 +0000 (06:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libgpod-sgutils.patch -> 1.1

libgpod-sgutils.patch [new file with mode: 0644]

diff --git a/libgpod-sgutils.patch b/libgpod-sgutils.patch
new file mode 100644 (file)
index 0000000..9a86e0c
--- /dev/null
@@ -0,0 +1,25 @@
+diff -ur libgpod-0.6.0.orig/configure.ac libgpod-0.6.0/configure.ac
+--- libgpod-0.6.0.orig/configure.ac    2007-11-06 21:03:35.000000000 +0100
++++ libgpod-0.6.0/configure.ac 2008-07-30 08:38:03.000000000 +0200
+@@ -78,8 +78,8 @@
+ dnl **************************************************
+ dnl * sgutils is necessary to get the xml device file from the ipod
+ dnl **************************************************
+-AC_CHECK_LIB(sgutils, sg_ll_inquiry,
+-             [SGUTILS_LIBS="-lsgutils"; have_sgutils=yes], 
++AC_CHECK_LIB(sgutils2, sg_ll_inquiry,
++             [SGUTILS_LIBS="-lsgutils2"; have_sgutils=yes], 
+            have_sgutils=no)
+ AC_SUBST(SGUTILS_LIBS)
+ AM_CONDITIONAL(HAVE_SGUTILS, test x"$have_sgutils" = xyes)
+diff -ur libgpod-0.6.0.orig/tools/ipod-scsi-inquiry.c libgpod-0.6.0/tools/ipod-scsi-inquiry.c
+--- libgpod-0.6.0.orig/tools/ipod-scsi-inquiry.c       2007-11-10 10:40:27.000000000 +0100
++++ libgpod-0.6.0/tools/ipod-scsi-inquiry.c    2008-07-30 08:34:30.000000000 +0200
+@@ -30,6 +30,7 @@
+ #include <fcntl.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <stdint.h>
+ #include <string.h>
+ #include <unistd.h>
+ #include <scsi/sg_cmds.h>
This page took 0.12928 seconds and 4 git commands to generate.