diff options
Diffstat (limited to 'sysutils')
4 files changed, 73 insertions, 0 deletions
diff --git a/sysutils/accounts-qml-module/files/patch-doc_accounts-qml-module-common.qdocconf b/sysutils/accounts-qml-module/files/patch-doc_accounts-qml-module-common.qdocconf new file mode 100644 index 000000000000..61dc36b7f0d9 --- /dev/null +++ b/sysutils/accounts-qml-module/files/patch-doc_accounts-qml-module-common.qdocconf @@ -0,0 +1,15 @@ +Fix docs build on CURRENT. qdoc needs to be supplied with the path to +the headers via 'includepaths'. + +PR: 287614 + +--- doc/accounts-qml-module-common.qdocconf.orig 2023-10-28 16:29:37 UTC ++++ doc/accounts-qml-module-common.qdocconf +@@ -5,6 +5,7 @@ headerdirs = ../src + outputdir = html + outputformats = HTML + headerdirs = ../src ++includepaths = ../src + sourcedirs = ../src + sources.fileextensions = "*.qml *.qdoc *.cpp" + exampledirs = ./examples diff --git a/sysutils/bacnet-stack-apps/Makefile b/sysutils/bacnet-stack-apps/Makefile index dce98d691dc0..f6dc56ca23a9 100644 --- a/sysutils/bacnet-stack-apps/Makefile +++ b/sysutils/bacnet-stack-apps/Makefile @@ -1,5 +1,6 @@ PORTNAME= bacnet-stack PORTVERSION= 1.4.1 +PORTREVISION= 1 CATEGORIES= sysutils PKGNAMESUFFIX= -apps diff --git a/sysutils/bacnet-stack-apps/files/patch-CMakeLists.txt b/sysutils/bacnet-stack-apps/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..ea54510ad534 --- /dev/null +++ b/sysutils/bacnet-stack-apps/files/patch-CMakeLists.txt @@ -0,0 +1,44 @@ +--- CMakeLists.txt.orig 2025-06-23 23:19:03 UTC ++++ CMakeLists.txt +@@ -834,10 +834,40 @@ elseif(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") + + target_sources(${PROJECT_NAME} PRIVATE + ports/bsd/bacport.h +- ports/bsd/bip-init.c ++ $<$<BOOL:${BACDL_BIP}>:ports/bsd/bip-init.c> ++ $<$<BOOL:${BACDL_BIP6}>:ports/bsd/bip6.c> ++ $<$<BOOL:${BACDL_MSTP}>:ports/bsd/rs485.c> ++ $<$<BOOL:${BACDL_MSTP}>:ports/bsd/rs485.h> ++ $<$<BOOL:${BACDL_MSTP}>:ports/bsd/dlmstp.c> + ports/bsd/datetime-init.c + ports/bsd/mstimer-init.c ++ $<$<BOOL:${BACDL_BSC}>:ports/bsd/bsc-event.c> ++ $<$<BOOL:${BACDL_BSC}>:ports/bsd/websocket-cli.c> ++ $<$<BOOL:${BACDL_BSC}>:ports/bsd/websocket-srv.c> ++ $<$<BOOL:${BACDL_BSC}>:ports/bsd/websocket-global.c> + ports/bsd/stdbool.h) ++ ++ if(BACDL_ETHERNET) ++ FIND_PATH(PCAP_INCLUDE pcap.h) ++ if(NOT PCAP_INCLUDE) ++ message(WARNING "BACNET: pcap.h header file not found") ++ else() ++ message(STATUS "BACNET: pcap Include:...................\"${PCAP_INCLUDE}\"") ++ endif() ++ FIND_LIBRARY(PCAP_LIBRARIES NAMES pcap) ++ if(NOT PCAP_LIBRARIES) ++ message(WARNING "BACNET: libpcap not found") ++ else() ++ message(STATUS "BACNET: pcap Lib:.......................\"${PCAP_LIBRARIES}\"") ++ endif() ++ if(PCAP_INCLUDE AND PCAP_LIBRARIES) ++ include_directories(${PCAP_INCLUDE}) ++ link_libraries(${PCAP_LIBRARIES}) ++ target_sources(${PROJECT_NAME} PRIVATE ++ ports/bsd/ethernet.c ++ ) ++ endif() ++ endif() + endif() + + target_include_directories(${PROJECT_NAME} PUBLIC diff --git a/sysutils/bacnet-stack-apps/files/patch-ports_bsd_bip6.c b/sysutils/bacnet-stack-apps/files/patch-ports_bsd_bip6.c new file mode 100644 index 000000000000..dc7e62205a6c --- /dev/null +++ b/sysutils/bacnet-stack-apps/files/patch-ports_bsd_bip6.c @@ -0,0 +1,13 @@ +--- ports/bsd/bip6.c.orig 2025-06-28 19:56:23 UTC ++++ ports/bsd/bip6.c +@@ -22,8 +22,8 @@ + #endif + #include "bacport.h" + +-#if defined(__APPLE__) || defined(__darwin__) +-/* OSX seems not to define these. */ ++#if defined(__APPLE__) || defined(__darwin__) || defined(__FreeBSD__) ++/* FreeBSD 13.x and OSX seems not to define these. */ + #ifndef s6_addr16 + #define s6_addr16 __u6_addr.__u6_addr16 + #endif |