summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-07-09 10:29:45 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-07-09 10:29:45 +0800
commitbbcafeb39c09e2581663f9f953134c093d9c94ce (patch)
tree5d4f99408570b9b0419e24e5355c4062ae843573
parented73594a4de0e31918b3153b9377eef7af58fa04 (diff)
downloadmarcuscom-ports-bbcafeb39c09e2581663f9f953134c093d9c94ce.tar
marcuscom-ports-bbcafeb39c09e2581663f9f953134c093d9c94ce.tar.gz
marcuscom-ports-bbcafeb39c09e2581663f9f953134c093d9c94ce.tar.bz2
marcuscom-ports-bbcafeb39c09e2581663f9f953134c093d9c94ce.tar.lz
marcuscom-ports-bbcafeb39c09e2581663f9f953134c093d9c94ce.tar.xz
marcuscom-ports-bbcafeb39c09e2581663f9f953134c093d9c94ce.tar.zst
marcuscom-ports-bbcafeb39c09e2581663f9f953134c093d9c94ce.zip
Fix build with the latest glib20.
Reported by: Pawel Worach <pawel.worach@gmail.com> Obtained from: GNOME SVN git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11109 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--multimedia/totem-pl-parser/files/patch-plparse_totem-pl-parser.c19
1 files changed, 19 insertions, 0 deletions
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 <string.h>
+ #include <glib.h>
++#include <glib/gstdio.h>
+ #include <glib/gi18n-lib.h>
+ #include <gio/gio.h>
+
+@@ -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);
+ }