From bbcafeb39c09e2581663f9f953134c093d9c94ce Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 9 Jul 2008 02:29:45 +0000 Subject: Fix build with the latest glib20. Reported by: Pawel Worach Obtained from: GNOME SVN git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11109 df743ca5-7f9a-e211-a948-0013205c9059 --- .../files/patch-plparse_totem-pl-parser.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 multimedia/totem-pl-parser/files/patch-plparse_totem-pl-parser.c diff --git a/multimedia/totem-pl-parser/files/patch-plparse_totem-pl-parser.c b/multimedia/totem-pl-parser/files/patch-plparse_totem-pl-parser.c new file mode 100644 index 000000000..7a2da7001 --- /dev/null +++ b/multimedia/totem-pl-parser/files/patch-plparse_totem-pl-parser.c @@ -0,0 +1,19 @@ +--- plparse/totem-pl-parser.c 2008/06/10 12:46:22 139 ++++ plparse/totem-pl-parser.c 2008/07/03 13:02:07 148 +@@ -97,6 +97,7 @@ + + #include + #include ++#include + #include + #include + +@@ -644,7 +645,7 @@ + char *path; + + path = g_file_get_path (file); +- if (stat (path, &buf) == 0 && S_ISBLK (buf.st_mode)) { ++ if (g_stat (path, &buf) == 0 && S_ISBLK (buf.st_mode)) { + g_free (path); + return g_strdup (BLOCK_DEVICE_TYPE); + } -- cgit v1.2.3