SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
16
devel/libopensync/patches/patch-cmake_modules_Compiler_cmake
Normal file
16
devel/libopensync/patches/patch-cmake_modules_Compiler_cmake
Normal 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" )
|
8
devel/libopensync/patches/patch-opensync-1_0_pc_in
Normal file
8
devel/libopensync/patches/patch-opensync-1_0_pc_in
Normal 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}
|
14
devel/libopensync/patches/patch-opensync_opensync_error_c
Normal file
14
devel/libopensync/patches/patch-opensync_opensync_error_c
Normal 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);
|
||||
|
13
devel/libopensync/patches/patch-opensync_opensync_list_c
Normal file
13
devel/libopensync/patches/patch-opensync_opensync_list_c
Normal 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"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue