Date: Sun, 30 Dec 2012 05:32:18 +0000 (UTC) From: TAKATSU Tomonari <tota@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309650 - in head/net-im/libjingle: . files Message-ID: <201212300532.qBU5WIrg033606@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tota Date: Sun Dec 30 05:32:18 2012 New Revision: 309650 URL: http://svnweb.freebsd.org/changeset/ports/309650 Log: - Unbreak on !i386 - Pet portlint * Convert to new Makefile header * Remove ABI versions from LIB_DEPENDS * and so on PR: ports/169736 (based on) Submitted by: Hiroshi Nishida <nishida_AT_asusa_DOT_net> Added: head/net-im/libjingle/files/patch-talk__session__fileshare__fileshare.cc (contents, props changed) Modified: head/net-im/libjingle/Makefile Modified: head/net-im/libjingle/Makefile ============================================================================== --- head/net-im/libjingle/Makefile Sun Dec 30 05:27:57 2012 (r309649) +++ head/net-im/libjingle/Makefile Sun Dec 30 05:32:18 2012 (r309650) @@ -1,9 +1,5 @@ -# New ports collection makefile for: libjingle -# Date created: Wed Feb 22 01:33:20 UTC 2006 -# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> -# +# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> # $FreeBSD$ -# PORTNAME= libjingle PORTVERSION= 0.4.0 @@ -14,10 +10,10 @@ MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Google Talk's implementation of Jingle and Jingle-Audio -LIB_DEPENDS= speex.1:${PORTSDIR}/audio/speex \ - ilbc.0:${PORTSDIR}/net/ilbc \ - ortp.8:${PORTSDIR}/net/linphone-base \ - expat.6:${PORTSDIR}/textproc/expat2 +LIB_DEPENDS= speex:${PORTSDIR}/audio/speex \ + ilbc:${PORTSDIR}/net/ilbc \ + ortp:${PORTSDIR}/net/linphone-base \ + expat:${PORTSDIR}/textproc/expat2 CONFLICTS= krb4-[0-9]* krb5-[0-9]* heimdal-[0-9]* srp-[0-9]* \ clusterit-[0-9]* pcp-[0-9]* synce-librapi2-[0-9]* @@ -42,22 +38,21 @@ CONFIGURE_ENV= PKG_CONFIG="${PKG_CONFIG} SPEEX_LIBS="$$(${PKG_CONFIG} --libs speex)" CPPFLAGS+= -I${LOCALBASE}/include -I${OPENSSLINC} ${PTHREAD_CFLAGS} -g MAKE_JOBS_SAFE= yes +LDFLAGS+=-L${LOCALBASE}/lib -L${OPENSSLLIB} ${PTHREAD_LIBS} -DOC_FILES= AUTHORS \ +PORTDOCS= AUTHORS \ ChangeLog \ DOCUMENTATION \ NEWS \ README -.ifndef(NOPORTDOCS) -PORTDOCS= ${DOC_FILES} -.endif - PLIST_FILES+= bin/login \ bin/pcp \ bin/relayserver \ bin/stunserver \ +.include <bsd.port.options.mk> + post-configure: # force glib # force ilbc @@ -79,21 +74,12 @@ post-configure: .endfor post-install: -.ifndef(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} -.for file in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.for f in ${PORTDOCS} + @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor .endif @${CAT} ${PKGMESSAGE} -.include <bsd.port.pre.mk> - -.if ${ARCH} != "i386" -BROKEN= does not compile -.endif - -LDFLAGS+=-L${LOCALBASE}/lib -L${OPENSSLLIB} ${PTHREAD_LIBS} -PKG_CONFIG?=${LOCALBASE}/bin/pkg-config - -.include <bsd.port.post.mk> +.include <bsd.port.mk> Added: head/net-im/libjingle/files/patch-talk__session__fileshare__fileshare.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-im/libjingle/files/patch-talk__session__fileshare__fileshare.cc Sun Dec 30 05:32:18 2012 (r309650) @@ -0,0 +1,13 @@ +--- talk/session/fileshare/fileshare.cc.orig 2012-07-05 15:29:12.000000000 -0700 ++++ talk/session/fileshare/fileshare.cc 2012-07-05 15:45:43.000000000 -0700 +@@ -670,8 +670,8 @@ + && !query.empty() + && (sscanf(query.c_str(), "width=%u&height=%u", + &width, &height) == 2)) { +- width = talk_base::_max<unsigned int>(1, talk_base::_min(width, kMaxPreviewSize)); +- height = talk_base::_max<unsigned int>(1, talk_base::_min(height, kMaxPreviewSize)); ++ width = talk_base::_max<unsigned int>(1, talk_base::_min((size_t)width, kMaxPreviewSize)); ++ height = talk_base::_max<unsigned int>(1, talk_base::_min((size_t)height, kMaxPreviewSize)); + std::string pathname; + if (is_sender_) { + talk_base::Pathname local_path; \ No newline at end of file
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212300532.qBU5WIrg033606>