pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/bthfp Fix build on LP64.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/38684666fbe8
branches:  trunk
changeset: 543673:38684666fbe8
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Jun 21 20:47:28 2008 +0000

description:
Fix build on LP64.

diffstat:

 comms/bthfp/Makefile         |   4 +++-
 comms/bthfp/distinfo         |   3 ++-
 comms/bthfp/patches/patch-aa |  15 +++++++++++++++
 3 files changed, 20 insertions(+), 2 deletions(-)

diffs (48 lines):

diff -r 750f1fdf4d9e -r 38684666fbe8 comms/bthfp/Makefile
--- a/comms/bthfp/Makefile      Sat Jun 21 20:46:36 2008 +0000
+++ b/comms/bthfp/Makefile      Sat Jun 21 20:47:28 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2008/03/03 05:33:32 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2008/06/21 20:47:28 joerg Exp $
 
 DISTNAME=              bthfp-0.1
 CATEGORIES=            comms
@@ -14,6 +14,8 @@
 
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
 
+USE_BSD_MAKEFILE=      yes
+
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/bthfp ${DESTDIR}${PREFIX}/bin
        ${INSTALL_MAN} ${WRKSRC}/bthfp.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
diff -r 750f1fdf4d9e -r 38684666fbe8 comms/bthfp/distinfo
--- a/comms/bthfp/distinfo      Sat Jun 21 20:46:36 2008 +0000
+++ b/comms/bthfp/distinfo      Sat Jun 21 20:47:28 2008 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/12/07 20:29:10 plunky Exp $
+$NetBSD: distinfo,v 1.2 2008/06/21 20:47:28 joerg Exp $
 
 SHA1 (bthfp-0.1.tar.gz) = f0cefa424596545dec3c7d61eb9e608e8178871b
 RMD160 (bthfp-0.1.tar.gz) = 5185c59ee67a7482ec8c424172fdeebed5bb3238
 Size (bthfp-0.1.tar.gz) = 8522 bytes
+SHA1 (patch-aa) = 66e1d2be8a9de92b7a47bea8bba0adb68510d740
diff -r 750f1fdf4d9e -r 38684666fbe8 comms/bthfp/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/bthfp/patches/patch-aa      Sat Jun 21 20:47:28 2008 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 2008/06/21 20:47:28 joerg Exp $
+
+--- bthfp.c.orig       2008-06-21 14:42:12.000000000 +0000
++++ bthfp.c
+@@ -480,8 +480,8 @@ accept_sco(int fd, short ev, void *arg)
+ 
+       /* XXX might need to up the socket buffer size? */
+ 
+-      size = sizeof(mtu);
+-      if (getsockopt(sc, BTPROTO_SCO, SO_SCO_MTU, &mtu, &size) < 0) {
++      len = sizeof(mtu);
++      if (getsockopt(sc, BTPROTO_SCO, SO_SCO_MTU, &mtu, &len) < 0) {
+               close(sc);
+               sc = -1;
+               return;



Home | Main Index | Thread Index | Old Index