ports/143580: [PATCH] audio/libmtp: update to 1.0.1

Guido Falsi mad at madpilot.net
Fri Feb 5 15:20:02 UTC 2010


>Number:         143580
>Category:       ports
>Synopsis:       [PATCH] audio/libmtp: update to 1.0.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 05 15:20:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Guido Falsi
>Release:        FreeBSD 8.0-STABLE amd64
>Organization:
none
>Environment:
System: FreeBSD megatron.madpilot.net 8.0-STABLE FreeBSD 8.0-STABLE #10: Wed Jan 13 20:25:25 CET 2010 root at megatron.madpilot.net:/usr/obj/usr/src/sys/MEGATRON amd64

>Description:

Update to 1.0.1.

Removed all patches in files since they're not needed anymore.

Library version bumped, perhaps we will need to bump revision
on depending ports.

>How-To-Repeat:
>Fix:

diff -ruN libmtp.old/Makefile libmtp/Makefile
--- libmtp.old/Makefile	2010-02-03 10:40:35.038479872 +0100
+++ libmtp/Makefile	2010-02-03 10:40:58.000000000 +0100
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	libmtp
-PORTVERSION=	0.3.1
-PORTREVISION=	2
+PORTVERSION=	1.0.1
 CATEGORIES=	audio
 MASTER_SITES=	SF
 
