View | Details | Raw Unified | Return to bug 228764 | Differences between
and this patch

Collapse All | Expand All

(-)devel/godot/distinfo (-3 / +3 lines)
Lines 1-5 Link Here
1
TIMESTAMP = 1520319042
1
TIMESTAMP = 1529204518
2
SHA256 (godotengine-godot-3.0.2-stable_GH0.tar.gz) = 15bc91dcbc92fe49624118678fcab119ff332dc295b25f4921700a4ee498b651
2
SHA256 (godotengine-godot-3.0.3-stable_GH0.tar.gz) = db6bf2a2cee8e058254fc0b43c38c68a5226b18315b852e266cb3b95e23618c1
3
SIZE (godotengine-godot-3.0.2-stable_GH0.tar.gz) = 18812660
3
SIZE (godotengine-godot-3.0.3-stable_GH0.tar.gz) = 18929162
4
SHA256 (godotengine-godot-demo-projects-d69cc10a0b8a_GH0.tar.gz) = b798d0bb56a643fdb175df463990904523495dd5546bc00bbe762e0645b7c94a
4
SHA256 (godotengine-godot-demo-projects-d69cc10a0b8a_GH0.tar.gz) = b798d0bb56a643fdb175df463990904523495dd5546bc00bbe762e0645b7c94a
5
SIZE (godotengine-godot-demo-projects-d69cc10a0b8a_GH0.tar.gz) = 140126782
5
SIZE (godotengine-godot-demo-projects-d69cc10a0b8a_GH0.tar.gz) = 140126782
(-)devel/godot/files/patch-drivers_unix_os__unix.cpp (-11 lines)
Lines 1-11 Link Here
1
--- drivers/unix/os_unix.cpp.orig	2018-02-01 19:27:25 UTC
2
+++ drivers/unix/os_unix.cpp
3
@@ -235,7 +235,7 @@ OS::TimeZoneInfo OS_Unix::get_time_zone_
4
 
5
 void OS_Unix::delay_usec(uint32_t p_usec) const {
6
 
7
-	struct timespec rem = { p_usec / 1000000, (p_usec % 1000000) * 1000 };
8
+	struct timespec rem = { time_t(p_usec) / 1000000, (long(p_usec) % 1000000) * 1000 };
9
 	while (nanosleep(&rem, &rem) == EINTR) {
10
 	}
11
 }
(-)devel/godot/files/patch-modules_enet_SCsub (+11 lines)
Line 0 Link Here
1
--- modules/enet/SCsub.orig	2018-06-13 11:43:18 UTC
2
+++ modules/enet/SCsub
3
@@ -22,7 +22,7 @@ if env['builtin_enet']:
4
     thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
5
 
6
     env_enet.add_source_files(env.modules_sources, thirdparty_sources)
7
-    env_enet.Append(CPPPATH=[thirdparty_dir])
8
+    env_enet.Prepend(CPPPATH=[thirdparty_dir])
9
     env_enet.Append(CPPFLAGS=["-DGODOT_ENET"])
10
 
11
 env_enet.add_source_files(env.modules_sources, "*.cpp")
(-)devel/godot/files/patch-modules_squish_SCsub (+11 lines)
Line 0 Link Here
1
--- modules/squish/SCsub.orig	2018-06-13 12:02:27 UTC
2
+++ modules/squish/SCsub
3
@@ -23,7 +23,7 @@ if env['builtin_squish']:
4
     thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
5
 
6
     env_squish.add_source_files(env.modules_sources, thirdparty_sources)
7
-    env_squish.Append(CPPPATH=[thirdparty_dir])
8
+    env_squish.Prepend(CPPPATH=[thirdparty_dir])
9
 
10
 # Godot source files
11
 env_squish.add_source_files(env.modules_sources, "*.cpp")
