pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/libhdhomerun patch libhdhomerun to avoid ar...
details: https://anonhg.NetBSD.org/pkgsrc/rev/157211b773bf
branches: trunk
changeset: 634186:157211b773bf
user: jakllsch <jakllsch%pkgsrc.org@localhost>
date: Sat May 10 22:41:02 2014 +0000
description:
patch libhdhomerun to avoid arithmetic with void *
diffstat:
multimedia/libhdhomerun/distinfo | 3 +-
multimedia/libhdhomerun/patches/patch-hdhomerun__sock__posix.c | 13 ++++++++++
2 files changed, 15 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r 7c5b3071c6d2 -r 157211b773bf multimedia/libhdhomerun/distinfo
--- a/multimedia/libhdhomerun/distinfo Sat May 10 22:38:40 2014 +0000
+++ b/multimedia/libhdhomerun/distinfo Sat May 10 22:41:02 2014 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2014/05/10 22:37:51 jakllsch Exp $
+$NetBSD: distinfo,v 1.3 2014/05/10 22:41:02 jakllsch Exp $
SHA1 (libhdhomerun_20140121.tgz) = 0a22ebc351fbfebf44df06515c7802f92396225f
RMD160 (libhdhomerun_20140121.tgz) = adbcd4df9f2c47a866a989263370710910538c75
Size (libhdhomerun_20140121.tgz) = 47685 bytes
+SHA1 (patch-hdhomerun__sock__posix.c) = 29771502664cfaa580b083dc5adcab88869a6502
diff -r 7c5b3071c6d2 -r 157211b773bf multimedia/libhdhomerun/patches/patch-hdhomerun__sock__posix.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libhdhomerun/patches/patch-hdhomerun__sock__posix.c Sat May 10 22:41:02 2014 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-hdhomerun__sock__posix.c,v 1.1 2014/05/10 22:41:02 jakllsch Exp $
+
+--- hdhomerun_sock_posix.c.orig 2014-01-16 19:01:59.000000000 +0000
++++ hdhomerun_sock_posix.c
+@@ -86,7 +86,7 @@ int hdhomerun_local_ip_info(struct hdhom
+ }
+
+ char *ptr = ifc.ifc_buf;
+- char *end = ifc.ifc_buf + ifc.ifc_len;
++ char *end = (char *)ifc.ifc_buf + ifc.ifc_len;
+
+ int count = 0;
+ while (ptr < end) {
Home |
Main Index |
Thread Index |
Old Index