Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37715851
en ru br
ALT Linux repos
S:2.2.11-alt3
5.0: 2.2.9-alt5
4.1: 2.2.9-alt5
4.0: 2.2.9-alt5
3.0: 2.2.9-alt3

Group :: Development/C
RPM: indent

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: indent-2.2.11-alt-lfs.patch
Download


--- indent/configure.ac
+++ indent/configure.ac
@@ -15,6 +15,9 @@ AC_PROG_INSTALL
 AC_AIX
 AC_MINIX
 
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
+
 dnl Checks for UNIX variants that set DEFS,
 AC_ISC_POSIX
 
--- indent/src/args.c
+++ indent/src/args.c
@@ -62,12 +62,12 @@
 /* Argument scanning and profile reading code.  Default parameters are set
  * here as well. */
 
+#include "sys.h"
 #include <ctype.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
-#include "sys.h"
 #include "indent.h"
 #include "args.h"
 #include "globs.h"
--- indent/src/comments.c
+++ indent/src/comments.c
@@ -18,9 +18,9 @@
  * GNU General Public License for more details.
  */
 
+#include "sys.h"
 #include <string.h>
 
-#include "sys.h"
 #include "indent.h"
 #include "code_io.h"
 #include "output.h"
--- indent/src/output.c
+++ indent/src/output.c
@@ -56,6 +56,7 @@
  *            Added --indent-label and --linux-style options.
  */
 
+#include "sys.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <sys/types.h>
@@ -64,7 +65,6 @@
 #include <sys/stat.h>
 
 #include "indent.h"
-#include "sys.h"
 #include "globs.h"
 #include "code_io.h"
 #include "output.h"
--- indent/src/utils.c
+++ indent/src/utils.c
@@ -19,6 +19,7 @@
  * - 2008-03-08 DI Creation
  */
 
+#include "sys.h"
 #include <stdarg.h>
 #include <stdio.h>
 #include <stdlib.h>
--- indent/src/wildexp.c
+++ indent/src/wildexp.c
@@ -42,6 +42,7 @@
  */
 
 #if defined (_WIN32) && !defined (__CYGWIN__)
+#include "sys.h"
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
@@ -49,7 +50,6 @@
 #include <malloc.h>
 #include <ctype.h>
 
-#include "sys.h"
 #include "code_io.h"
 #include "indent.h"
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin