Skip to content

Commit

Permalink
gamecube-sdl: disable signal code
Browse files Browse the repository at this point in the history
  • Loading branch information
WinterMute committed Apr 23, 2023
1 parent 4fae892 commit a9fa398
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 4 additions & 3 deletions gamecube/SDL/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,19 @@

pkgname=gamecube-sdl
pkgver=1.2.15
pkgrel=4
pkgrel=5
pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard."
arch=('any')
url="https://libsdl.org"
license=("LGPL")
options=(!strip libtool staticlibs)
makedepends=('gamecube-pkg-config' 'dkp-toolchain-vars')
source=("${url}/release/SDL-${pkgver}.tar.gz" "SDL-1.2.15.patch")
source=("${url}/release/SDL-${pkgver}.tar.gz" "SDL-1.2.15.patch" "config.site")
groups=('gamecube-portlibs' 'gamecube-sdl-libs')
sha256sums=(
'd6d316a793e5e348155f0dd93b979798933fb98aa1edebcc108829d6474aad00'
'32aa0c594b6ecbb1f4a0842d05a5c2274e1dd0ba38cdd6e6d2f250ed610a37ff'
'eb33978edaeeb22f83d108ea5236e7f749c3fb3d60765e69f624af2365e2b854'
)

build() {
Expand All @@ -25,7 +26,7 @@ build() {
patch -p1 -i $srcdir/SDL-1.2.15.patch
./autogen.sh

./configure --prefix="${PORTLIBS_PREFIX}" --host=powerpc-eabi \
CONFIG_SITE=${srcdir}/config.site ./configure --prefix="${PORTLIBS_PREFIX}" --host=powerpc-eabi \
--disable-shared --enable-static --enable-nintendo-gamecube
make
}
Expand Down
3 changes: 3 additions & 0 deletions gamecube/SDL/config.site
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ac_cv_header_signal=no
ac_cv_header_signal_h=no
ac_cv_func_sigaction=no

0 comments on commit a9fa398

Please sign in to comment.