freebsd-ports/sysutils/busybox-unstable/files/patch-include__libbb.h
Matthias Andree a5e727e03b busybox:
- add fixes from upstream (bumping portrevision)
- permit overriding USE_GCC from environment (but note that GCC is
  required due to GCC extensions that are unsupported by clang)
- actually pass CC and CXX as themselves, and HOSTCC/HOSTCXX through
  MAKE_ARGS, so that it actually gets effective
- add install conflict with busybox-unstable

busybox-unstable:
- new port, based on the fixed busybox, for the unstable 1.21 branch,
  with install conflict with busybox-[1-9]*
2013-01-21 23:55:21 +00:00

22 lines
514 B
C

--- ./include/libbb.h.orig 2012-07-02 14:08:25.000000000 +0000
+++ ./include/libbb.h 2012-07-17 02:08:37.000000000 +0000
@@ -51,6 +51,9 @@
#include <termios.h>
#include <time.h>
#include <sys/param.h>
+#ifndef HAVE_XTABS
+# define XTABS OXTABS
+#endif
#include <pwd.h>
#include <grp.h>
#if ENABLE_FEATURE_SHADOWPASSWDS
@@ -129,9 +132,6 @@
#ifndef HAVE_FDATASYNC
# define fdatasync fsync
#endif
-#ifndef HAVE_XTABS
-# define XTABS TAB3
-#endif
/* Some libc's forget to declare these, do it ourself */