SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,16 @@
Index: cmake/modules/Compiler.cmake
--- cmake/modules/Compiler.cmake.orig
+++ cmake/modules/Compiler.cmake
@@ -4,9 +4,10 @@ IF ( WIN32 )
SET( SYMBOLS_VISIBILITY "" )
ENDIF ( WIN32 )
-IF ( CMAKE_COMPILER_IS_GNUCC )
+IF ((CMAKE_COMPILER_IS_GNUCC) OR (CMAKE_C_COMPILER_ID MATCHES "Clang") OR (CMAKE_CXX_COMPILER_ID MATCHES "Clang"))
SET( SYMBOLS_VISIBILITY "-fvisibility=hidden" )
-ENDIF ( CMAKE_COMPILER_IS_GNUCC )
+ENDIF ((CMAKE_COMPILER_IS_GNUCC) OR (CMAKE_C_COMPILER_ID MATCHES "Clang") OR (CMAKE_CXX_COMPILER_ID MATCHES "
+Clang"))
IF (CMAKE_SYSTEM MATCHES "SunOS-5*.")
SET( SYMBOLS_VISIBILITY "-xldscope=hidden" )

View file

@ -0,0 +1,8 @@
--- opensync-1.0.pc.in.orig Sat Jan 12 16:11:24 2008
+++ opensync-1.0.pc.in Sat Jan 12 16:32:56 2008
@@ -14,4 +14,4 @@ Name: opensync
Description: OpenSync synchronization framework
Version: ${OPENSYNC_VERSION}
Libs: -L${LIB_INSTALL_DIR} -lopensync
-Cflags: -I${INCLUDE_INSTALL_DIR}/${OPENSYNC_API_DIR}
+Cflags: -I${includedir}/glib-2.0 -I${INCLUDE_INSTALL_DIR}/${OPENSYNC_API_DIR}

View file

@ -0,0 +1,14 @@
stolen from a more recent version
Index: opensync/opensync_error.c
--- opensync/opensync_error.c.orig
+++ opensync/opensync_error.c
@@ -111,7 +111,7 @@ const char *osync_error_get_name(OSyncError **error)
OSyncError **osync_error_ref(OSyncError **error)
{
if (!osync_error_is_set(error))
- return;
+ return error;
g_atomic_int_inc(&(*error)->ref_count);

View file

@ -0,0 +1,13 @@
error: #error "Only <glib.h> can be included directly."
--- opensync/opensync_list.c.orig Fri Mar 23 07:48:25 2012
+++ opensync/opensync_list.c Fri Mar 23 07:48:36 2012
@@ -30,7 +30,7 @@
* MT safe
*/
-#include <glib/gmem.h>
+#include <glib.h>
#include "opensync_list.h"
#include "opensync_internals.h"