[arch-commits] Commit in poco/trunk (0001-mariadb-replace-mysql.diff PKGBUILD)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Thu Oct 14 21:20:55 UTC 2021
Date: Thursday, October 14, 2021 @ 21:20:54
Author: svenstaro
Revision: 1030204
upgpkg: poco 1.11.0-2: Fix FS#69239
Added:
poco/trunk/0001-mariadb-replace-mysql.diff
Modified:
poco/trunk/PKGBUILD
---------------------------------+
0001-mariadb-replace-mysql.diff | 12 ++++++++++++
PKGBUILD | 12 +++++++++---
2 files changed, 21 insertions(+), 3 deletions(-)
Added: 0001-mariadb-replace-mysql.diff
===================================================================
--- 0001-mariadb-replace-mysql.diff (rev 0)
+++ 0001-mariadb-replace-mysql.diff 2021-10-14 21:20:54 UTC (rev 1030204)
@@ -0,0 +1,12 @@
+diff -uNr poco/Data/MySQL/CMakeLists.txt poco_changed/Data/MySQL/CMakeLists.txt
+--- poco/Data/MySQL/CMakeLists.txt 2021-06-28 12:16:01.000000000 +0200
++++ poco_changed/Data/MySQL/CMakeLists.txt 2021-10-14 14:53:52.605311071 +0200
+@@ -21,7 +21,7 @@
+ DEFINE_SYMBOL MySQL_EXPORTS
+ )
+
+-target_link_libraries(DataMySQL PUBLIC Poco::Data MySQL::client)
++target_link_libraries(DataMySQL PUBLIC Poco::Data mariadb)
+ target_include_directories(DataMySQL
+ PUBLIC
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-14 21:20:44 UTC (rev 1030203)
+++ PKGBUILD 2021-10-14 21:20:54 UTC (rev 1030204)
@@ -7,7 +7,7 @@
pkgname=poco
pkgver=1.11.0
_pkgver=${pkgver/_/}
-pkgrel=1
+pkgrel=2
pkgdesc="C++ class libraries for network-centric, portable applications, complete edition with debug libraries"
arch=('x86_64')
url="http://www.pocoproject.org/"
@@ -14,9 +14,15 @@
license=('custom:boost')
depends=('mariadb-libs' 'openssl' 'unixodbc')
makedepends=('cmake' 'ninja')
-source=("https://pocoproject.org/releases/poco-${_pkgver%p?}/poco-${_pkgver}-all.tar.bz2")
-sha256sums=('b08cf73926fa92a6c8f3c712e8fb217d5d0c2fa5248ec0281f251fe1e925d2f1')
+source=("https://pocoproject.org/releases/poco-${_pkgver%p?}/poco-${_pkgver}-all.tar.bz2"
+ "0001-mariadb-replace-mysql.diff")
+sha256sums=('b08cf73926fa92a6c8f3c712e8fb217d5d0c2fa5248ec0281f251fe1e925d2f1'
+ '83628e398cd641d3b2a2645318c5c4a8130366673822936907446d792d3ef737')
+prepare() {
+ patch -p1 -d "poco-${_pkgver}-all" < 0001-mariadb-replace-mysql.diff
+}
+
build() {
cd "poco-${_pkgver}-all"
More information about the arch-commits
mailing list