1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00

- Unbreak on 7.X

Submitted by:	maintainer
Feature safe:	yes
This commit is contained in:
Pav Lucistnik 2011-11-14 09:12:38 +00:00
parent 99586b508d
commit cb0646e89b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285764
5 changed files with 16 additions and 21 deletions

View File

@ -1,9 +1,10 @@
--- ./src/lib/fcitx-utils/utils.c.orig 2011-10-02 05:43:11.000000000 -0500
+++ ./src/lib/fcitx-utils/utils.c 2011-11-09 21:15:42.497306506 -0600
@@ -249,4 +249,21 @@ char* fcitx_get_process_name()
--- src/lib/fcitx-utils/utils.c.orig 2011-10-02 05:43:11.000000000 -0500
+++ src/lib/fcitx-utils/utils.c 2011-11-13 16:32:39.627873790 -0600
@@ -249,4 +249,22 @@ char* fcitx_get_process_name()
#endif
}
+FCITX_EXPORT_API
+ssize_t getline(char ** p, size_t * cap, FILE * fp) {
+ ssize_t l;
+ if (!*cap && (*p = malloc(128))) *cap = 128;

View File

@ -1,12 +1,10 @@
--- src/lib/fcitx-config/CMakeLists.txt.orig 2011-10-02 05:43:11.000000000 -0500
+++ src/lib/fcitx-config/CMakeLists.txt 2011-11-09 23:47:47.999482381 -0600
@@ -14,8 +14,8 @@ set(FCITX_CONFIG_HEADERS
add_library(fcitx-config SHARED ${FCITX_CONFIG_SOURCES})
+++ src/lib/fcitx-config/CMakeLists.txt 2011-11-13 16:02:26.681232301 -0600
@@ -15,7 +15,7 @@ add_library(fcitx-config SHARED ${FCITX_
target_link_libraries(fcitx-config fcitx-utils)
set_target_properties(fcitx-config
- PROPERTIES VERSION 4.1.0
PROPERTIES VERSION 4.1.0
- SOVERSION 4.1
+ PROPERTIES VERSION 4.1
+ SOVERSION 4
COMPILE_FLAGS "-fvisibility=hidden"
LINK_FLAGS "-Wl,--no-undefined"

View File

@ -1,12 +1,10 @@
--- src/lib/fcitx-utils/CMakeLists.txt.orig 2011-10-02 05:43:11.000000000 -0500
+++ src/lib/fcitx-utils/CMakeLists.txt 2011-11-09 23:48:04.469816075 -0600
@@ -20,8 +20,8 @@ endif (LIBKVM_FOUND)
+++ src/lib/fcitx-utils/CMakeLists.txt 2011-11-13 16:02:51.201489333 -0600
@@ -21,7 +21,7 @@ endif (LIBKVM_FOUND)
add_library(fcitx-utils SHARED ${FCITX_UTILS_SOURCES})
set_target_properties(fcitx-utils
- PROPERTIES VERSION 0.1.0
PROPERTIES VERSION 0.1.0
- SOVERSION 0.1
+ PROPERTIES VERSION 0.1
+ SOVERSION 0
COMPILE_FLAGS "-fvisibility=hidden"
LINK_FLAGS "-Wl,--no-undefined"

View File

@ -1,12 +1,10 @@
--- src/lib/fcitx/CMakeLists.txt.orig 2011-10-02 05:43:11.000000000 -0500
+++ src/lib/fcitx/CMakeLists.txt 2011-11-09 23:45:35.930811384 -0600
@@ -31,8 +31,8 @@ link_directories(${DL_LIBRARY_DIRS} ${PT
+++ src/lib/fcitx/CMakeLists.txt 2011-11-13 16:01:32.246665458 -0600
@@ -32,7 +32,7 @@ link_directories(${DL_LIBRARY_DIRS} ${PT
add_library(fcitx-core SHARED ${LIBFCITX_SOURCES})
set_target_properties(fcitx-core
- PROPERTIES VERSION 0.2.0
PROPERTIES VERSION 0.2.0
- SOVERSION 0.2
+ PROPERTIES VERSION 0.2
+ SOVERSION 0
COMPILE_FLAGS "-fvisibility=hidden"
LINK_FLAGS "-Wl,--no-undefined"

View File

@ -54,13 +54,13 @@ lib/fcitx/fcitx-x11.so
lib/fcitx/fcitx-xim.so
lib/libfcitx-config.so
lib/libfcitx-config.so.4
lib/libfcitx-config.so.4.1
lib/libfcitx-config.so.4.1.0
lib/libfcitx-core.so
lib/libfcitx-core.so.0
lib/libfcitx-core.so.0.2
lib/libfcitx-core.so.0.2.0
lib/libfcitx-utils.so
lib/libfcitx-utils.so.0
lib/libfcitx-utils.so.0.1
lib/libfcitx-utils.so.0.1.0
libdata/pkgconfig/fcitx-config.pc
libdata/pkgconfig/fcitx-utils.pc
libdata/pkgconfig/fcitx.pc