diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2022-08-27 06:50:25 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2022-08-27 06:54:25 +0000 |
commit | 02752e01efc857153eea218bd08201147c01b408 (patch) | |
tree | b9db5e485f15d7972dd7e6f362e12db05c5385f1 | |
parent | 96068b9bcb07527ca08214633d84904873912231 (diff) | |
download | ports-02752e01efc857153eea218bd08201147c01b408.tar.gz ports-02752e01efc857153eea218bd08201147c01b408.zip |
textproc/zxing-cpp: install private header for libreoffice
Based on idea from OpenMandriva [1]
Reported by: jbeich
[1] https://github.com/OpenMandrivaAssociation/zxing-cpp/commit/ca564fe9d6d51808b40587dc0d0d16420dff51ae
-rw-r--r-- | textproc/zxing-cpp/Makefile | 1 | ||||
-rw-r--r-- | textproc/zxing-cpp/files/patch-core_CMakeLists.txt | 13 | ||||
-rw-r--r-- | textproc/zxing-cpp/pkg-plist | 1 |
3 files changed, 15 insertions, 0 deletions
diff --git a/textproc/zxing-cpp/Makefile b/textproc/zxing-cpp/Makefile index c6cc9da5f81e..c14a6e16f45b 100644 --- a/textproc/zxing-cpp/Makefile +++ b/textproc/zxing-cpp/Makefile @@ -1,6 +1,7 @@ PORTNAME= zxing-cpp DISTVERSIONPREFIX= v DISTVERSION= 1.4.0 +PORTREVISION= 1 CATEGORIES= textproc MAINTAINER= kde@FreeBSD.org diff --git a/textproc/zxing-cpp/files/patch-core_CMakeLists.txt b/textproc/zxing-cpp/files/patch-core_CMakeLists.txt new file mode 100644 index 000000000000..e323686f7010 --- /dev/null +++ b/textproc/zxing-cpp/files/patch-core_CMakeLists.txt @@ -0,0 +1,13 @@ +zxing-cpp 1.4.0 startd to only install the headers to the public interface. +Libreoffice is unfortunately depending on some internal parts. + +--- core/CMakeLists.txt.orig 2022-08-27 06:46:09 UTC ++++ core/CMakeLists.txt +@@ -141,6 +141,7 @@ set (PUBLIC_HEADERS + # define subset of public headers that get distributed with the binaries + set (PUBLIC_HEADERS + src/BarcodeFormat.h ++ src/BitArray.h # expose private header used by Libreoffice + src/BitHacks.h + src/ByteArray.h + src/CharacterSet.h diff --git a/textproc/zxing-cpp/pkg-plist b/textproc/zxing-cpp/pkg-plist index 285d0ee69186..295a60527ac9 100644 --- a/textproc/zxing-cpp/pkg-plist +++ b/textproc/zxing-cpp/pkg-plist @@ -1,4 +1,5 @@ include/ZXing/BarcodeFormat.h +include/ZXing/BitArray.h include/ZXing/BitHacks.h include/ZXing/BitMatrix.h include/ZXing/BitMatrixIO.h |