mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Update patches for cmake 2.8.11 and 2.8-git to include some of our changes that are not merged yet.
(cherry picked from commit d2acf18c1e)
Conflicts:
dev-util/cmake/patches/cmake-2.8-git.patch
This commit is contained in:
committed by
Oliver Tappe
parent
a946574571
commit
a87953b834
@@ -1,4 +1,40 @@
|
||||
diff -urN cmake-2.8.11.2-orig/Modules/Platform/Haiku.cmake cmake-2.8.11.2/Modules/Platform/Haiku.cmake
|
||||
--- cmake-2.8.11.2-orig/Modules/FindFreetype.cmake 2012-11-27 13:26:32.037486592 +0000
|
||||
+++ cmake-2.8.11.2/Modules/FindFreetype.cmake 2013-02-10 23:15:25.000000000 +0000
|
||||
@@ -46,20 +46,22 @@
|
||||
HINTS
|
||||
ENV FREETYPE_DIR
|
||||
PATHS
|
||||
+ /boot/develop/headers
|
||||
/usr/local/X11R6
|
||||
/usr/local/X11
|
||||
/usr/freeware
|
||||
- PATH_SUFFIXES include/freetype2 include
|
||||
+ PATH_SUFFIXES include/freetype2 include 3rdparty
|
||||
)
|
||||
|
||||
find_path(FREETYPE_INCLUDE_DIR_freetype2 freetype/config/ftheader.h
|
||||
HINTS
|
||||
ENV FREETYPE_DIR
|
||||
PATHS
|
||||
+ /boot/develop/headers
|
||||
/usr/local/X11R6
|
||||
/usr/local/X11
|
||||
/usr/freeware
|
||||
- PATH_SUFFIXES include/freetype2 include
|
||||
+ PATH_SUFFIXES include/freetype2 include 3rdparty/freetype2 3rdparty
|
||||
)
|
||||
|
||||
find_library(FREETYPE_LIBRARY
|
||||
@@ -68,6 +70,7 @@
|
||||
ENV FREETYPE_DIR
|
||||
PATH_SUFFIXES lib
|
||||
PATHS
|
||||
+ /boot/system/lib
|
||||
/usr/local/X11R6
|
||||
/usr/local/X11
|
||||
/usr/freeware
|
||||
|
||||
--- cmake-2.8.11.2-orig/Modules/Platform/Haiku.cmake 2012-12-03 12:11:47.804519936 -0800
|
||||
+++ cmake-2.8.11.2/Modules/Platform/Haiku.cmake 2012-12-03 12:02:17.652738560 -0800
|
||||
@@ -1,20 +1,25 @@
|
||||
@@ -211,19 +247,3 @@ diff -urN cmake-2.8.11.2-orig/Utilities/cmzlib/zconf.h cmake-2.8.11.2/Utilities/
|
||||
# ifdef ZLIB_DLL
|
||||
# ifdef ZLIB_INTERNAL
|
||||
# define ZEXPORT __declspec(dllexport)
|
||||
diff -urN cmake-2.8.11.2-orig/Utilities/cmzlib/zutil.h cmake-2.8.11.2/Utilities/cmzlib/zutil.h
|
||||
--- cmake-2.8.11.2-orig/Utilities/cmzlib/zutil.h 2012-11-27 05:26:34.022806528 -0800
|
||||
+++ cmake-2.8.11.2/Utilities/cmzlib/zutil.h 2012-12-03 12:02:42.195559424 -0800
|
||||
@@ -147,12 +147,6 @@
|
||||
# define OS_CODE 0x0f
|
||||
#endif
|
||||
|
||||
-/* Haiku defines both __HAIKU__ and __BEOS__ (for now) */
|
||||
-/* many BeOS workarounds are no longer needed in Haiku */
|
||||
-#if defined(__HAIKU__) && defined(__BEOS__)
|
||||
-#undef __BEOS__
|
||||
-#endif
|
||||
-
|
||||
#if defined(_BEOS_) || defined(RISCOS)
|
||||
# define fdopen(fd,mode) NULL /* No fdopen() */
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user