aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2021-09-11 14:57:58 +0000
committerRene Ladan <rene@FreeBSD.org>2021-09-30 21:23:30 +0000
commit620968a43a5f9bb3fa98ab20f257a4c0d864caa7 (patch)
tree09bef799707f4b6e715b912429bd3b73c1addf4c /chinese
parentb9a93c0bf4778b9ec327c1be6f819eb1ff90ec19 (diff)
downloadports-620968a43a5f9bb3fa98ab20f257a4c0d864caa7.tar.gz
ports-620968a43a5f9bb3fa98ab20f257a4c0d864caa7.zip
cleanup: drop support for EOL FreeBSD 11.X
Search criteria used: - 11.4 - OSREL* - OSVER* - *_FreeBSD_11 Input from: - adridg: devel/qca-legacy - jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds - sunpoet: security/p5-*OpenSSL* Reviewed by: doceng, kde, multimedia, perl, python, ruby, rust Differential Revision: https://reviews.freebsd.org/D32008 Test Plan: make index
Diffstat (limited to 'chinese')
-rw-r--r--chinese/fcitx-libpinyin/files/patch-src__CMakeLists.txt10
-rw-r--r--chinese/ibus-libpinyin/files/patch-src_PYLibPinyin.cc5
-rw-r--r--chinese/libpinyin/Makefile2
3 files changed, 3 insertions, 14 deletions
diff --git a/chinese/fcitx-libpinyin/files/patch-src__CMakeLists.txt b/chinese/fcitx-libpinyin/files/patch-src__CMakeLists.txt
deleted file mode 100644
index 5a1d19c76611..000000000000
--- a/chinese/fcitx-libpinyin/files/patch-src__CMakeLists.txt
+++ /dev/null
@@ -1,10 +0,0 @@
---- ./src/CMakeLists.txt.orig 2013-07-16 05:34:05.000000000 +0900
-+++ ./src/CMakeLists.txt 2014-03-19 15:51:24.000000000 +0900
-@@ -22,6 +22,7 @@
- )
-
- add_definitions( -DLOCALEDIR=\"${CMAKE_INSTALL_PREFIX}/share/locale\" )
-+add_definitions( -D_WITH_GETLINE )
-
- fcitx_add_addon_full(libpinyin DESC
- SOURCES ${fcitx_libpinyin_sources}
diff --git a/chinese/ibus-libpinyin/files/patch-src_PYLibPinyin.cc b/chinese/ibus-libpinyin/files/patch-src_PYLibPinyin.cc
index 9fbac7843ef2..d2185f29451c 100644
--- a/chinese/ibus-libpinyin/files/patch-src_PYLibPinyin.cc
+++ b/chinese/ibus-libpinyin/files/patch-src_PYLibPinyin.cc
@@ -1,10 +1,9 @@
---- src/PYLibPinyin.cc.orig 2015-01-23 04:57:48 UTC
+--- src/PYLibPinyin.cc.orig 2018-06-27 03:08:59 UTC
+++ src/PYLibPinyin.cc
-@@ -21,6 +21,8 @@
+@@ -21,6 +21,7 @@
#include "PYLibPinyin.h"
-+#define _WITH_GETLINE
+#include <stdio.h>
#include <string.h>
#include <pinyin.h>
diff --git a/chinese/libpinyin/Makefile b/chinese/libpinyin/Makefile
index 4f96ddd947c7..64aabe0140b7 100644
--- a/chinese/libpinyin/Makefile
+++ b/chinese/libpinyin/Makefile
@@ -17,7 +17,7 @@ GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS+=CPPFLAGS="-I${LOCALBASE}/include \
- -I${BDB_INCLUDE_DIR} -D_WITH_GETLINE" \
+ -I${BDB_INCLUDE_DIR}" \
LDFLAGS="-L${LOCALBASE}/lib -l${BDB_LIB_NAME}"
INSTALL_TARGET=install-strip