diff options
author | senpai | 2023-07-12 18:10:56 +0200 |
---|---|---|
committer | senpai | 2023-07-12 18:10:56 +0200 |
commit | 38430bfcfd018c0fcce6990eb7f428ac5ef2f636 (patch) | |
tree | 4ebe40789eff64cfe4a41df40d4bb3957a3c92e8 | |
parent | 40c38a87b503b74a4bdcd5f019d894ff2edccd2a (diff) | |
download | aur-38430bfcfd018c0fcce6990eb7f428ac5ef2f636.tar.gz |
added patch to explicitly link inherited libs
-rw-r--r-- | PKGBUILD | 18 | ||||
-rw-r--r-- | armagetronad-git.patch.2023 | 10 |
2 files changed, 23 insertions, 5 deletions
@@ -1,13 +1,14 @@ # $Id$ -# Maintainer: physkets <physkets // at // tutanota dot com> +# Maintainer: notvidya <transient.sepia // at // gmail dot com> +# Contributor: physkets <physkets // at // tutanota dot com> # Contributor: Kyle Keen <keenerd@gmail.com> # Contributor: Mateusz Herych <heniekk@gmail.com> # Contributor: Filippo 'JoeyrS' Civiletti <joeyrs@gmail.com> _pkgname=armagetronad pkgname=${_pkgname}-git -pkgver='r4128.7392b902f' -pkgrel=6 +pkgver=r5415.f775378e +pkgrel=1 pkgdesc='A Tron Clone in 3D.' arch=('x86_64') url='http://armagetronad.net/' @@ -17,8 +18,10 @@ optdepends=('python: language updater' 'glew: Graphics on X11' 'glew-wayland: Gr makedepends=('boost') provides=('armagetronad') conflicts=('armagetronad') -source=("git+https://gitlab.com/armagetronad/armagetronad.git") -sha1sums=('SKIP') +source=("git+https://gitlab.com/armagetronad/armagetronad.git" + "${pkgname}.patch.2023") +sha1sums=('SKIP' + '93ec913320e7b48889088634883d72a02e7b4a20') pkgver() { cd "${srcdir}/${_pkgname}" @@ -41,6 +44,11 @@ build() { --disable-games \ --enable-automakedefaults \ --disable-uninstall + + cd "${srcdir}" + patch -Np1 -i "armagetronad-git.patch.2023" + + cd "${srcdir}/${_pkgname}" make } diff --git a/armagetronad-git.patch.2023 b/armagetronad-git.patch.2023 new file mode 100644 index 000000000000..3bc77f43ef36 --- /dev/null +++ b/armagetronad-git.patch.2023 @@ -0,0 +1,10 @@ +--- a/armagetronad/src/Makefile 2023-07-08 23:43:55.325071305 +0200 ++++ b/armagetronad/src/Makefile 2023-07-08 23:57:42.445251720 +0200 +@@ -866,6 +866,6 @@ + LIBOBJS = + LIBPNG_CFLAGS = -I/usr/include/libpng16 + LIBPNG_LIBS = -lpng16 +-LIBS = -lSDL2_image -lGLU -lGL -lX11 -L/usr/X11R6/lib -lSDL2_mixer -L/usr/lib -lSDL2 -lm -lrt -lprotobuf -lpthread -lxml2 -lpng16 -lftgl -L/usr/lib64 -lboost_system -lboost_thread -lpthread ++LIBS = -lSDL2_image -lGLU -lGL -lX11 -L/usr/X11R6/lib -lSDL2_mixer -L/usr/lib -lSDL2 -lm -lrt -lprotobuf -lpthread -lxml2 -lpng16 -lftgl -L/usr/lib64 -lboost_system -lboost_thread -lpthread /usr/lib/libabsl_log_internal_message.so /usr/lib/libabsl_log_internal_check_op.so /usr/lib/libabsl_raw_logging_internal.so /usr/lib/libabsl_spinlock_wait.so + LN_S = ln -s + LTLIBOBJS = |