diff options
Diffstat (limited to 'rlvm')
-rw-r--r-- | rlvm/PKGBUILD | 8 | ||||
-rw-r--r-- | rlvm/luabind.patch | 20 |
2 files changed, 25 insertions, 3 deletions
diff --git a/rlvm/PKGBUILD b/rlvm/PKGBUILD index 61fec89..c9ef993 100644 --- a/rlvm/PKGBUILD +++ b/rlvm/PKGBUILD @@ -1,18 +1,20 @@ # Maintainer: Jon Bergli Heier <snakebite@jvnv.net> pkgname=rlvm pkgver=0.14 -pkgrel=1 +pkgrel=2 pkgdesc="RealLive clone for Linux and OSX" arch=(i686 x86_64) url="http://www.elliotglaysher.org/rlvm/" license=('GPL') depends=('boost-libs>=1.46' glew libmad sdl_mixer sdl_image sdl_ttf) makedepends=(scons boost) -source=(https://github.com/eglaysher/rlvm/archive/release-${pkgver}.tar.gz) -md5sums=('03a7df65cf22bba83547d412fd07e941') +source=(https://github.com/eglaysher/rlvm/archive/release-${pkgver}.tar.gz luabind.patch) +md5sums=('03a7df65cf22bba83547d412fd07e941' + 'ed77bb39c013519544f16a4db7c17f3a') build() { cd "$srcdir/rlvm-release-${pkgver}" + patch -p1 < "$srcdir/luabind.patch" scons --release diff --git a/rlvm/luabind.patch b/rlvm/luabind.patch new file mode 100644 index 0000000..41fd044 --- /dev/null +++ b/rlvm/luabind.patch @@ -0,0 +1,20 @@ +diff --git a/vendor/luabind/include/luabind/object.hpp b/vendor/luabind/include/luabind/object.hpp +index 5e2771c..24c140c 100644 +--- a/vendor/luabind/include/luabind/object.hpp ++++ b/vendor/luabind/include/luabind/object.hpp +@@ -544,6 +544,7 @@ namespace detail + handle m_key; + }; + ++#if BOOST_VERSION < 105700 + // Needed because of some strange ADL issues. + + #define LUABIND_OPERATOR_ADL_WKND(op) \ +@@ -565,6 +566,7 @@ namespace detail + LUABIND_OPERATOR_ADL_WKND(!=) + + #undef LUABIND_OPERATOR_ADL_WKND ++#endif + + } // namespace detail + |