Browse Source

attr: Patch and enable package

android-5
Fredrik Fornwall 8 years ago
parent
commit
a2e59a1aad
  1. 11
      packages/attr/attr.c.patch
  2. 7
      packages/attr/build.sh
  3. 0
      packages/attr/include-xattr.h.patch
  4. 0
      packages/attr/walk_tree.c.patch

11
packages/attr/attr.c.patch

@ -0,0 +1,11 @@
diff -u -r ../attr-2.4.47/attr/attr.c ./attr/attr.c
--- ../attr-2.4.47/attr/attr.c 2013-05-19 06:53:54.000000000 +0200
+++ ./attr/attr.c 2017-02-02 21:51:24.680776395 +0100
@@ -26,6 +26,7 @@
#include <errno.h>
#include <string.h>
#include <locale.h>
+#include <libgen.h> /* for basename(3) */
#include <attr/attributes.h>
#include "config.h"

7
disabled-packages/attr/build.sh → packages/attr/build.sh

@ -1,10 +1,11 @@
# Package disabled - does Android support setting extended file attributes?
# I'm getting 'Operation not supported on transport endpoint' on all tests.
TERMUX_PKG_HOMEPAGE=http://savannah.nongnu.org/projects/attr/ TERMUX_PKG_HOMEPAGE=http://savannah.nongnu.org/projects/attr/
TERMUX_PKG_DESCRIPTION="Commands for manipulating filesystem extended attributes." TERMUX_PKG_DESCRIPTION="Utilities for manipulating filesystem extended attributes"
TERMUX_PKG_VERSION=2.4.47 TERMUX_PKG_VERSION=2.4.47
TERMUX_PKG_SRCURL=http://download.savannah.gnu.org/releases/attr/attr-${TERMUX_PKG_VERSION}.src.tar.gz TERMUX_PKG_SRCURL=http://download.savannah.gnu.org/releases/attr/attr-${TERMUX_PKG_VERSION}.src.tar.gz
TERMUX_PKG_SHA256=25772f653ac5b2e3ceeb89df50e4688891e21f723c460636548971652af0a859
TERMUX_PKG_FOLDERNAME=attr-$TERMUX_PKG_VERSION TERMUX_PKG_FOLDERNAME=attr-$TERMUX_PKG_VERSION
TERMUX_PKG_BUILD_IN_SRC=yes TERMUX_PKG_BUILD_IN_SRC=yes
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-gettext=no" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-gettext=no"
TERMUX_PKG_MAKE_INSTALL_TARGET="install install-lib" TERMUX_PKG_MAKE_INSTALL_TARGET="install install-lib"
# attr.5 man page is in linux-man-pages:
TERMUX_PKG_RM_AFTER_INSTALL="share/man/man5/attr.5"

0
disabled-packages/attr/include-xattr.h.patch → packages/attr/include-xattr.h.patch

0
disabled-packages/attr/attr.patch → packages/attr/walk_tree.c.patch

Loading…
Cancel
Save