diff options
author | Michal Wojdyla | 2024-05-11 16:03:39 +0200 |
---|---|---|
committer | Michal Wojdyla | 2024-05-11 16:03:39 +0200 |
commit | 3b7411b0bbc1d17eb2b50f904aaa225312dace5f (patch) | |
tree | c7b53f2b450ac51f0596a2170e3e614d3af5bf6c | |
parent | 5c83e8599c1262b3d922f1492de0f5c1d10ecaad (diff) | |
download | aur-xyzsh.tar.gz |
fix build with gcc14
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 10 | ||||
-rw-r--r-- | gcc14.patch | 11 |
3 files changed, 20 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = xyzsh pkgdesc = Interactive shell and text processing tools pkgver = 1.5.8 - pkgrel = 3 + pkgrel = 4 url = https://github.com/ab25cq/xyzsh arch = i686 arch = x86_64 @@ -10,6 +10,8 @@ pkgbase = xyzsh depends = ncurses depends = oniguruma source = http://osdn.net/projects/xyzsh/downloads/60140/xyzsh-1.5.8.tgz + source = gcc14.patch md5sums = 4fab43dbd794fb4af871ac6c9989526b + md5sums = 084be8ed51601d02c72218d8f9034927 pkgname = xyzsh @@ -3,18 +3,20 @@ pkgname=xyzsh pkgver=1.5.8 -pkgrel=3 +pkgrel=4 pkgdesc="Interactive shell and text processing tools" arch=('i686' 'x86_64') url="https://github.com/ab25cq/xyzsh" license=('MIT') depends=('glibc' 'ncurses' 'oniguruma') -source=(http://osdn.net/projects/${pkgname}/downloads/60140/${pkgname}-${pkgver}.tgz) -md5sums=('4fab43dbd794fb4af871ac6c9989526b') +source=(http://osdn.net/projects/${pkgname}/downloads/60140/${pkgname}-${pkgver}.tgz gcc14.patch) +md5sums=('4fab43dbd794fb4af871ac6c9989526b' + '084be8ed51601d02c72218d8f9034927') build() { cd ${srcdir}/${pkgname}-${pkgver} - + # https://github.com/ab25cq/xyzsh/issues/5 + patch -p1 -i ../gcc14.patch ./configure --prefix=/usr --sysconfdir=/etc --with-optimize make -j1 } diff --git a/gcc14.patch b/gcc14.patch new file mode 100644 index 000000000000..d50e688b3a05 --- /dev/null +++ b/gcc14.patch @@ -0,0 +1,11 @@ +--- a/Makefile.in ++++ b/Makefile.in +@@ -18,7 +18,7 @@ docdir=@datadir@/doc/xyzsh + ########################################################## + CC=@CC@ + INSTALL=@INSTALL@ +-CFLAGS=@CFLAGS@ ++CFLAGS=@CFLAGS@ -Wno-error=implicit-function-declaration + LIBS=@LIBS@ + OBJ=@OBJ@ + EXTOBJ=@EXTOBJ@ |