You are not logged in.

#1 2021-05-21 22:55:09

caray
Member
Registered: 2021-04-04
Posts: 20

bristol is broken

id really like to install this awesome program but it just wont build with yay, anyone know what i can do?

Offline

#2 2021-05-21 23:06:52

loqs
Member
Registered: 2014-03-06
Posts: 13,862

Re: bristol is broken

https://aur.archlinux.org/packages/bris … ent-790767
Patching_packages#Applying_patches

git diff
diff --git a/PKGBUILD b/PKGBUILD
index 023f2df..aa10b50 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,9 +11,17 @@ license=('GPL')
 makedepends=('gcc')
 depends=('jack' 'libx11')
 options=(!libtool)
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-md5sums=('9ea4dacdac0dba3048156e2f6a5ee4d6')
-sha256sums=('7d1f0bbd0d7d303fc77c6b9549b61708d7a83b4dc007818011b1f55d1fa922ba')
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
+        https://sources.debian.org/data/main/b/bristol/0.60.11-3.1/debian/patches/04-gcc_10.patch)
+md5sums=('9ea4dacdac0dba3048156e2f6a5ee4d6'
+         '5325e1d8ea63d7ad20cf319b6241f941')
+sha256sums=('7d1f0bbd0d7d303fc77c6b9549b61708d7a83b4dc007818011b1f55d1fa922ba'
+            '4080f34444e301fcd94b454813dc646f39fb2e5787f3fe74cdc9c36520458c81')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -p1 -i ../04-gcc_10.patch
+}
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"

Edit:
Please also consider marking the package out of date.

Last edited by loqs (2021-05-22 01:03:37)

Offline

Board footer

Powered by FluxBB