On Sun, Jan 13, 2013 at 03:40:36PM +0100, LEVAI Daniel wrote: > Hi! > > ian@ contacted me off-list to solve a problem with his mtp device. To be > perfectly honest, I don't use libmtp, but it seems that this update > solves one of his problems (regarding ill-behavioured locale detection > in the example utilities). > The new version also contains MTPZ support and more supported devices.
Having to drag in gcc 4.6 just for that is nuts. I'll take a look at this and see about fixing it properly. > Index: Makefile > =================================================================== > RCS file: /cvs/ports/devel/libmtp/Makefile,v > retrieving revision 1.21 > diff -p -u -r1.21 Makefile > --- Makefile 16 Dec 2012 11:35:24 -0000 1.21 > +++ Makefile 12 Jan 2013 22:24:08 -0000 > @@ -2,9 +2,8 @@ > > COMMENT= Media Transfer Protocol (MTP) implementation > > -DISTNAME= libmtp-1.1.3 > -REVISION= 0 > -SHARED_LIBS += mtp 5.0 # 9.3 > +DISTNAME= libmtp-1.1.5 > +SHARED_LIBS += mtp 6.0 # 9.5 > CATEGORIES= devel > > HOMEPAGE= http://libmtp.sourceforge.net/ > @@ -19,7 +18,13 @@ WANTLIB= c gcrypt gpg-error pthread usb > > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libmtp/} > > -MODULES= devel/gettext > +MODULES= devel/gettext gcc4 > + > +# `__builtin_bswap32' was introduced in gcc 4.5 > +MODGCC4_VERSION= 4.6 > +MODGCC4_ARCHS= * > +MODGCC4_LANGS= c > + > > BUILD_DEPENDS= devel/doxygen > MAKE_ENV+= DOXYGEN_ENCODE_PATH_STRIP=${WRKSRC} -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.