diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-embedded/stlink | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-embedded/stlink')
-rw-r--r-- | dev-embedded/stlink/Manifest | 3 | ||||
-rw-r--r-- | dev-embedded/stlink/files/stlink-1.7.0-no-werror.patch | 20 | ||||
-rw-r--r-- | dev-embedded/stlink/stlink-1.7.0.ebuild | 6 |
3 files changed, 27 insertions, 2 deletions
diff --git a/dev-embedded/stlink/Manifest b/dev-embedded/stlink/Manifest index 01a1e5418df0..57757a00a6fe 100644 --- a/dev-embedded/stlink/Manifest +++ b/dev-embedded/stlink/Manifest @@ -1,4 +1,5 @@ +AUX stlink-1.7.0-no-werror.patch 657 BLAKE2B 14a4d9ecf12fefeec84c328255a80600cb2314d83f8ce2e65d9682a03da278e2daf39aa0e9020592c548b3749c62b583e66dbad2e792eda1bdd14a0e1de04a00 SHA512 57168001932bd287f99db661df6e417da7792aa8ba05f0cf56080a3dace2802bd59d5dd79bba4ae068c1ebcdff480783c6aa2fd2116373add85e3c10b444ea28 DIST stlink-1.7.0.tar.gz 334883 BLAKE2B 7e00a01912e1d21fa29a7299fbb21f8e85540d3e4f4c90be8fcd9b4a8ef14bae2c0cd460463babf04fd52a11ebeac9601a5f31874dd4cce3077434c2bfc96168 SHA512 58b73c7a73809f36ab8ef53370bcbdba7456433c8559f350349febd282188541184b5c171eb2ca1ad38ec4b3ae32d3a89895a208bcacc264ec0aed5f61e6bcd0 -EBUILD stlink-1.7.0.ebuild 823 BLAKE2B b7ccf672b881f41234cdd17b64dcc7a2ac00fda7eafaede5162594a38ad017078e801494f4f45c3e8be579749f5d3f9ff27810fb6bd7b3a26f7924ab5b716f50 SHA512 e6f0a57fb112b33fbf8b9eec6f4bab6823bfbbf878cc47bbeebb2f920af22657ed56a87b4a19b87fcb6bb708a6ee8239152ea642c117386201100990a18d953c +EBUILD stlink-1.7.0.ebuild 879 BLAKE2B a5f18e266fce50c9d254527b7f048dc538e1376ac5ab7af8e5494e86c346d8a4229a2806993a3aecc89d9e6b4d6686d213a32c7c57a857d2476605a3072dc158 SHA512 ea5ee8f9ce7cad49deb8378e5685a7ce526acb7e878a683519647e809de2877d28020aa9f7b2c846fef0e0f8f34dea13e59212121148d1349e1ebe18e1ed8381 EBUILD stlink-9999.ebuild 823 BLAKE2B b7ccf672b881f41234cdd17b64dcc7a2ac00fda7eafaede5162594a38ad017078e801494f4f45c3e8be579749f5d3f9ff27810fb6bd7b3a26f7924ab5b716f50 SHA512 e6f0a57fb112b33fbf8b9eec6f4bab6823bfbbf878cc47bbeebb2f920af22657ed56a87b4a19b87fcb6bb708a6ee8239152ea642c117386201100990a18d953c MISC metadata.xml 249 BLAKE2B 0d8c6b8e9873180a796f77c5194270389ae642d0d888d7fa1bbada89861dc1ba1bd9f238acd76f7a07a3eb694ac8bdb19927012814a03ed8d3e87f40676979d1 SHA512 1ac8ddbe837cb8db85bb6e4ee59a6e98554c04231c54cb5158fbe7dda3230aaeb02ab66ff374f5bb348e84159588b0740c43acd99ed590939db70bbd2f15d265 diff --git a/dev-embedded/stlink/files/stlink-1.7.0-no-werror.patch b/dev-embedded/stlink/files/stlink-1.7.0-no-werror.patch new file mode 100644 index 000000000000..79765787de52 --- /dev/null +++ b/dev-embedded/stlink/files/stlink-1.7.0-no-werror.patch @@ -0,0 +1,20 @@ +https://bugs.gentoo.org/746770 +--- a/cmake/modules/c_flags.cmake ++++ b/cmake/modules/c_flags.cmake +@@ -50,5 +50,4 @@ if (${CMAKE_BUILD_TYPE} MATCHES "Debug") + add_cflag_if_supported("-O0") + else () + add_cflag_if_supported("-O2") +- add_cflag_if_supported("-Werror") + endif () +--- a/doc/dev/app-example/CMakeLists.txt ++++ b/doc/dev/app-example/CMakeLists.txt +@@ -14,7 +14,7 @@ include_directories(${STLINK_INCLUDE_DIRS}) + find_package(PkgConfig) + pkg_check_modules(STLINK REQUIRED stlink) + +-set(CMAKE_C_FLAGS " ${STLINK_CFLAGS_OTHER} -Wall -Werror") ++set(CMAKE_C_FLAGS " ${STLINK_CFLAGS_OTHER} -Wall") + + add_executable(${PROJECT_NAME} ${SRCS}) + diff --git a/dev-embedded/stlink/stlink-1.7.0.ebuild b/dev-embedded/stlink/stlink-1.7.0.ebuild index e937418ed74f..6f33c17ee856 100644 --- a/dev-embedded/stlink/stlink-1.7.0.ebuild +++ b/dev-embedded/stlink/stlink-1.7.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -24,6 +24,10 @@ RDEPEND="virtual/libusb:1 DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" +PATCHES=( + "${FILESDIR}"/${PN}-1.7.0-no-werror.patch +) + src_configure() { local mycmakeargs=( -DSTLINK_UDEV_RULES_DIR="$(get_udevdir)"/rules.d |