From 87340091ed79698e591084bd7d9d76c58c94820b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 23 Jan 2024 22:46:03 +0000 Subject: gentoo auto-resync : 23:01:2024 - 22:46:03 --- dev-libs/intel-metrics-discovery/Manifest | 6 ++++-- ...intel-metrics-discovery-1.12.165.1-cflags.patch | 11 ++++++++++ ...ics-discovery-1.12.170-revert-definitions.patch | 24 ++++++++++++++++++++++ .../intel-metrics-discovery-1.12.165.1.ebuild | 7 ++----- .../intel-metrics-discovery-1.12.170.ebuild | 7 ++----- 5 files changed, 43 insertions(+), 12 deletions(-) create mode 100644 dev-libs/intel-metrics-discovery/files/intel-metrics-discovery-1.12.165.1-cflags.patch create mode 100644 dev-libs/intel-metrics-discovery/files/intel-metrics-discovery-1.12.170-revert-definitions.patch (limited to 'dev-libs/intel-metrics-discovery') diff --git a/dev-libs/intel-metrics-discovery/Manifest b/dev-libs/intel-metrics-discovery/Manifest index 51949d4e0cbb..8eb027b3b607 100644 --- a/dev-libs/intel-metrics-discovery/Manifest +++ b/dev-libs/intel-metrics-discovery/Manifest @@ -1,5 +1,7 @@ +AUX intel-metrics-discovery-1.12.165.1-cflags.patch 438 BLAKE2B 4bc84dda2cc36eb37a10f2fcf7b2c09e35edb94c05a23b55aafef20b93bbf19317fdf217806d33798a6a148edcb6c8f13a4b2e4b80e5caf5a9f5f375ba8022cb SHA512 8fce76dbce4e9e9d02fb9bf49c10218b56491b6c14b84b94ad556c81d3b924983e21d7ac61841301e9cba25ebff7f8b405be5c98e3d0105b83b1da1a2c1825bc +AUX intel-metrics-discovery-1.12.170-revert-definitions.patch 1410 BLAKE2B af7ef84fd1181bc10ee890d87121e78559dcfb7b561334e6041b5c20b183d4ebfdd94e6b773e4c604284b5368708b312a23f878a0df7d0b32fad7f1dfdce7044 SHA512 2a66efe9b1f4d78cb053d4621d063ed7bcca061b677ca9a68f589096c4ae1c32c463dd5a598912afd690a96fc3c52aaa8cdc2e7f684870b939a43cd40507eea2 DIST metrics-discovery-1.12.165.1.tar.gz 4908502 BLAKE2B 2869869d4830881e6894cdef54c13cfbc0c956e93a373617c84da6fee3bcb6dc915df77b16c3296d8bd651a2e76714a632689f927cd1717095bc7aa31ad7d77f SHA512 8293d497e2197f8dba95e690703d0440dfa40b7c16c91a9a1748b985f2bfe8603c0bb20dec5d31132b025d301f1d5492f5993e2870f4a5e04aac7b84b9734522 DIST metrics-discovery-1.12.170.tar.gz 4932048 BLAKE2B c4cf382ff29de4319f44863e0e45a0bb424c3f8af93c198723941c35f579e4d25252c99e6726d724483eae74e50a6315933106aa3e3bba8dad1af9a7ed8284fe SHA512 b4bb4465a059c7222b830ae3541eb1d6171d91f03ec131c1f8a079f6e8b2aed7c9f00899ae23744b986e070897eb135eaa4eff882d1cb173c80d6d2ce1ba3955 -EBUILD intel-metrics-discovery-1.12.165.1.ebuild 671 BLAKE2B 5ab398d4947eba21be186c8c1419192631d71c5599fa010d1aa509ccb391a8a98e1d6100d0a802d034dbbde3d72f2d344ac6f5578c9660f2b01558a4cbbbbf8b SHA512 62fb60cd2af2cbdede2640436f155504b7985f3f1ae2a5ca27baff3ee393934a5b5ef56c252b8c240bd7daff305d6dbea15d43111c6dd9082d9b34a4c53006df -EBUILD intel-metrics-discovery-1.12.170.ebuild 672 BLAKE2B 32de7996a7b19e9a321659fe1439b1d88ce9c081d54fbae048e6f85d1432fd65b2a9db521a503884d6a8c286ef80dff9b4dca9f5d1c41e712d887dbfc14146a7 SHA512 730800940dfcb97b4a8a790465c3954a33afbe6b81c0dc9e9c147b2d9db07c846981cd8c8f372606588e7244265b149c06648d94cb9fd94f9d3e215ff59ec9d3 +EBUILD intel-metrics-discovery-1.12.165.1.ebuild 681 BLAKE2B 6b9d4d361a9ac514c00d2c8e3459c3646e6717fce0eef2e73eaac5001e60ded23fce13458b24a37bedb0088fe61f6afe84c2268175bfe14684b65afaf508c21f SHA512 b3b09cca66243cbc765128023904f90e7ee2d4b91d90d79d2c7371ec5b2b0eff2df187f5d7414fc848db9eaf8e0cfaaac18183eab0fd437bae387ed4a12073d6 +EBUILD intel-metrics-discovery-1.12.170.ebuild 692 BLAKE2B ce278418c6913765dc24fec23f9702912a7a1d48be33421c3918b5ec317c4abdbbcd310e1124c11641f403ee360eee1f74fe2c0aeef5dc1a2a9aae14890f59f5 SHA512 85e96b3889e151df8d38684057058373a3d25acde5ed36343022c4322fdf5d60df0be6add97954952025d76cffe9957534b27431a400c0d18b2f7be989e80717 MISC metadata.xml 815 BLAKE2B 017d27f513969fab6dd984946f3105d8bf0f2c0f29251976016f3b4aff779a22d66ad876bf00553376314681c2ee33beb53c0537a37a80824692001710164c8f SHA512 76548770278fa9004b250a5e8e6b273e49a0aff112e3e1508653c8b4119ed7ec486191ab39f6d22c425b0b07d77b29fc299d36d8faa7167b8af564bb1418aa6c diff --git a/dev-libs/intel-metrics-discovery/files/intel-metrics-discovery-1.12.165.1-cflags.patch b/dev-libs/intel-metrics-discovery/files/intel-metrics-discovery-1.12.165.1-cflags.patch new file mode 100644 index 000000000000..9a897543ea41 --- /dev/null +++ b/dev-libs/intel-metrics-discovery/files/intel-metrics-discovery-1.12.165.1-cflags.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -435,7 +435,7 @@ + if ("${BUILD_TYPE}" STREQUAL "release") + add_definitions(-DNDEBUG) + # security compiler flags +- add_definitions(-O2 -D_FORTIFY_SOURCE=2 -Wformat) ++ add_definitions(-Wformat) + elseif ("${BUILD_TYPE}" STREQUAL "release-internal" OR + "${BUILD_TYPE}" STREQUAL "releaseinternal") + add_definitions(-D_RELEASE_INTERNAL) diff --git a/dev-libs/intel-metrics-discovery/files/intel-metrics-discovery-1.12.170-revert-definitions.patch b/dev-libs/intel-metrics-discovery/files/intel-metrics-discovery-1.12.170-revert-definitions.patch new file mode 100644 index 000000000000..e8d1d5821e46 --- /dev/null +++ b/dev-libs/intel-metrics-discovery/files/intel-metrics-discovery-1.12.170-revert-definitions.patch @@ -0,0 +1,24 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -443,7 +443,7 @@ + if ("${BUILD_TYPE}" STREQUAL "release") + add_definitions(-DNDEBUG) + # security compiler flags +- add_definitions(-O2 -D_FORTIFY_SOURCE=2 -Wformat) ++ add_definitions(-Wformat) + elseif ("${BUILD_TYPE}" STREQUAL "release-internal" OR + "${BUILD_TYPE}" STREQUAL "releaseinternal") + add_definitions(-D_RELEASE_INTERNAL) +@@ -467,12 +467,7 @@ + "${BUILD_TYPE}" STREQUAL "release-internal" OR + "${BUILD_TYPE}" STREQUAL "releaseinternal") + add_definitions(-Werror=format-security) # treat format string security warnings as errors +- add_definitions(-Werror) # treat warning as errors + add_definitions(-fvisibility=hidden) # to disable exporting internal symbols (by default gcc exports all symbols) +- add_definitions(-flto) # enables Link-Time Optimization (LTO) +- add_definitions(-fPIC) # generates position-independent code during the compilation phase +- add_definitions(-fPIE) # generates position-independent executables during the compilation phase +- add_definitions(-pie) # produces position-independent executables during the linking phase + elseif ("${BUILD_TYPE}" STREQUAL "debug") + add_definitions(-g) + endif () diff --git a/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.12.165.1.ebuild b/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.12.165.1.ebuild index e9827e7a4117..741e180fbd28 100644 --- a/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.12.165.1.ebuild +++ b/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.12.165.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,10 +21,7 @@ KEYWORDS="amd64" DEPEND="x11-libs/libdrm" RDEPEND="${DEPEND}" -src_prepare() { - default - cmake_src_prepare -} +PATCHES=( "${FILESDIR}/${PN}-1.12.165.1-cflags.patch" ) src_configure() { local mycmakeargs=( -DLINUX_DISTRO="Gentoo" ) diff --git a/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.12.170.ebuild b/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.12.170.ebuild index fcc32bedadce..1aa1fe8dda1b 100644 --- a/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.12.170.ebuild +++ b/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.12.170.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,10 +21,7 @@ KEYWORDS="~amd64" DEPEND="x11-libs/libdrm" RDEPEND="${DEPEND}" -src_prepare() { - default - cmake_src_prepare -} +PATCHES=( "${FILESDIR}/${PN}-1.12.170-revert-definitions.patch" ) src_configure() { local mycmakeargs=( -DLINUX_DISTRO="Gentoo" ) -- cgit v1.2.3