git: fe4ca0e76701 - main - devel/cmake-core: Drop now obsolete patch
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Jun 2026 19:57:33 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fe4ca0e76701f70c39e2e3963e3046f31ab208df
commit fe4ca0e76701f70c39e2e3963e3046f31ab208df
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-06-05 14:22:34 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-06-08 19:57:27 +0000
devel/cmake-core: Drop now obsolete patch
This patch was added 16 years ago and now doesn't really make sense. There are
only a few consumers affected by this patch and it is better to fix consumers
rather than plague all FindSDL.cmake users with extra -I${LOCALBASE}
Approved by: makc (kde)
Pull Request: https://github.com/freebsd/freebsd-ports/pull/530
---
devel/cmake-core/Makefile | 1 +
devel/cmake-core/files/patch-Modules_FindSDL.cmake | 14 --------------
2 files changed, 1 insertion(+), 14 deletions(-)
diff --git a/devel/cmake-core/Makefile b/devel/cmake-core/Makefile
index d448bcb43277..533042192c3b 100644
--- a/devel/cmake-core/Makefile
+++ b/devel/cmake-core/Makefile
@@ -1,5 +1,6 @@
PORTNAME= cmake
DISTVERSION= ${_CMAKE_VERSION}
+PORTREVISION= 1
CATEGORIES= devel
PKGNAMESUFFIX= -core
diff --git a/devel/cmake-core/files/patch-Modules_FindSDL.cmake b/devel/cmake-core/files/patch-Modules_FindSDL.cmake
deleted file mode 100644
index 250f30dba312..000000000000
--- a/devel/cmake-core/files/patch-Modules_FindSDL.cmake
+++ /dev/null
@@ -1,14 +0,0 @@
---- Modules/FindSDL.cmake.orig 2024-11-06 13:41:37 UTC
-+++ Modules/FindSDL.cmake
-@@ -127,6 +127,11 @@ endif()
- set(VC_LIB_PATH_SUFFIX lib/x86)
- endif()
-
-+# On FreeBSD SDL depends on libiconv and SDL_stdinc.h includes iconv.h, which is
-+# located in ${LOCALBASE}/include. Append {LOCALBASE}/include to
-+# the SDL_INCLUDE_DIR, thus allow to build SDL apps out of box.
-+list(APPEND SDL_INCLUDE_DIR /usr/local/include)
-+
- # SDL-1.1 is the name used by FreeBSD ports...
- # don't confuse it for the version number.
- find_library(SDL_LIBRARY_TEMP