mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
audio/Pd-extended: Patched SlackBuild.
Fixes build failure on -current. Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
a723699906
commit
bc03697ed4
2 changed files with 32 additions and 1 deletions
|
@ -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" \
|
||||
|
|
28
audio/Pd-extended/change_gem_configure_file.patch
Normal file
28
audio/Pd-extended/change_gem_configure_file.patch
Normal file
|
@ -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
|
Loading…
Reference in a new issue