|
| 1 | +diff --git a/BSEAV/lib/gpu/include/EGL/eglplatform.h b/BSEAV/lib/gpu/include/EGL/eglplatform.h |
| 2 | +index b71c2d19a..2e9fe7f2e 100644 |
| 3 | +--- a/BSEAV/lib/gpu/include/EGL/eglplatform.h |
| 4 | ++++ b/BSEAV/lib/gpu/include/EGL/eglplatform.h |
| 5 | +@@ -95,6 +95,8 @@ typedef void* EGLNativeDisplayType; |
| 6 | + |
| 7 | + #elif defined(__unix__) |
| 8 | + |
| 9 | ++#define BROADCOM_PLATFORM 1 |
| 10 | ++ |
| 11 | + #ifdef BROADCOM_PLATFORM |
| 12 | + |
| 13 | + typedef void *EGLNativeDisplayType; |
| 14 | +diff --git a/BSEAV/lib/gpu/vc5/platform/nexus/platform_nexus_common.mk b/BSEAV/lib/gpu/vc5/platform/nexus/platform_nexus_common.mk |
| 15 | +index fc37e4408..8a7c0121b 100644 |
| 16 | +--- a/BSEAV/lib/gpu/vc5/platform/nexus/platform_nexus_common.mk |
| 17 | ++++ b/BSEAV/lib/gpu/vc5/platform/nexus/platform_nexus_common.mk |
| 18 | +@@ -82,7 +82,6 @@ CFLAGS += \ |
| 19 | + -mfpu=neon |
| 20 | + endif |
| 21 | + |
| 22 | +-LDFLAGS += -Wl,--no-undefined |
| 23 | + LDFLAGS += -L$(V3DDRIVER_LIB_TARGET) -lv3ddriver -lpthread |
| 24 | + |
| 25 | + ifeq ($(V3D_DEBUG),y) |
| 26 | +@@ -135,9 +134,7 @@ OUTDIR : |
| 27 | + |
| 28 | + .phony: V3DDriver |
| 29 | + V3DDriver: |
| 30 | +- $(Q)$(MAKE) --no-print-directory -C $(V3D_DIR) -f V3DDriver.mk \ |
| 31 | +- OBJDIR=$(V3DDRIVER_OBJ_TARGET) LIBDIR=$(V3DDRIVER_LIB_TARGET) \ |
| 32 | +- NEXUS_BIN_DIR=$(NEXUS_BIN_DIR) $(MAKECMDGOALS) |
| 33 | ++ $(Q)$(MAKE) --no-print-directory -C $(V3D_DIR) -f V3DDriver.mk $(MAKECMDGOALS) |
| 34 | + |
| 35 | + # $(1) = src |
| 36 | + # $(2) = obj |
| 37 | +diff --git a/magnum/basemodules/dbg/bdbg.h b/magnum/basemodules/dbg/bdbg.h |
| 38 | +index db4f40495..fa9046659 100644 |
| 39 | +--- a/magnum/basemodules/dbg/bdbg.h |
| 40 | ++++ b/magnum/basemodules/dbg/bdbg.h |
| 41 | +@@ -957,7 +957,7 @@ See Also: |
| 42 | + #else |
| 43 | + #define BDBG_ASSERT(expr) (expr) ? (void) 0 : BDBG_P_AssertFailed(#expr, BSTD_FILE, BSTD_LINE) |
| 44 | + #endif |
| 45 | +-#define BDBG_CASSERT(expr) do switch(0){case 0: case (expr):;} while(0) |
| 46 | ++#define BDBG_CASSERT(expr) do switch(0){case (expr):;} while(0) |
| 47 | + #define BDBG_CWARNING(expr) do {if(0){int unused = 1/(expr);unused++;}} while(0) |
| 48 | + #define BDBG_CWARNING_EXPR(expr) ((1/(expr)) ? 0 : 0) |
| 49 | + |
| 50 | +diff --git a/nexus/nxclient/apps/Makefile b/nexus/nxclient/apps/Makefile |
| 51 | +index 8b46518ce..2d2055625 100644 |
| 52 | +--- a/nexus/nxclient/apps/Makefile |
| 53 | ++++ b/nexus/nxclient/apps/Makefile |
| 54 | +@@ -52,7 +52,6 @@ BASIC_BUILD_APPS = \ |
| 55 | + audio_fade \ |
| 56 | + audio_fade_toggle \ |
| 57 | + audio_karaoke \ |
| 58 | +- audio_presentation \ |
| 59 | + audio_wav_convert \ |
| 60 | + best_effort_bvn_status \ |
| 61 | + blit_client \ |
| 62 | +diff --git a/nexus/nxclient/server/nxserverlib.c b/nexus/nxclient/server/nxserverlib.c |
| 63 | +index aeae7d977..6ed304edf 100644 |
| 64 | +--- a/nexus/nxclient/server/nxserverlib.c |
| 65 | ++++ b/nexus/nxclient/server/nxserverlib.c |
| 66 | +@@ -4080,6 +4080,11 @@ void nxserverlib_get_settings(nxserver_t server, struct nxserver_settings *setti |
| 67 | + } |
| 68 | + |
| 69 | + nxserver_t nxserverlib_init(const struct nxserver_settings *settings) |
| 70 | ++{ |
| 71 | ++ return (nxserverlib_init_extended(settings, true)); |
| 72 | ++} |
| 73 | ++ |
| 74 | ++nxserver_t nxserverlib_init_extended(const struct nxserver_settings *settings, const bool authorizedOnly) |
| 75 | + { |
| 76 | + NEXUS_PlatformStartServerSettings serverSettings; |
| 77 | + NEXUS_Error rc; |
| 78 | +@@ -4154,7 +4159,7 @@ nxserver_t nxserverlib_init(const struct nxserver_settings *settings) |
| 79 | + BKNI_ReleaseMutex(server->settings.lock); |
| 80 | + |
| 81 | + NEXUS_Platform_GetDefaultStartServerSettings(&serverSettings); |
| 82 | +- serverSettings.allowUnauthenticatedClients = false; |
| 83 | ++ serverSettings.allowUnauthenticatedClients = !authorizedOnly; |
| 84 | + rc = NEXUS_Platform_StartServer(&serverSettings); |
| 85 | + BDBG_ASSERT(!rc); |
| 86 | + |
| 87 | +diff --git a/nexus/nxclient/server/nxserverlib.h b/nexus/nxclient/server/nxserverlib.h |
| 88 | +index f7457a3a1..cd976504e 100644 |
| 89 | +--- a/nexus/nxclient/server/nxserverlib.h |
| 90 | ++++ b/nexus/nxclient/server/nxserverlib.h |
| 91 | +@@ -362,6 +362,7 @@ struct nxserver_cmdline_settings |
| 92 | + /* nxserver_lib.c API */ |
| 93 | + void nxserver_get_default_settings(struct nxserver_settings *settings); |
| 94 | + nxserver_t nxserverlib_init(const struct nxserver_settings *settings); |
| 95 | ++nxserver_t nxserverlib_init_extended(const struct nxserver_settings *settings, const bool authorizedOnly); |
| 96 | + void nxserverlib_uninit(nxserver_t server); |
| 97 | + struct b_session *nxserver_get_client_session(nxclient_t client); |
| 98 | + /* get_singleton is used for nxclient local to use externally opened nxserverlib */ |
0 commit comments