attr: Patch and enable package
This commit is contained in:
parent
42cfe26077
commit
a2e59a1aad
11
packages/attr/attr.c.patch
Normal file
11
packages/attr/attr.c.patch
Normal file
@ -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"
|
@ -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_DESCRIPTION="Commands for manipulating filesystem extended attributes."
|
||||
TERMUX_PKG_DESCRIPTION="Utilities for manipulating filesystem extended attributes"
|
||||
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_SHA256=25772f653ac5b2e3ceeb89df50e4688891e21f723c460636548971652af0a859
|
||||
TERMUX_PKG_FOLDERNAME=attr-$TERMUX_PKG_VERSION
|
||||
TERMUX_PKG_BUILD_IN_SRC=yes
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-gettext=no"
|
||||
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"
|
Loading…
Reference in New Issue
Block a user