diff --git a/app-arch/unshield/patches/unshield-1.4.2.patchset b/app-arch/unshield/patches/unshield-1.4.2.patchset deleted file mode 100644 index ad11848fa..000000000 --- a/app-arch/unshield/patches/unshield-1.4.2.patchset +++ /dev/null @@ -1,37 +0,0 @@ -From 1fdb6bf8ba28f66409fbcae78e15556f45d43623 Mon Sep 17 00:00:00 2001 -From: Leorize -Date: Sun, 7 Jan 2018 09:22:55 +0700 -Subject: CMakeLists: use check_symbol_exists() - -CMake manual suggests using this module instead of CheckFunctionExists. -Also, this fixes iconv detection on OSes that use an external iconv -implementation (libiconv) as iconv is defined as a macro, which -CheckFunctionExists can't detect. - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 39ae378..85915d0 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -9,7 +9,7 @@ set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}") - option(BUILD_STATIC "Build static version of libunshield" OFF) - - include(CheckIncludeFiles) --include(CheckFunctionExists) -+include(CheckSymbolExists) - include(CheckCSourceCompiles) - include(GNUInstallDirs) - -@@ -26,8 +26,8 @@ check_include_files(sys/byteswap.h HAVE_SYS_BYTESWAP_H) - check_include_files(sys/stat.h HAVE_SYS_STAT_H) - check_include_files(sys/types.h HAVE_SYS_TYPES_H) - check_include_files(unistd.h HAVE_UNISTD_H) --check_function_exists(fnmatch HAVE_FNMATCH) --check_function_exists(iconv HAVE_ICONV) -+check_symbol_exists(fnmatch fnmatch.h HAVE_FNMATCH) -+check_symbol_exists(iconv iconv.h HAVE_ICONV) - - set(SIZE_FORMAT "zi") - check_c_source_compiles("#include \nint main(int argc, char **argv) { size_t value = 0; printf(\"%${SIZE_FORMAT}\", value); return 0; }" SIZE_FORMAT_ZI) --- -2.15.0 - diff --git a/app-arch/unshield/unshield-1.4.2.recipe b/app-arch/unshield/unshield-1.4.3.recipe similarity index 94% rename from app-arch/unshield/unshield-1.4.2.recipe rename to app-arch/unshield/unshield-1.4.3.recipe index e102495a2..a1c33ed44 100644 --- a/app-arch/unshield/unshield-1.4.2.recipe +++ b/app-arch/unshield/unshield-1.4.3.recipe @@ -6,9 +6,8 @@ COPYRIGHT="2017 David Eriksson" LICENSE="MIT" REVISION="1" SOURCE_URI="https://github.com/twogood/unshield/archive/$portVersion.tar.gz" -CHECKSUM_SHA256="5dd4ea0c7e97ad8e3677ff3a254b116df08a5d041c2df8859aad5c4f88d1f774" +CHECKSUM_SHA256="aa8c978dc0eb1158d266eaddcd1852d6d71620ddfc82807fe4bf2e19022b7bab" SOURCE_FILENAME="unshield-$portVersion.tar.gz" -PATCHES="unshield-$portVersion.patchset" ARCHITECTURES="!x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86"