diff -ruN libmtp.old/distinfo libmtp/distinfo
--- libmtp.old/distinfo	2010-02-03 10:40:35.038479872 +0100
+++ libmtp/distinfo	2010-02-03 10:41:48.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (libmtp-0.3.1.tar.gz) = 26456419db20eea44471d3687a8611a2
-SHA256 (libmtp-0.3.1.tar.gz) = c3823650a1744bda2a6bc1a546ab503c644c61f5c63c1ad5642efa6fe349a04a
-SIZE (libmtp-0.3.1.tar.gz) = 556206
+MD5 (libmtp-1.0.1.tar.gz) = d540a0ef033483bd10b7f83f7a84e4a7
+SHA256 (libmtp-1.0.1.tar.gz) = da3455115aa95180c3599373aa6c5c011c786c0dcf12b5e8c78d1d107d5030a6
+SIZE (libmtp-1.0.1.tar.gz) = 587559
diff -ruN libmtp.old/files/patch-examples__albumart.c libmtp/files/patch-examples__albumart.c
--- libmtp.old/files/patch-examples__albumart.c	2010-02-03 10:40:35.035479224 +0100
+++ libmtp/files/patch-examples__albumart.c	1970-01-01 01:00:00.000000000 +0100
@@ -1,10 +0,0 @@
---- ./examples/albumart.c.orig	2008-06-23 01:43:36.000000000 +0400
-+++ ./examples/albumart.c	2009-01-14 01:12:55.000000000 +0300
-@@ -21,6 +21,7 @@
-  */
- #include "common.h"
- #include "string.h"
-+#include <stdlib.h>
- #include <sys/stat.h>
- #include <fcntl.h>
- #include <errno.h>
diff -ruN libmtp.old/files/patch-examples__delfile.c libmtp/files/patch-examples__delfile.c
--- libmtp.old/files/patch-examples__delfile.c	2010-02-03 10:40:35.035479224 +0100
+++ libmtp/files/patch-examples__delfile.c	1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
---- ./examples/delfile.c.orig	2009-01-14 01:14:19.000000000 +0300
-+++ ./examples/delfile.c	2009-01-14 01:15:00.000000000 +0300
-@@ -23,6 +23,8 @@
- #include "common.h"
- #include "string.h"
- #include "pathutils.h"
-+#include <stdlib.h>
-+#include <limits.h>
- 
- void delfile_usage(void);
- void delfile_function(char *);
diff -ruN libmtp.old/files/patch-examples__getfile.c libmtp/files/patch-examples__getfile.c
--- libmtp.old/files/patch-examples__getfile.c	2010-02-03 10:40:35.036480184 +0100
+++ libmtp/files/patch-examples__getfile.c	1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
---- ./examples/getfile.c.orig	2009-01-14 01:15:17.000000000 +0300
-+++ ./examples/getfile.c	2009-01-14 01:16:03.000000000 +0300
-@@ -22,6 +22,8 @@
-  */
- #include "common.h"
- #include "pathutils.h"
-+#include <stdlib.h>
-+#include <limits.h>
- 
- void getfile_function(char *,char *);
- void getfile_command(int, char **);
diff -ruN libmtp.old/files/patch-examples__getplaylist.c libmtp/files/patch-examples__getplaylist.c
--- libmtp.old/files/patch-examples__getplaylist.c	2010-02-03 10:40:35.037483101 +0100
+++ libmtp/files/patch-examples__getplaylist.c	1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
---- ./examples/getplaylist.c.orig	2007-11-11 03:06:28.000000000 +0300
-+++ ./examples/getplaylist.c	2009-01-14 01:12:55.000000000 +0300
-@@ -20,6 +20,8 @@
-  * Boston, MA 02111-1307, USA.
-  */
- #include "common.h"
-+#include <stdlib.h>
-+#include <limits.h>
- 
- static uint32_t dump_playlist(LIBMTP_mtpdevice_t *device, LIBMTP_playlist_t *pl)
- {
diff -ruN libmtp.old/files/patch-examples__newfolder.c libmtp/files/patch-examples__newfolder.c
--- libmtp.old/files/patch-examples__newfolder.c	2010-02-03 10:40:35.037483101 +0100
+++ libmtp/files/patch-examples__newfolder.c	1970-01-01 01:00:00.000000000 +0100
@@ -1,10 +0,0 @@
---- ./examples/newfolder.c.orig	2009-01-14 01:16:16.000000000 +0300
-+++ ./examples/newfolder.c	2009-01-14 01:16:31.000000000 +0300
-@@ -22,6 +22,7 @@
-  */
- #include "common.h"
- #include "pathutils.h"
-+#include <stdlib.h>
- #include <libgen.h>
- 
- void newfolder_function(char *);
diff -ruN libmtp.old/files/patch-examples__newplaylist.c libmtp/files/patch-examples__newplaylist.c
--- libmtp.old/files/patch-examples__newplaylist.c	2010-02-03 10:40:35.036480184 +0100
+++ libmtp/files/patch-examples__newplaylist.c	1970-01-01 01:00:00.000000000 +0100
@@ -1,10 +0,0 @@
---- ./examples/newplaylist.c.orig	2008-06-23 01:44:46.000000000 +0400
-+++ ./examples/newplaylist.c	2009-01-14 01:12:55.000000000 +0300
-@@ -21,6 +21,7 @@
-  */
- #include "common.h"
- #include "string.h"
-+#include <stdlib.h>
- #include <sys/stat.h>
- #include <fcntl.h>
- #include <errno.h>
diff -ruN libmtp.old/files/patch-examples__pathutils.c libmtp/files/patch-examples__pathutils.c
--- libmtp.old/files/patch-examples__pathutils.c	2010-02-03 10:40:35.036480184 +0100
+++ libmtp/files/patch-examples__pathutils.c	1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
---- ./examples/pathutils.c.orig	2008-05-03 03:17:02.000000000 +0400
-+++ ./examples/pathutils.c	2009-01-14 01:12:55.000000000 +0300
-@@ -21,6 +21,8 @@
-  */
- #include "common.h"
- #include "pathutils.h"
-+#include <stdlib.h>
-+#include <limits.h>
- #include <string.h>
- #include <libgen.h>
- 
diff -ruN libmtp.old/files/patch-examples__sendtr.c libmtp/files/patch-examples__sendtr.c
--- libmtp.old/files/patch-examples__sendtr.c	2010-02-03 10:40:35.034484129 +0100
+++ libmtp/files/patch-examples__sendtr.c	1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
---- ./examples/sendtr.c.orig	2008-08-17 01:01:09.000000000 +0400
-+++ ./examples/sendtr.c	2009-01-14 01:12:55.000000000 +0300
-@@ -31,6 +31,8 @@
- 
- #include "common.h"
- #include "util.h"
-+#include <stdlib.h>
-+#include <limits.h>
- #include <string.h>
- #include <libgen.h>
- #include <sys/stat.h>
diff -ruN libmtp.old/files/patch-examples__thumb.c libmtp/files/patch-examples__thumb.c
--- libmtp.old/files/patch-examples__thumb.c	2010-02-03 10:40:35.035479224 +0100
+++ libmtp/files/patch-examples__thumb.c	1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
---- ./examples/thumb.c.orig	2007-11-11 03:06:28.000000000 +0300
-+++ ./examples/thumb.c	2009-01-14 01:12:55.000000000 +0300
-@@ -22,6 +22,8 @@
-  */
- #include "common.h"
- #include "string.h"
-+#include <stdlib.h>
-+#include <limits.h>
- #include <sys/stat.h>
- #include <fcntl.h>
- #include <errno.h>
diff -ruN libmtp.old/files/patch-examples__trexist.c libmtp/files/patch-examples__trexist.c
--- libmtp.old/files/patch-examples__trexist.c	2010-02-03 10:40:35.035479224 +0100
+++ libmtp/files/patch-examples__trexist.c	1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
---- ./examples/trexist.c.orig	2007-11-11 03:06:28.000000000 +0300
-+++ ./examples/trexist.c	2009-01-14 01:12:55.000000000 +0300
-@@ -20,6 +20,8 @@
-  * Boston, MA 02111-1307, USA.
-  */
- #include "common.h"
-+#include <stdlib.h>
-+#include <limits.h>
- 
- static void usage (void)
- {
diff -ruN libmtp.old/files/patch-src__libmtp.c libmtp/files/patch-src__libmtp.c
--- libmtp.old/files/patch-src__libmtp.c	2010-02-03 10:40:35.034484129 +0100
+++ libmtp/files/patch-src__libmtp.c	1970-01-01 01:00:00.000000000 +0100
@@ -1,10 +0,0 @@
---- ./src/libmtp.c.orig	2008-08-17 01:01:13.000000000 +0400
-+++ ./src/libmtp.c	2009-01-14 01:12:55.000000000 +0300
-@@ -44,6 +44,7 @@
- #include "device-flags.h"
- #include "playlist-spl.h"
- 
-+#include <stdlib.h>
- #include <string.h>
- #include <sys/types.h>
- #include <sys/stat.h>
diff -ruN libmtp.old/pkg-plist libmtp/pkg-plist
--- libmtp.old/pkg-plist	2010-02-03 10:40:35.037483101 +0100
+++ libmtp/pkg-plist	2010-02-04 14:23:16.000000000 +0100
@@ -23,5 +23,5 @@
 lib/libmtp.a
 lib/libmtp.la
 lib/libmtp.so
-lib/libmtp.so.8
+lib/libmtp.so.11
 libdata/pkgconfig/libmtp.pc
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list