SOURCES: libipoddevice-sgutils.patch (NEW) - fix build with sg3_utils >= 1.26

megabajt megabajt at pld-linux.org
Sat Nov 1 23:15:50 CET 2008


Author: megabajt                     Date: Sat Nov  1 22:15:50 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix build with sg3_utils >= 1.26

---- Files affected:
SOURCES:
   libipoddevice-sgutils.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/libipoddevice-sgutils.patch
diff -u /dev/null SOURCES/libipoddevice-sgutils.patch:1.1
--- /dev/null	Sat Nov  1 23:15:50 2008
+++ SOURCES/libipoddevice-sgutils.patch	Sat Nov  1 23:15:44 2008
@@ -0,0 +1,22 @@
+diff -urN libipoddevice-0.5.3/configure.ac libipoddevice-0.5.3.new/configure.ac
+--- libipoddevice-0.5.3/configure.ac	2007-04-01 06:48:20.000000000 +0200
++++ libipoddevice-0.5.3.new/configure.ac	2008-11-01 23:12:22.000000000 +0100
+@@ -48,7 +48,7 @@
+ 	AC_DEFINE([HAVE_HAL_EJECT], [1], [Have a HAL that supports DBus Methods])
+ fi
+ 
+-AC_CHECK_LIB(sgutils, sg_ll_inquiry, HAL_IPOD_INFO_LIBS="-lsgutils",
++AC_CHECK_LIB(sgutils2, sg_ll_inquiry, HAL_IPOD_INFO_LIBS="-lsgutils2",
+ 	AC_MSG_ERROR([Error! You need to have libsgutils.])
+ )
+ 
+diff -urN libipoddevice-0.5.3/src/hal-ipod-info.c libipoddevice-0.5.3.new/src/hal-ipod-info.c
+--- libipoddevice-0.5.3/src/hal-ipod-info.c	2007-03-26 19:24:12.000000000 +0200
++++ libipoddevice-0.5.3.new/src/hal-ipod-info.c	2008-11-01 23:12:40.000000000 +0100
+@@ -1,5 +1,6 @@
+ #define _GNU_SOURCE
+ #include <stdio.h>
++#include <stdint.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
================================================================


More information about the pld-cvs-commit mailing list