1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Add missing includes to fix on amd64

- Bump portrevision

PR:		ports/130520
Submitted by:	Yuri Pankov <yuri.pankov@gmail.com>
Approved by:	Petar Zhivkov Petrov <pesho.petrov@gmail.com> (maintainer)
This commit is contained in:
Beech Rintoul 2009-01-16 21:48:53 +00:00
parent a021dc52d6
commit 7e6cfe0841
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=226290
12 changed files with 118 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= libmtp
PORTVERSION= 0.3.1
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

View File

@ -0,0 +1,10 @@
--- ./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>

View File

@ -0,0 +1,11 @@
--- ./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 *);

View File

@ -0,0 +1,11 @@
--- ./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 **);

View File

@ -0,0 +1,11 @@
--- ./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)
{

View File

@ -0,0 +1,10 @@
--- ./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 *);

View File

@ -0,0 +1,10 @@
--- ./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>

View File

@ -0,0 +1,11 @@
--- ./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>

View File

@ -0,0 +1,11 @@
--- ./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>

View File

@ -0,0 +1,11 @@
--- ./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>

View File

@ -0,0 +1,11 @@
--- ./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)
{

View File

@ -0,0 +1,10 @@
--- ./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>