Author: gotar Date: Tue Jun 16 15:24:38 2009 GMT Module: packages Tag: HEAD ---- Log message: - http://bugs.gentoo.org/show_bug.cgi?id=196321
---- Files affected: packages/qpxtool: qpxtool-llh.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/qpxtool/qpxtool-llh.patch diff -u /dev/null packages/qpxtool/qpxtool-llh.patch:1.1 --- /dev/null Tue Jun 16 17:24:38 2009 +++ packages/qpxtool/qpxtool-llh.patch Tue Jun 16 17:24:32 2009 @@ -0,0 +1,21 @@ +diff -Nru qpxtool-0.6.1/lib/qpxtransport/qpx_transport.cpp qpxtool-0.6.1.1/lib/qpxtransport/qpx_transport.cpp +--- qpxtool-0.6.1/lib/qpxtransport/qpx_transport.cpp 2007-08-19 18:04:14.000000000 +0400 ++++ qpxtool-0.6.1.1/lib/qpxtransport/qpx_transport.cpp 2007-10-22 22:55:36.000000000 +0400 +@@ -142,12 +142,17 @@ + + #if defined(__linux) + ++#if !defined(INT_MAX) ++#include <limits.h> ++#endif ++ + #include <sys/ioctl.h> + #include <linux/cdrom.h> + #include <mntent.h> + #include <sys/wait.h> + #include <sys/utsname.h> + #include <scsi/sg.h> ++ + #if !defined(SG_FLAG_LUN_INHIBIT) + # if defined(SG_FLAG_UNUSED_LUN_INHIBIT) + # define SG_FLAG_LUN_INHIBIT SG_FLAG_UNUSED_LUN_INHIBIT ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
