#
PORTNAME= libmtp
PORTVERSION= 0.3.1
PORTVERSION= 1.0.2
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= SF
MD5 (libmtp-0.3.1.tar.gz) = 26456419db20eea44471d3687a8611a2
MD5 (libmtp-1.0.2.tar.gz) = cdc1cc6afa6be287ff6bc331e71bdc47
SHA256 (libmtp-0.3.1.tar.gz) = c3823650a1744bda2a6bc1a546ab503c644c61f5c63c1ad5642efa6fe349a04a
SHA256 (libmtp-1.0.2.tar.gz) = 23adc4d18b5d9e0932a542104b871163cdadc09e697184199ecaaa33eaffa7af
SIZE (libmtp-0.3.1.tar.gz) = 556206
SIZE (libmtp-1.0.2.tar.gz) = 594799
--- ./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>
--- ./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 "pathutils.h"
+#include <limits.h>
void delfile_usage(void);
void delfile_function(char *);
--- ./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 @@
void getfile_function(char *,char *);
void getfile_command(int, char **);
--- ./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.
static uint32_t dump_playlist(LIBMTP_mtpdevice_t *device, LIBMTP_playlist_t *pl)
{
--- ./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 <libgen.h>
void newfolder_function(char *);
--- ./examples/newplaylist.c.orig 2008-06-23 01:44:46.000000000 +0400
+++ ./examples/newplaylist.c 2009-01-14 01:12:55.000000000 +0300
--- ./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 <string.h>
--- ./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 "util.h"
--- ./examples/thumb.c.orig 2007-11-11 03:06:28.000000000 +0300
+++ ./examples/thumb.c 2009-01-14 01:12:55.000000000 +0300
--- ./examples/trexist.c.orig 2007-11-11 03:06:28.000000000 +0300
+++ ./examples/trexist.c 2009-01-14 01:12:55.000000000 +0300
static void usage (void)
--- ./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 <sys/types.h>
lib/libmtp.a
lib/libmtp.la
lib/libmtp.so
lib/libmtp.so.8
lib/libmtp.so.11
libdata/pkgconfig/libmtp.pc