summaryrefslogtreecommitdiff
path: root/net/libdmapsharing
diff options
context:
space:
mode:
authordholland <dholland>2012-05-07 00:10:24 +0000
committerdholland <dholland>2012-05-07 00:10:24 +0000
commitc5491a3d2549cf2fe325039309a8eb69cc249063 (patch)
tree5160652377abc9844f776a420c5322ee089faf4b /net/libdmapsharing
parent2f89f0c090c0db6a07faf71c92f7075ddca9adac (diff)
downloadpkgsrc-c5491a3d2549cf2fe325039309a8eb69cc249063.tar.gz
Build fix for new glib2.
Diffstat (limited to 'net/libdmapsharing')
-rw-r--r--net/libdmapsharing/distinfo3
-rw-r--r--net/libdmapsharing/patches/patch-libdmapsharing_dpap-share_c25
2 files changed, 27 insertions, 1 deletions
diff --git a/net/libdmapsharing/distinfo b/net/libdmapsharing/distinfo
index 6da8e0fedb5..1d876239133 100644
--- a/net/libdmapsharing/distinfo
+++ b/net/libdmapsharing/distinfo
@@ -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 --git a/net/libdmapsharing/patches/patch-libdmapsharing_dpap-share_c b/net/libdmapsharing/patches/patch-libdmapsharing_dpap-share_c
new file mode 100644
index 00000000000..c964a498623
--- /dev/null
+++ b/net/libdmapsharing/patches/patch-libdmapsharing_dpap-share_c
@@ -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;
+ }
+