Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2012 02:20:35 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/171963: audio/libmtp: Update to version 1.1.5
Message-ID:  <20120926022035.2fb00bd57c3f4f2988dee24b@yahoo.com>
Resent-Message-ID: <201209251810.q8PIAAWK017194@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         171963
>Category:       ports
>Synopsis:       audio/libmtp: Update to version 1.1.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 25 18:10:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update to version 1.1.5

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/libmtp/Makefile audio/libmtp/Makefile
--- /usr/ports/audio/libmtp/Makefile	2012-09-03 00:52:06.000000000 +0900
+++ audio/libmtp/Makefile	2012-09-25 03:16:32.000000000 +0900
@@ -1,12 +1,8 @@
-# New ports collection makefile for:	libmtp
-# Date created:							3 December 2006
-# Whom:								Petar Zhivkov Petrov (pesho.petrov@gmail.com)
-#
+# Created by: Petar Zhivkov Petrov (pesho.petrov@gmail.com)
 # $FreeBSD: ports/audio/libmtp/Makefile,v 1.32 2012/09/02 15:52:06 rakuco Exp $
-#
 
 PORTNAME=	libmtp
-PORTVERSION=	1.1.4
+PORTVERSION=	1.1.5
 CATEGORIES=	audio
 MASTER_SITES=	SF
 
@@ -21,9 +17,9 @@
 
 USE_GNOME=	gnomehack
 USE_ICONV=	yes
+USE_PKGCONFIG=	build
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
-USE_PKGCONFIG=	yes
 MAKE_JOBS_SAFE=	yes
 
 CPPFLAGS+=	-I${LOCALBASE}/include
@@ -51,8 +47,11 @@
 		'/^SUBDIRS/s|doc||' ${WRKSRC}/Makefile.in
 	@${REINPLACE_CMD} -e \
 		'/if test/s|==|=| ; \
-		 /LIBUSB_REQUIRES/s|libusb-1.0||' ${WRKSRC}/configure
+		 /LIBUSB_REQUIRES/s|libusb-1.0|| ; \
+		 /endian.h/s|machine|sys|' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e \
 		's|<libusb-1.0/|<|' ${WRKSRC}/src/libusb-glue.h
+	@${REINPLACE_CMD} -e \
+		's|__builtin_bswap|bswap|g' ${WRKSRC}/src/mtpz.c
 
 .include <bsd.port.post.mk>
diff -urN /usr/ports/audio/libmtp/distinfo audio/libmtp/distinfo
--- /usr/ports/audio/libmtp/distinfo	2012-09-03 00:52:06.000000000 +0900
+++ audio/libmtp/distinfo	2012-09-13 18:15:13.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (libmtp-1.1.4.tar.gz) = 4c6c5cdb46959d9903e98c22e906407909b5bff996b7e1970dc2ee228e3e1460
-SIZE (libmtp-1.1.4.tar.gz) = 696838
+SHA256 (libmtp-1.1.5.tar.gz) = 787679171baf8b3cf2fcc03196c705ab4d7cbc969bd71f9d3696be1ce7f1c63a
+SIZE (libmtp-1.1.5.tar.gz) = 723925
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120926022035.2fb00bd57c3f4f2988dee24b>