(-)devel/godot/files/patch-platform_x11_detect.py (-5 / +10 lines)
Lines 1-7 Link Here
1
--- platform/x11/detect.py.orig	2017-12-28 05:14:45 UTC
1
--- platform/x11/detect.py.orig	2018-03-04 00:52:04 UTC
2
+++ platform/x11/detect.py
2
+++ platform/x11/detect.py
3
@@ -52,7 +52,9 @@ def get_opts():
3
@@ -52,7 +52,9 @@ def get_opts():
4
         BoolVariable('use_static_cpp', 'Link stdc++ statically', False),
4
         BoolVariable('use_static_cpp', 'Link libgcc and libstdc++ statically for better portability', False),
5
         BoolVariable('use_sanitizer', 'Use LLVM compiler address sanitizer', False),
5
         BoolVariable('use_sanitizer', 'Use LLVM compiler address sanitizer', False),
6
         BoolVariable('use_leak_sanitizer', 'Use LLVM compiler memory leaks sanitizer (implies use_sanitizer)', False),
6
         BoolVariable('use_leak_sanitizer', 'Use LLVM compiler memory leaks sanitizer (implies use_sanitizer)', False),
7
-        BoolVariable('pulseaudio', 'Detect & use pulseaudio', True),
7
-        BoolVariable('pulseaudio', 'Detect & use pulseaudio', True),
Lines 11-26 Link Here
11
         BoolVariable('udev', 'Use udev for gamepad connection callbacks', False),
11
         BoolVariable('udev', 'Use udev for gamepad connection callbacks', False),
12
         EnumVariable('debug_symbols', 'Add debug symbols to release version', 'yes', ('yes', 'no', 'full')),
12
         EnumVariable('debug_symbols', 'Add debug symbols to release version', 'yes', ('yes', 'no', 'full')),
13
         BoolVariable('separate_debug_symbols', 'Create a separate file with the debug symbols', False),
13
         BoolVariable('separate_debug_symbols', 'Create a separate file with the debug symbols', False),
14
@@ -154,7 +156,7 @@ def configure(env):
14
@@ -154,7 +156,12 @@ def configure(env):
15
     # FIXME: Check for existence of the libs before parsing their flags with pkg-config
15
     # FIXME: Check for existence of the libs before parsing their flags with pkg-config
16
 
16
 
17
     if not env['builtin_openssl']:
17
     if not env['builtin_openssl']:
18
-        env.ParseConfig('pkg-config openssl --cflags --libs')
18
-        env.ParseConfig('pkg-config openssl --cflags --libs')
19
+        env.ParseConfig('echo -lssl -lcrypto')
19
+        try:
20
+            # try to find a port installed openssl
21
+            env.ParseConfig('pkg-config openssl --cflags --libs')
22
+        except:
23
+            # if none found use base system openssl
24
+            env.ParseConfig('echo -lssl -lcrypto')
20
 
25
 
21
     if not env['builtin_libwebp']:
26
     if not env['builtin_libwebp']:
22
         env.ParseConfig('pkg-config libwebp --cflags --libs')
27
         env.ParseConfig('pkg-config libwebp --cflags --libs')
23
@@ -226,12 +228,18 @@ def configure(env):
28
@@ -226,12 +233,18 @@ def configure(env):
24
 
29
 
25
     ## Flags
30
     ## Flags
26
 
31
 
