[arch-commits] Commit in ibm-sw-tpm2/trunk (PKGBUILD)

Jonas Witschel diabonas at gemini.archlinux.org
Mon Mar 21 22:21:49 UTC 2022


    Date: Monday, March 21, 2022 @ 22:21:49
  Author: diabonas
Revision: 1168652

ibm-sw-tpm2: fix building with OpenSSL 3.0, enable debug symbols

Modified:
  ibm-sw-tpm2/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-21 22:21:45 UTC (rev 1168651)
+++ PKGBUILD	2022-03-21 22:21:49 UTC (rev 1168652)
@@ -8,10 +8,14 @@
 url='https://sourceforge.net/projects/ibmswtpm2/'
 license=('BSD')
 depends=('openssl')
-source=("https://downloads.sourceforge.net/${pkgname//-}/ibmtpm$pkgver.tar.gz")
-sha512sums=('942baa26311472d6af6b2c3b3b4132718e5e2b1eaa7decb0f64d910cbb7acaa4814ac95b18b5f2a4ea43990978cd5577b8fd50b158a055ff475710ad2426f6cb')
+options=('debug')
+source=("https://downloads.sourceforge.net/${pkgname//-}/ibmtpm$pkgver.tar.gz"
+        'ibm-sw-tpm2-1661_openssl-3.patch::https://github.com/kgoldman/ibmswtpm2/commit/920ce656af833ce6fb2b76c34cf8f58a4b6a4175.patch')
+sha512sums=('942baa26311472d6af6b2c3b3b4132718e5e2b1eaa7decb0f64d910cbb7acaa4814ac95b18b5f2a4ea43990978cd5577b8fd50b158a055ff475710ad2426f6cb'
+            '1bc30948199ff419a3421e51a3dc0552e69ae4d7d9ce69daa3369a9fac4d539cc1942090d18246142a4c77fcd4672551ef0a1ce96c240cb3a17fbc1de7c16083')
 
 prepare() {
+	patch --forward --strip=1 --input="$srcdir/ibm-sw-tpm2-1661_openssl-3.patch"
 	cd src
 	sed -e 's/$(CCFLAGS)/$(CPPFLAGS) & $(CFLAGS)/' \
 	    -e 's/$(LNFLAGS)/& $(LDFLAGS)/' \



More information about the arch-commits mailing list