From owner-svn-ports-head@freebsd.org Thu Jun 23 17:56:19 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 117ECB73CAC; Thu, 23 Jun 2016 17:56:19 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 840171B3D; Thu, 23 Jun 2016 17:56:18 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u5NHuG2K068268; Thu, 23 Jun 2016 17:56:16 GMT (envelope-from madpilot@FreeBSD.org) Received: (from madpilot@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u5NHuGbI068264; Thu, 23 Jun 2016 17:56:16 GMT (envelope-from madpilot@FreeBSD.org) Message-Id: <201606231756.u5NHuGbI068264@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: madpilot set sender to madpilot@FreeBSD.org using -f From: Guido Falsi Date: Thu, 23 Jun 2016 17:56:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r417393 - in head/multimedia/libva: . 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-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2016 17:56:19 -0000 Author: madpilot Date: Thu Jun 23 17:56:16 2016 New Revision: 417393 URL: https://svnweb.freebsd.org/changeset/ports/417393 Log: - Update to 1.7.1 - Convert to USES=localbase Added: head/multimedia/libva/files/patch-va_va__trace.c (contents, props changed) Modified: head/multimedia/libva/Makefile head/multimedia/libva/distinfo head/multimedia/libva/pkg-plist Modified: head/multimedia/libva/Makefile ============================================================================== --- head/multimedia/libva/Makefile Thu Jun 23 17:21:52 2016 (r417392) +++ head/multimedia/libva/Makefile Thu Jun 23 17:56:16 2016 (r417393) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= libva -PORTVERSION= 1.7.0 +PORTVERSION= 1.7.1 CATEGORIES= multimedia MASTER_SITES= http://cgit.freedesktop.org/${PORTNAME}/snapshot/ @@ -14,16 +14,16 @@ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat LIB_DEPENDS= libdrm.so:graphics/libdrm -USES= alias autoreconf gmake libtool pkgconfig tar:bzip2 +USES= alias autoreconf gmake libtool localbase pkgconfig tar:bzip2 USE_XORG= glproto pciaccess xext xfixes USE_GL= gl GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-prefix=va USE_LDCONFIG= yes -LDFLAGS+= -L${LOCALBASE}/lib +LDFLAGS+= -lpthread # prevent types conflict: videodev2.h vs. drm.h -CFLAGS+= -I${LOCALBASE}/include -DHAVE_LINUX_INTEGER_TYPES +CFLAGS+= -DHAVE_LINUX_INTEGER_TYPES OPTIONS_DEFINE= DEBUG Modified: head/multimedia/libva/distinfo ============================================================================== --- head/multimedia/libva/distinfo Thu Jun 23 17:21:52 2016 (r417392) +++ head/multimedia/libva/distinfo Thu Jun 23 17:56:16 2016 (r417393) @@ -1,2 +1,3 @@ -SHA256 (libva-1.7.0.tar.bz2) = 0931ba1fcb74680e98340ab9be18f88282247c8e6cb7bc4b53f1fe4e68c64e98 -SIZE (libva-1.7.0.tar.bz2) = 617808 +TIMESTAMP = 1466696062 +SHA256 (libva-1.7.1.tar.bz2) = d85f9c97b6002c63dd8e935b26cfd33d8bf8ef292a389cfa92f1340dc291c33f +SIZE (libva-1.7.1.tar.bz2) = 625584 Added: head/multimedia/libva/files/patch-va_va__trace.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/libva/files/patch-va_va__trace.c Thu Jun 23 17:56:16 2016 (r417393) @@ -0,0 +1,72 @@ +--- va/va_trace.c.orig 2016-06-21 01:29:25 UTC ++++ va/va_trace.c +@@ -48,6 +48,9 @@ + #include + #include + #include ++#ifdef __FreeBSD__ ++#include ++#endif + #include + #include + #include +@@ -294,7 +297,11 @@ static void add_trace_config_info( + { + struct trace_config_info *pconfig_info; + int idx = 0; ++#ifdef __FreeBSD__ ++ pid_t thd_id = pthread_getthreadid_np(); ++#else + pid_t thd_id = syscall(__NR_gettid); ++#endif + + LOCK_RESOURCE(pva_trace); + +@@ -318,7 +325,11 @@ static void delete_trace_config_info( + { + struct trace_config_info *pconfig_info; + int idx = 0; ++#ifdef __FreeBSD__ ++ pid_t thd_id = pthread_getthreadid_np(); ++#else + pid_t thd_id = syscall(__NR_gettid); ++#endif + + LOCK_RESOURCE(pva_trace); + +@@ -663,7 +674,11 @@ static struct trace_log_file *start_trac + { + struct trace_log_files_manager *plog_files_mgr = NULL; + struct trace_log_file *plog_file = NULL; ++#ifdef __FreeBSD__ ++ pid_t thd_id = pthread_getthreadid_np(); ++#else + pid_t thd_id = syscall(__NR_gettid); ++#endif + int i = 0; + + LOCK_RESOURCE(pva_trace); +@@ -702,7 +717,11 @@ static void refresh_log_file( + struct trace_context *ptra_ctx) + { + struct trace_log_file *plog_file = NULL; ++#ifdef __FreeBSD__ ++ pid_t thd_id = pthread_getthreadid_np(); ++#else + pid_t thd_id = syscall(__NR_gettid); ++#endif + int i = 0; + + plog_file = ptra_ctx->plog_file; +@@ -1226,7 +1245,11 @@ static void internal_TraceUpdateContext + { + struct trace_context *trace_ctx = NULL; + int i = 0, delete = 1; ++#ifdef __FreeBSD__ ++ pid_t thd_id = pthread_getthreadid_np(); ++#else + pid_t thd_id = syscall(__NR_gettid); ++#endif + + if(tra_ctx_idx >= MAX_TRACE_CTX_NUM) + return; Modified: head/multimedia/libva/pkg-plist ============================================================================== --- head/multimedia/libva/pkg-plist Thu Jun 23 17:21:52 2016 (r417392) +++ head/multimedia/libva/pkg-plist Thu Jun 23 17:56:16 2016 (r417393) @@ -25,6 +25,7 @@ include/va/va_enc_hevc.h include/va/va_enc_jpeg.h include/va/va_enc_mpeg2.h include/va/va_enc_vp8.h +include/va/va_enc_vp9.h include/va/va_glx.h include/va/va_tpi.h include/va/va_version.h @@ -32,19 +33,19 @@ include/va/va_vpp.h include/va/va_x11.h lib/libva-drm.so lib/libva-drm.so.1 -lib/libva-drm.so.1.3900.0 +lib/libva-drm.so.1.3902.0 lib/libva-glx.so lib/libva-glx.so.1 -lib/libva-glx.so.1.3900.0 +lib/libva-glx.so.1.3902.0 lib/libva-tpi.so lib/libva-tpi.so.1 -lib/libva-tpi.so.1.3900.0 +lib/libva-tpi.so.1.3902.0 lib/libva-x11.so lib/libva-x11.so.1 -lib/libva-x11.so.1.3900.0 +lib/libva-x11.so.1.3902.0 lib/libva.so lib/libva.so.1 -lib/libva.so.1.3900.0 +lib/libva.so.1.3902.0 lib/va/dummy_drv_video.so libdata/pkgconfig/libva-drm.pc libdata/pkgconfig/libva-glx.pc