(-)devel/godot/files/patch-scene_gui_rich__text__label.cpp (-14 lines)
Lines 1-14 Link Here
1
--- scene/gui/rich_text_label.cpp.orig	2018-01-10 13:20:47 UTC
2
+++ scene/gui/rich_text_label.cpp
3
@@ -806,9 +806,9 @@ void RichTextLabel::_gui_input(Ref<Input
4
 							// Erase previous selection.
5
 							if (selection.active) {
6
 								selection.from = NULL;
7
-								selection.from_char = NULL;
8
+								selection.from_char = 0;
9
 								selection.to = NULL;
10
-								selection.to_char = NULL;
11
+								selection.to_char = 0;
12
 								selection.active = false;
13
 
14
 								update();
(-)devel/godot/files/patch-thirdparty_zstd_SCsub (+9 lines)
Line 0 Link Here
1
--- thirdparty/zstd/SCsub.orig	2018-06-13 11:53:45 UTC
2
+++ thirdparty/zstd/SCsub
3
@@ -25,5 +25,5 @@ thirdparty_zstd_sources = [
4
 ]
5
 thirdparty_zstd_sources = [thirdparty_zstd_dir + file for file in thirdparty_zstd_sources]
6
 env.add_source_files(env.core_sources, thirdparty_zstd_sources)
7
-env.Append(CPPPATH=["#thirdparty/zstd", "#thirdparty/zstd/common"])
8
+env.Prepend(CPPPATH=["#thirdparty/zstd", "#thirdparty/zstd/common"])
9
 env.Append(CCFLAGS="-DZSTD_STATIC_LINKING_ONLY")
(-)devel/godot/Makefile (-5 / +9 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	godot
4
PORTNAME=	godot
5
PORTVERSION=	3.0.2
5
PORTVERSION=	3.0.3
6
DISTVERSIONSUFFIX= -stable
6
DISTVERSIONSUFFIX= -stable
7
CATEGORIES=	devel games
7
CATEGORIES=	devel games
8
8
Lines 14-19 Link Here
14
LICENSE_FILE_CC-BY-3.0=	${WRKSRC}/LOGO_LICENSE.md
14
LICENSE_FILE_CC-BY-3.0=	${WRKSRC}/LOGO_LICENSE.md
15
LICENSE_FILE_MIT=	${WRKSRC}/LICENSE.txt
15
LICENSE_FILE_MIT=	${WRKSRC}/LICENSE.txt
16
16
17
BROKEN_aarch64=	fails to build: KeyError: 'android_arch'
18
BROKEN_armv6=	fails to build: KeyError: 'android_arch'
19
BROKEN_armv7=	fails to build: KeyError: 'android_arch'
20
17
BUILD_DEPENDS=	yasm:devel/yasm
21
BUILD_DEPENDS=	yasm:devel/yasm
18
LIB_DEPENDS=	libfreetype.so:print/freetype2 \
22
LIB_DEPENDS=	libfreetype.so:print/freetype2 \
19
		libpng.so:graphics/png
23
		libpng.so:graphics/png
Lines 21-36 Link Here
21
		xdg-open:devel/xdg-utils \
25
		xdg-open:devel/xdg-utils \
22
		xmessage:x11/xmessage
26
		xmessage:x11/xmessage
23
27
24
USE_GITHUB=	yes
25
GH_ACCOUNT=	godotengine
26
27
# on 10.4 using clang34 fails - so we want to use clang60
28
# on 10.4 using clang34 fails - so we want to use clang60
28
# gl already needs clang60 so this shouldn't add any overhead
29
# gl already needs clang60 so this shouldn't add any overhead
29
USES=		compiler:c++14-lang pkgconfig scons ssl
30
USES=		compiler:c++14-lang pkgconfig scons ssl
30
USE_XORG=	x11 xcursor xi xinerama xrandr
31
USE_XORG=	x11 xcursor xi xinerama xrandr
31
USE_GL=		gl glew glu
32
USE_GL=		gl glew glu
32
33
33
MAKE_ARGS+=		platform=x11 builtin_libpng=False builtin_openssl=False verbose=True
34
USE_GITHUB=	yes
35
GH_ACCOUNT=	godotengine
36
37
MAKE_ARGS+=		platform=x11 builtin_libpng=False builtin_openssl=False
34
MAKE_ARGS+=		${MAKE_ARGS_${CHOSEN_COMPILER_TYPE}}
38
MAKE_ARGS+=		${MAKE_ARGS_${CHOSEN_COMPILER_TYPE}}
35
MAKE_ARGS_clang=	use_llvm=True
39
MAKE_ARGS_clang=	use_llvm=True
36
CXXFLAGS+=		-DRTAUDIO_ENABLED
40
CXXFLAGS+=		-DRTAUDIO_ENABLED

Return to bug 228764