From bc03697ed437d9f9fb2f05c502aec91669bfe910 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sat, 8 Aug 2015 20:12:06 +0100 Subject: audio/Pd-extended: Patched SlackBuild. Fixes build failure on -current. Signed-off-by: David Spencer Signed-off-by: Willy Sudiarto Raharjo --- audio/Pd-extended/Pd-extended.SlackBuild | 5 +++- audio/Pd-extended/change_gem_configure_file.patch | 28 +++++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 audio/Pd-extended/change_gem_configure_file.patch (limited to 'audio/Pd-extended') diff --git a/audio/Pd-extended/Pd-extended.SlackBuild b/audio/Pd-extended/Pd-extended.SlackBuild index 9267927f3f..922eba5bb1 100644 --- a/audio/Pd-extended/Pd-extended.SlackBuild +++ b/audio/Pd-extended/Pd-extended.SlackBuild @@ -56,6 +56,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Fix build failure ("'OBJCXX' is undefined") thanks to Arch Linux +patch externals/Gem/configure.ac < $CWD/change_gem_configure_file.patch + # videodev.h has moved sed -i "s|linux/videodev\.h|libv4l1-videodev.h|" \ externals/pdp/configure.ac \ @@ -78,7 +81,7 @@ sed -i \ externals/loaders/tclpd/Makefile || exit 1 cd packages/linux_make - make -j1 install \ + make install \ prefix="/usr" \ libdir="/usr/lib$LIBDIRSUFFIX" \ mandir="/usr/man" \ diff --git a/audio/Pd-extended/change_gem_configure_file.patch b/audio/Pd-extended/change_gem_configure_file.patch new file mode 100644 index 0000000000..a10ff9155a --- /dev/null +++ b/audio/Pd-extended/change_gem_configure_file.patch @@ -0,0 +1,28 @@ +*** configure.ac 2011-12-23 08:44:12.000000000 +0100 +--- configureUP.ac 2012-11-03 09:51:31.000000000 +0100 +*************** +*** 114,124 **** + + # Checks for programs. + AC_PROG_CXX +! dnl AC_PROG_OBJCXX + + AC_LIBTOOL_WIN32_DLL + AC_PROG_LIBTOOL +- #predeps_CXX="-lstdc++" + + AC_PROG_INSTALL + AC_PROG_LN_S +--- 114,125 ---- + + # Checks for programs. + AC_PROG_CXX +! m4_ifdef([AC_PROG_OBJC], [AC_PROG_OBJC]) +! m4_ifdef([AC_PROG_OBJCXX], [AC_PROG_OBJCXX]) +! + + AC_LIBTOOL_WIN32_DLL + AC_PROG_LIBTOOL + + AC_PROG_INSTALL + AC_PROG_LN_S -- cgit v1.2.3