aboutsummaryrefslogtreecommitdiff
path: root/devel/diffutils
diff options
context:
space:
mode:
authorSébastien Delafond <sdelafond@gmail.com>2018-06-13 18:15:26 +0200
committerSébastien Delafond <sdelafond@gmail.com>2018-06-13 18:15:26 +0200
commit698821001fba87fc2839ffcbc7b547888bf650e1 (patch)
tree55fe9fc68d89494f9512b934043d76e928c07a28 /devel/diffutils
parentfbffa348ef24c9c68a850f4a02a7f7bc94a4fc96 (diff)
diffutils: fix 'compilation error on x86_64
Here was the first error I got: xstrtol-error.c:84:26: error: invalid use of undefined type 'struct rpl_option' More information on this error here: https://www.mail-archive.com/clfs-support@lists.clfs.org/msg00297.html I'm not sure if this is an issue in my build environment, but I believe this is the proper fix because gzip and zile use the same option: ./utils/gzip/Makefile: gl_cv_func_getopt_gnu=yes \ ./utils/zile/Makefile: gl_cv_func_getopt_gnu=yes \ This commit is mostly a reformat/sign-off of previous work by Dirk Morris <dmorris@untangle.com> Signed-off-by: Sébastien Delafond <sdelafond@gmail.com>
Diffstat (limited to 'devel/diffutils')
-rw-r--r--devel/diffutils/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/devel/diffutils/Makefile b/devel/diffutils/Makefile
index 643eaf9a1..8465d8665 100644
--- a/devel/diffutils/Makefile
+++ b/devel/diffutils/Makefile
@@ -35,6 +35,7 @@ define Package/diffutils/description
endef
CONFIGURE_VARS += \
+ gl_cv_func_getopt_gnu=yes \
ac_cv_func_mempcpy=n
TARGET_CFLAGS += --std=gnu99