fbrennan [1] filed an orphan request for ucommon [2]:

Maintainer inaction, see comments. I have a patch to fix build:

```
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

- From 386bbe310d84c7135fece063f50855890d4e0b3c Mon Sep 17 00:00:00
2001
From: Fredrick Brennan <[email protected]>
Date: Fri, 3 Nov 2023 16:18:43 -0400
Subject: [PATCH] v7.0.1 pkgrel 2

- ---
 .SRCINFO |  2 +-
 PKGBUILD | 14 ++++++++++----
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index a18eff5..d84cfba 100644
- --- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = ucommon
        pkgdesc = GNU Common C++ is a class framework that was
specifically designed for telephony applications.
        pkgver = 7.0.1
- -     pkgrel = 1
+       pkgrel = 2
        url = https://www.gnu.org/software/commoncpp/
        arch = i686
        arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 0fb9984..65139b1 100644
- --- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,10 +2,11 @@
 # Contributor: Dominic Brekau <[email protected]>
 # Contributor: Timothy Redaelli <[email protected]>
 # Contributor: Sergej Pupykin <[email protected]>
+# Contributor: Fred Brennan <[email protected]>

 pkgname=ucommon
 pkgver=7.0.1
- -pkgrel=1
+pkgrel=2
 pkgdesc='GNU Common C++ is a class framework that was specifically
designed for telephony applications.'
 arch=('i686' 'x86_64')
 url='https://www.gnu.org/software/commoncpp/'
@@ -19,11 +20,16 @@
sha256sums=('99fd0e2c69f24e4ca93d01a14bc3fc4e40d69576f235f80f7a8ab37c16951f3e')

 build() {
   mkdir build && cd build
- -  cmake "${srcdir}"/commoncpp-$pkgver -DCMAKE_INSTALL_PREFIX=/usr
- -  make
+  cmake "${srcdir}"/commoncpp-$pkgver -DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_SHARED_LINKER_FLAGS='-latomic' \
+    -DCMAKE_EXE_LINKER_FLAGS='-latomic' \
+    -DCMAKE_STATIC_LINKER_FLAGS='-latomic' \
+    -DBUILD_DISTFILE=ON
+  cmake --build .
 }

 package() {
   cd build
- -  make DESTDIR="${pkgdir}" install
+  cmake --install . --prefix "${pkgdir}"/usr
+  find "${pkgdir}"/usr/bin -type f -exec chmod -v ugo+x {} \;
 }
- --
2.42.0

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQS1rLeeEfG/f0nzK7hYUwVpYvFOWAUCZUVVsgAKCRBYUwVpYvFO
WHXxAQCINVBwBKQ83vXYhhUwJuzJk795pQBqJzSXvAcFJf8jEAD/cyardUAELX/z
tWCV2yL4JrqW7nUR+u7BLX6wNAaFcws=
=gSiF
-----END PGP SIGNATURE-----
```

[1] https://aur.archlinux.org/account/fbrennan/
[2] https://aur.archlinux.org/pkgbase/ucommon/

Reply via email to