From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id DBBD0483C2 for ; Wed, 31 Jan 2024 16:34:17 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2AA7A68D08B; Wed, 31 Jan 2024 18:34:15 +0200 (EET) Received: from w4.tutanota.de (w4.tutanota.de [81.3.6.165]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1DC5668CE06 for ; Wed, 31 Jan 2024 18:34:09 +0200 (EET) Received: from tutadb.w10.tutanota.de (unknown [192.168.1.10]) by w4.tutanota.de (Postfix) with ESMTP id ABE2F10600E8 for ; Wed, 31 Jan 2024 16:34:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1706718848; s=s1; d=lynne.ee; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=4agZLfykAkC2tLwCuzXLX9+Q2csiTsy/lDtwkCeGNOc=; b=acUyssElqYy35ZkMA7kLYP6UHfaFjKHpIIHltuAtSjFAz2BkXzDKX1MrqG1hEmCh JQirBbpdGLe6I8HWbuayK5K1A7zEg2QgEPGz4CEwijFPE/KxOZ/+zm5IgXlr+EhWeoS ktMbGxK83SQK9SLkFi+7U+c7p+cWO3WWT2iNKCRy9LEUc34p8EOCHdsmGw7qbHdxyNg IZzPZWF0lpIgDiqE+SS0KQ2RndbvdcnvZeoVyZe/E3kJQyHqrmrPTmwx6UbjxfJOge0 Yc/iju0bBM2duaa+jAIZsUwcjjm8PsCbvSB+Xo3mo8ZlGTjoQQ/j4JDYguGo7I6n+iO VlnqHOe+lg== Date: Wed, 31 Jan 2024 17:34:08 +0100 (CET) From: Lynne To: Ffmpeg Devel Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_15106_1616964608.1706718848606" Subject: [FFmpeg-devel] [PATCH] configure: fix compilation with glslang 14 X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: ------=_Part_15106_1616964608.1706718848606 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit The configure check already had fallback for the previous version of glslang, which had different requirements for flags. This commit simply moves the flags needed for glslang 13 to the fallback, while first trying to use new flags for glslang 14. This drops support for ~3 year old glslang versions, which I'm not sure had the complete C API we're using anyway. Patch attached. ------=_Part_15106_1616964608.1706718848606 Content-Type: text/x-diff; charset=us-ascii; name=0001-configure-fix-compilation-with-glslang-14.patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-configure-fix-compilation-with-glslang-14.patch >From 2c33a103832901579cc90a4da2d6eb17e233d9da Mon Sep 17 00:00:00 2001 From: Lynne Date: Wed, 31 Jan 2024 17:28:56 +0100 Subject: [PATCH] configure: fix compilation with glslang 14 The configure check already had fallback for the previous version of glslang, which had different requirements for flags. This commit simply moves the flags needed for glslang 13 to the fallback, while first trying to use new flags for glslang 14. This drops support for ~3 year old glslang versions, which I'm not sure had the complete C API we're using anyway. --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 68f675a4bc..421d182c97 100755 --- a/configure +++ b/configure @@ -6772,11 +6772,11 @@ enabled libfreetype && require_pkg_config libfreetype freetype2 "ft2build. enabled libfribidi && require_pkg_config libfribidi fribidi fribidi.h fribidi_version_info enabled libharfbuzz && require_pkg_config libharfbuzz harfbuzz hb.h hb_buffer_create enabled libglslang && { check_lib spirv_compiler glslang/Include/glslang_c_interface.h glslang_initialize_process \ - -lglslang -lMachineIndependent -lOSDependent -lHLSL -lOGLCompiler -lGenericCodeGen \ + -lglslang -lMachineIndependent -lGenericCodeGen \ -lSPVRemapper -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lpthread -lstdc++ -lm || require spirv_compiler glslang/Include/glslang_c_interface.h glslang_initialize_process \ - -lglslang -lOSDependent -lHLSL -lOGLCompiler \ - -lSPVRemapper -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lpthread -lstdc++ -lm; } + -lglslang -lMachineIndependent -lOSDependent -lHLSL -lOGLCompiler -lGenericCodeGen \ + -lSPVRemapper -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lpthread -lstdc++ -lm ; } enabled libgme && { check_pkg_config libgme libgme gme/gme.h gme_new_emu || require libgme gme/gme.h gme_new_emu -lgme -lstdc++; } enabled libgsm && { for gsm_hdr in "gsm.h" "gsm/gsm.h"; do -- 2.43.0.381.gb435a96ce8 ------=_Part_15106_1616964608.1706718848606 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". ------=_Part_15106_1616964608.1706718848606--