diff options
Diffstat (limited to 'audio/Pd-extended')
-rw-r--r-- | audio/Pd-extended/Pd-extended.SlackBuild | 5 | ||||
-rw-r--r-- | audio/Pd-extended/change_gem_configure_file.patch | 28 |
2 files changed, 32 insertions, 1 deletions
diff --git a/audio/Pd-extended/Pd-extended.SlackBuild b/audio/Pd-extended/Pd-extended.SlackBuild index 9267927f3f2b0..922eba5bb1d45 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 0000000000000..a10ff9155aba7 --- /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 |