View | Details | Raw Unified | Return to bug 143580 | Differences between
and this patch

Collapse All | Expand All

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

Return to bug 143580