mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-11 10:08:15 +02:00
src/archive.h:18:5: error: 'int64_t' does not name a type 18 | int64_t getFileSize(const std::string& path); | ^~~~~~~ src/archive.h:6:1: note: 'int64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'? 5 | #include <vector> +++ |+#include <cstdint> 6 | In file included from src/archive.cpp:2: src/archivezip.h:12:5: error: 'int64_t' does not name a type 12 | int64_t getFileSize(const std::string &archive, const std::string &filename); | ^~~~~~~ src/archivezip.h:1:1: note: 'int64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'? +++ |+#include <cstdint> 1 | #ifndef ARCHIVEZIP_H src/archive.cpp: In function 'int64_t Archive::getFileSize(const std::string&)': src/archive.cpp:74:28: error: 'getFileSize' is not a member of 'ArchiveZip'; did you mean 'getFileList'? 74 | return ArchiveZip::getFileSize(archive, filename); | ^~~~~~~~~~~ | getFileList make: *** [Makefile:257: src/archive.o] Error 1 This issue has been fixed upstream: https://github.com/libretro/neocd_libretro/blob/master/src/archive.h https://github.com/libretro/neocd_libretro/blob/master/src/abstractfile.h
31 lines
1.3 KiB
Text
31 lines
1.3 KiB
Text
# Contributor: David Demelier <markand@malikania.fr>
|
|
# Maintainer: David Demelier <markand@malikania.fr>
|
|
pkgname=libretro-neocd
|
|
pkgver=0_git20220325
|
|
pkgrel=1
|
|
_commit="327aeceecdf71c8a0c0af3d6dc53686c94fe44ad"
|
|
pkgdesc="libretro core for neocd"
|
|
url="https://github.com/libretro/neocd_libretro"
|
|
arch="all"
|
|
license="LGPL-3.0-only"
|
|
makedepends="minizip-dev libogg-dev libvorbis-dev zlib-dev"
|
|
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/neocd_libretro/archive/$_commit.tar.gz
|
|
patch-unbundle.patch
|
|
fix-build-error.patch"
|
|
builddir="$srcdir/neocd_libretro-$_commit"
|
|
options="!check" # No tests
|
|
|
|
build() {
|
|
rm -rf deps/libogg deps/libvorbis deps/libchdr/deps/zlib*
|
|
make -j1
|
|
}
|
|
|
|
package() {
|
|
install -Dm644 neocd_libretro.so "$pkgdir"/usr/lib/libretro/neocd_libretro.so
|
|
}
|
|
|
|
sha512sums="
|
|
12c4a848aac6e5ea91deeec64e68e4f9c54181047c53322f0fc912100a61318e99b2939d33d0b94ef8c4bad5dd537cadf875a1d8cc6c5e069b7b3cba1c49d573 libretro-neocd-327aeceecdf71c8a0c0af3d6dc53686c94fe44ad.tar.gz
|
|
bc689c7c686f917dbaff889ddef761a89d2f552ca0905f0c9c554e3d4c8117fc4a972a3dc1322699f0ff558db7a71b6206a383a34ca3739d8ca82a5c11d81da8 patch-unbundle.patch
|
|
12411b1fb8df42521b06677f5fbdcdaffbb5ccafebcf6c2fa6a8bf3e4e2eb91e4581469a23f0777b351fb80f8eb3855900d9eead681607f8ee97539b77e14616 fix-build-error.patch
|
|
"
|