From owner-svn-ports-all@FreeBSD.ORG Tue Oct 30 18:08:07 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4EF67848; Tue, 30 Oct 2012 18:08:07 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 11CF18FC08; Tue, 30 Oct 2012 18:08:07 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9UI869D045679; Tue, 30 Oct 2012 18:08:06 GMT (envelope-from madpilot@svn.freebsd.org) Received: (from madpilot@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9UI86EA045676; Tue, 30 Oct 2012 18:08:06 GMT (envelope-from madpilot@svn.freebsd.org) Message-Id: <201210301808.q9UI86EA045676@svn.freebsd.org> From: Guido Falsi Date: Tue, 30 Oct 2012 18:08:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306689 - in head/sysutils/mtpfs: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2012 18:08:07 -0000 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 (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 -# +# Created by: John Hixson # $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;