Browse Source

mc: Remove no longer needed define

android-5
Fredrik Fornwall 9 years ago
parent
commit
f817e4a9a0
  1. 4
      packages/mc/build.sh

4
packages/mc/build.sh

@ -5,6 +5,6 @@ TERMUX_PKG_DESCRIPTION="Midnight Commander - a powerful file manager"
TERMUX_PKG_SRCURL="http://ftp.midnight-commander.org/mc-${TERMUX_PKG_VERSION}.tar.xz" TERMUX_PKG_SRCURL="http://ftp.midnight-commander.org/mc-${TERMUX_PKG_VERSION}.tar.xz"
TERMUX_PKG_DEPENDS="ncurses, glib" TERMUX_PKG_DEPENDS="ncurses, glib"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-ncurses-libs=$TERMUX_PREFIX/lib --with-screen=ncurses" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-ncurses-libs=$TERMUX_PREFIX/lib --with-screen=ncurses"
# mc uses the deprecated S_IREAD and S_IWRITE definitions, which android does not define: # mc uses the deprecated S_IWRITE definition, which android does not define:
# https://code.google.com/p/android/issues/detail?id=19710 # https://code.google.com/p/android/issues/detail?id=19710
CPPFLAGS="$CPPFLAGS -DS_IREAD=S_IRUSR -DS_IWRITE=S_IWUSR" CPPFLAGS="$CPPFLAGS -DS_IWRITE=S_IWUSR"

Loading…
Cancel
Save