From 15bb7733ddb1f16a0e3936969282ecc42419829a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 26 Dec 2023 01:33:45 +0000 Subject: gentoo auto-resync : 26:12:2023 - 01:33:45 --- sci-libs/kissfft/Manifest | 1 + sci-libs/kissfft/files/kissfft-131.1.0-cross.patch | 30 ++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 sci-libs/kissfft/files/kissfft-131.1.0-cross.patch (limited to 'sci-libs/kissfft') diff --git a/sci-libs/kissfft/Manifest b/sci-libs/kissfft/Manifest index 749d26f39fc4..7049fa136f39 100644 --- a/sci-libs/kissfft/Manifest +++ b/sci-libs/kissfft/Manifest @@ -1,3 +1,4 @@ +AUX kissfft-131.1.0-cross.patch 877 BLAKE2B 507173b39368d597d65edbd53da7abbbb4f35e5f7a5587b04a1fd4af9d36a779e1e9c3ffcf3dcede3fd9fb4a4251a6670ceb660e0a7484fc202b1bd5c9b59c2e SHA512 afc92391929c2cabd122a2b121c43d0f496ee0c4dbb31c1bc9895b98ae52c781a88db8129a7fcbcbd33828f0d4b27852a7026b16264baae2b2171620eca08807 DIST kissfft-131.1.0.tar.gz 52383 BLAKE2B 74e6d2e7d132a311b31c28a468e13d9772a53f0ea0abed0e0f49d8db9c183fb0646f58fd38df3e797b8577285899daf6b80446b149ce2582bb828410656d96df SHA512 bd715868ce0e93a291a0592fb1f8b960e832fc64efe863755e52b67d5addff9bcb444a1bf2570d1914c52b41dad1023d0d86400f5ea30c9fb84cd6b4f7210708 EBUILD kissfft-131.1.0.ebuild 1382 BLAKE2B 691644e507bb2023084ed1557348a68c3eeab08303bf4d2da5af77ac5d754777dce2799683ccd78709f53b64fbea47366bd479dfe1e6489062f0983425434377 SHA512 e5d4ba145ec4951bd26bd59bece1fc90f3439b32755ee50e131c5422244815af8df93ccb0fff4f5731fb23cfe5066e7d27af9e9a54e432b99493824a106df126 EBUILD kissfft-9999.ebuild 1383 BLAKE2B 466bcf1812b9275857fc032b2289fdd1545884347885de77ec3e1915b9dfe9fb6855c7c649dbd8b4701bb527653ede7ec878c0ef6cd09269e824fd3dbe3d8450 SHA512 55f2c78325a9eb276a3c2c0320e54b45df2c7c38d4e08bb5732cd85615f140781d4312aa479390d403b89dcfe1f776c56316fade856194222b63300e05a72272 diff --git a/sci-libs/kissfft/files/kissfft-131.1.0-cross.patch b/sci-libs/kissfft/files/kissfft-131.1.0-cross.patch new file mode 100644 index 000000000000..137a5a939872 --- /dev/null +++ b/sci-libs/kissfft/files/kissfft-131.1.0-cross.patch @@ -0,0 +1,30 @@ +From 8b308c28e5c3684ac002289b0eebc64500bbed1c Mon Sep 17 00:00:00 2001 +From: James Le Cuirot +Date: Sun, 24 Dec 2023 16:37:38 +0000 +Subject: [PATCH] GNUInstallDirs is not supposed to be used conditionally + +Always include it to fix cross-compiling. This should not break Windows. + +Closes: https://github.com/mborgerding/kissfft/issues/65 +--- + CMakeLists.txt | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 0213798..c4d7d3e 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -105,9 +105,7 @@ endif() + # Add GNUInstallDirs for GNU infrastructure before target)include_directories + # + +-if(CMAKE_SYSTEM_NAME MATCHES "^(Linux|kFreeBSD|GNU)$" AND NOT CMAKE_CROSSCOMPILING) +- include(GNUInstallDirs) +-endif() ++include(GNUInstallDirs) + + # + # Declare PKGINCLUDEDIR for kissfft include path +-- +2.43.0 + -- cgit v1.2.3