mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2024-09-20 11:23:16 +00:00
community/thttpd: fix build with gcc 14
The configure script fails to detect a working gcc. It seems non-trivial to fix the configure scripts and it was difficult to find a git repository or issue tracker and there have not been any new releases in years. Just use -fpermissive for now.
This commit is contained in:
parent
518e4f63ee
commit
17995e3891
1 changed files with 4 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
||||
pkgname=thttpd
|
||||
pkgver=2.29
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="Simple, small, portable, fast, and secure HTTP server"
|
||||
url="http://www.acme.com/software/thttpd"
|
||||
arch="all"
|
||||
|
@ -28,7 +28,9 @@ prepare() {
|
|||
}
|
||||
|
||||
build() {
|
||||
./configure --prefix=/usr --mandir=/usr/share/man
|
||||
CFLAGS="$CFLAGS -fpermissive" ./configure \
|
||||
--prefix=/usr \
|
||||
--mandir=/usr/share/man
|
||||
sed -e 's/^CFLAGS =/CFLAGS +=/' \
|
||||
-e '/^STATICFLAG =/c STATICFLAG =' \
|
||||
-i Makefile */Makefile
|
||||
|
|
Loading…
Reference in a new issue