pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/libdmapsharing Build fix for new glib2.
details: https://anonhg.NetBSD.org/pkgsrc/rev/311d6e77a8d9
branches: trunk
changeset: 603513:311d6e77a8d9
user: dholland <dholland%pkgsrc.org@localhost>
date: Mon May 07 00:10:24 2012 +0000
description:
Build fix for new glib2.
diffstat:
net/libdmapsharing/distinfo | 3 +-
net/libdmapsharing/patches/patch-libdmapsharing_dpap-share_c | 25 ++++++++++++
2 files changed, 27 insertions(+), 1 deletions(-)
diffs (41 lines):
diff -r 1eefe936f3c0 -r 311d6e77a8d9 net/libdmapsharing/distinfo
--- a/net/libdmapsharing/distinfo Mon May 07 00:04:17 2012 +0000
+++ b/net/libdmapsharing/distinfo Mon May 07 00:10:24 2012 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2011/01/19 23:30:12 jmmv Exp $
+$NetBSD: distinfo,v 1.2 2012/05/07 00:10:24 dholland Exp $
SHA1 (libdmapsharing-2.1.9.tar.gz) = d31a41e5ce296896e68ae854d60a84d7ac463d52
RMD160 (libdmapsharing-2.1.9.tar.gz) = 089870d145355ad9f5552b10d5c9d0dda1596db9
Size (libdmapsharing-2.1.9.tar.gz) = 644796 bytes
SHA1 (patch-aa) = 91697ea045dc2487ef683e4f7a268ff929d67beb
+SHA1 (patch-libdmapsharing_dpap-share_c) = b5bc964465165705c064d06d1bd77a88b3eaee4e
diff -r 1eefe936f3c0 -r 311d6e77a8d9 net/libdmapsharing/patches/patch-libdmapsharing_dpap-share_c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libdmapsharing/patches/patch-libdmapsharing_dpap-share_c Mon May 07 00:10:24 2012 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-libdmapsharing_dpap-share_c,v 1.1 2012/05/07 00:10:24 dholland Exp $
+
+Fix build with latest glib2.
+
+--- libdmapsharing/dpap-share.c~ 2010-11-07 17:58:43.000000000 +0000
++++ libdmapsharing/dpap-share.c
+@@ -29,8 +29,7 @@
+ #include <stdlib.h>
+
+ #include <glib/gi18n.h>
+-#include <glib/gslist.h>
+-#include <glib/gmappedfile.h>
++#include <glib.h>
+
+ #include <unistd.h>
+ #include <sys/types.h>
+@@ -451,7 +450,7 @@ add_entry_to_mlcl (gpointer id,
+ g_object_get (record, "location", &location, NULL);
+ if (mapped_file) {
+ /* Free any previously mapped image */
+- g_mapped_file_free (mapped_file);
++ g_mapped_file_unref (mapped_file);
+ mapped_file = NULL;
+ }
+
Home |
Main Index |
Thread Index |
Old Index