Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2012 18:08:06 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306689 - in head/sysutils/mtpfs: . files
Message-ID:  <201210301808.q9UI86EA045676@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Tue Oct 30 18:08:06 2012
New Revision: 306689
URL: http://svn.freebsd.org/changeset/ports/306689

Log:
  - Fix build with clang
  
  While I'm here:
  
  - Trim Makefile headers
  - Remove ABI version numbers from LIB_DEPENDS
  - Update author address in Created by line
  
  Approved by:	John Hixson <john@pcbsd.org> (maintainer)
  Feature safe:	yes

Modified:
  head/sysutils/mtpfs/Makefile   (contents, props changed)
  head/sysutils/mtpfs/files/patch-mtpfs.c   (contents, props changed)

Modified: head/sysutils/mtpfs/Makefile
==============================================================================
--- head/sysutils/mtpfs/Makefile	Tue Oct 30 17:53:39 2012	(r306688)
+++ head/sysutils/mtpfs/Makefile	Tue Oct 30 18:08:06 2012	(r306689)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: mtpfs
-# Date created: 1 July 2007
-# Whom: John Hixson <john@divinix.org>
-#
+# Created by: John Hixson <john@pcbsd.org>
 # $FreeBSD$
-#
 
 PORTNAME=	mtpfs
 PORTVERSION=	0.9
@@ -18,8 +14,8 @@ RUN_DEPENDS=	${LOCALBASE}/modules/fuse.k
 LIB_DEPENDS=	mtp:${PORTSDIR}/audio/libmtp \
 		fuse:${PORTSDIR}/sysutils/fusefs-libs \
 		id3-3.8:${PORTSDIR}/audio/id3lib \
-		id3tag.0:${PORTSDIR}/audio/libid3tag \
-		mad.2:${PORTSDIR}/audio/libmad
+		id3tag:${PORTSDIR}/audio/libid3tag \
+		mad:${PORTSDIR}/audio/libmad
 
 USE_GNOME=	glib20
 GNU_CONFIGURE=	yes

Modified: head/sysutils/mtpfs/files/patch-mtpfs.c
==============================================================================
--- head/sysutils/mtpfs/files/patch-mtpfs.c	Tue Oct 30 17:53:39 2012	(r306688)
+++ head/sysutils/mtpfs/files/patch-mtpfs.c	Tue Oct 30 18:08:06 2012	(r306689)
@@ -1,11 +1,20 @@
---- mtpfs.c.orig	Sun Jul  1 11:45:55 2007
-+++ mtpfs.c	Sun Jul  1 11:46:30 2007
-@@ -921,7 +921,7 @@
- */
+--- mtpfs.c.orig	2008-08-05 07:29:29.000000000 +0200
++++ mtpfs.c	2012-10-30 00:47:13.487478272 +0100
+@@ -534,7 +534,7 @@
+         }
+     }
+     close (fi->fh);
+-    return_unlock();
++    return_unlock(0);
+ }
+ 
+ void
+@@ -1143,7 +1143,7 @@
+ }
  
  static int
 -mtpfs_statfs (const char *path, struct statfs *stbuf)
 +mtpfs_statfs (const char *path, struct statvfs *stbuf)
  {
-     if (DEBUG) g_debug ("mtpfs_statfs");
+     DBG("mtpfs_statfs");
      stbuf->f_bsize=1024;



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