public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-projects commit in pax-utils: porting.h
@ 2008-10-19 20:36 Fabian Groffen (grobian)
  0 siblings, 0 replies; 8+ messages in thread
From: Fabian Groffen (grobian) @ 2008-10-19 20:36 UTC (permalink / raw
  To: gentoo-commits

grobian     08/10/19 20:36:31

  Modified:             porting.h
  Log:
  Silence a warning

Revision  Changes    Path
1.32                 pax-utils/porting.h

file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/porting.h?rev=1.32&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/porting.h?rev=1.32&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/porting.h?r1=1.31&r2=1.32

Index: porting.h
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- porting.h	23 May 2007 22:27:27 -0000	1.31
+++ porting.h	19 Oct 2008 20:36:31 -0000	1.32
@@ -1,7 +1,7 @@
 /*
  * Copyright 2005-2007 Gentoo Foundation
  * Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.31 2007/05/23 22:27:27 solar Exp $
+ * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.32 2008/10/19 20:36:31 grobian Exp $
  *
  * Copyright 2005-2007 Ned Ludd        - <solar@gentoo.org>
  * Copyright 2005-2007 Mike Frysinger  - <vapier@gentoo.org>
@@ -33,6 +33,7 @@
 #include <pwd.h>
 #include <fnmatch.h>
 #include <regex.h>
+#include <alloca.h>
 
 #include <sys/mman.h>
 #include "elf.h"






^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-commits] gentoo-projects commit in pax-utils: porting.h
@ 2008-11-16 12:14 Mike Frysinger (vapier)
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger (vapier) @ 2008-11-16 12:14 UTC (permalink / raw
  To: gentoo-commits

vapier      08/11/16 12:14:50

  Modified:             porting.h
  Log:
  only include alloca.h on linux systems #246439 by Javier Villavicencio

Revision  Changes    Path
1.33                 pax-utils/porting.h

file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/porting.h?rev=1.33&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/porting.h?rev=1.33&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/porting.h?r1=1.32&r2=1.33

Index: porting.h
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- porting.h	19 Oct 2008 20:36:31 -0000	1.32
+++ porting.h	16 Nov 2008 12:14:50 -0000	1.33
@@ -1,7 +1,7 @@
 /*
  * Copyright 2005-2007 Gentoo Foundation
  * Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.32 2008/10/19 20:36:31 grobian Exp $
+ * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.33 2008/11/16 12:14:50 vapier Exp $
  *
  * Copyright 2005-2007 Ned Ludd        - <solar@gentoo.org>
  * Copyright 2005-2007 Mike Frysinger  - <vapier@gentoo.org>
@@ -33,13 +33,13 @@
 #include <pwd.h>
 #include <fnmatch.h>
 #include <regex.h>
-#include <alloca.h>
 
 #include <sys/mman.h>
 #include "elf.h"
 #if defined(__linux__)
-# include <endian.h>
+# include <alloca.h>
 # include <byteswap.h>
+# include <endian.h>
 #elif defined(__FreeBSD__)
 # include <sys/endian.h>
 #elif defined(__sun__)






^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-commits] gentoo-projects commit in pax-utils: porting.h
@ 2008-11-16 12:16 Mike Frysinger (vapier)
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger (vapier) @ 2008-11-16 12:16 UTC (permalink / raw
  To: gentoo-commits

vapier      08/11/16 12:16:21

  Modified:             porting.h
  Log:
  sort headers alphabetically

Revision  Changes    Path
1.34                 pax-utils/porting.h

file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/porting.h?rev=1.34&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/porting.h?rev=1.34&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/porting.h?r1=1.33&r2=1.34

Index: porting.h
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- porting.h	16 Nov 2008 12:14:50 -0000	1.33
+++ porting.h	16 Nov 2008 12:16:21 -0000	1.34
@@ -1,7 +1,7 @@
 /*
  * Copyright 2005-2007 Gentoo Foundation
  * Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.33 2008/11/16 12:14:50 vapier Exp $
+ * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.34 2008/11/16 12:16:21 vapier Exp $
  *
  * Copyright 2005-2007 Ned Ludd        - <solar@gentoo.org>
  * Copyright 2005-2007 Mike Frysinger  - <vapier@gentoo.org>
@@ -15,26 +15,25 @@
 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(*arr))
 #undef __PAX_UTILS_CLEANUP
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <errno.h>
-#include <string.h>
-#include <unistd.h>
-#include <inttypes.h>
-#include <sys/types.h>
-#include <sys/stat.h>
+#include <assert.h>
+#include <ctype.h>
 #include <dirent.h>
-#include <limits.h>
+#include <errno.h>
 #include <fcntl.h>
-#include <assert.h>
+#include <fnmatch.h>
 #include <getopt.h>
+#include <inttypes.h>
 #include <libgen.h>
-#include <ctype.h>
+#include <limits.h>
 #include <pwd.h>
-#include <fnmatch.h>
 #include <regex.h>
-
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
 #include <sys/mman.h>
+#include <sys/stat.h>
+#include <sys/types.h>
 #include "elf.h"
 #if defined(__linux__)
 # include <alloca.h>






^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-commits] gentoo-projects commit in pax-utils: porting.h
@ 2008-11-16 20:54 Mike Frysinger (vapier)
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger (vapier) @ 2008-11-16 20:54 UTC (permalink / raw
  To: gentoo-commits

vapier      08/11/16 20:54:45

  Modified:             porting.h
  Log:
  pull in alloca.h for all hosts but freebsd

Revision  Changes    Path
1.35                 pax-utils/porting.h

file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/porting.h?rev=1.35&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/porting.h?rev=1.35&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/porting.h?r1=1.34&r2=1.35

Index: porting.h
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- porting.h	16 Nov 2008 12:16:21 -0000	1.34
+++ porting.h	16 Nov 2008 20:54:45 -0000	1.35
@@ -1,7 +1,7 @@
 /*
  * Copyright 2005-2007 Gentoo Foundation
  * Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.34 2008/11/16 12:16:21 vapier Exp $
+ * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.35 2008/11/16 20:54:45 vapier Exp $
  *
  * Copyright 2005-2007 Ned Ludd        - <solar@gentoo.org>
  * Copyright 2005-2007 Mike Frysinger  - <vapier@gentoo.org>
@@ -35,8 +35,10 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 #include "elf.h"
-#if defined(__linux__)
+#if !defined(__FreeBSD__)
 # include <alloca.h>
+#endif
+#if defined(__linux__)
 # include <byteswap.h>
 # include <endian.h>
 #elif defined(__FreeBSD__)






^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-commits] gentoo-projects commit in pax-utils: porting.h
@ 2009-10-25 20:42 Fabian Groffen (grobian)
  0 siblings, 0 replies; 8+ messages in thread
From: Fabian Groffen (grobian) @ 2009-10-25 20:42 UTC (permalink / raw
  To: gentoo-commits

grobian     09/10/25 20:42:35

  Modified:             porting.h
  Log:
  allow pax-utils to detect endianness on HP-UX, patch by Michael Haubenwallner

Revision  Changes    Path
1.37                 pax-utils/porting.h

file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/porting.h?rev=1.37&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/porting.h?rev=1.37&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/porting.h?r1=1.36&r2=1.37

Index: porting.h
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- porting.h	30 Dec 2008 12:30:52 -0000	1.36
+++ porting.h	25 Oct 2009 20:42:34 -0000	1.37
@@ -1,7 +1,7 @@
 /*
  * Copyright 2005-2007 Gentoo Foundation
  * Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.36 2008/12/30 12:30:52 vapier Exp $
+ * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.37 2009/10/25 20:42:34 grobian Exp $
  *
  * Copyright 2005-2007 Ned Ludd        - <solar@gentoo.org>
  * Copyright 2005-2007 Mike Frysinger  - <vapier@gentoo.org>
@@ -140,7 +140,7 @@
 #  define ELF_DATA ELFDATA2MSB
 # elif defined(_LITTLE_ENDIAN)
 #  define ELF_DATA ELFDATA2LSB
-# elif defined(_BIG_ENDIAN)
+# elif defined(_BIG_ENDIAN) || defined(__BIG_ENDIAN__)
 #  define ELF_DATA ELFDATA2MSB
 # else
 #  error "no idea what the native byte order is"






^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-commits] gentoo-projects commit in pax-utils: porting.h
@ 2011-04-30  0:52 Mike Frysinger (vapier)
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger (vapier) @ 2011-04-30  0:52 UTC (permalink / raw
  To: gentoo-commits

vapier      11/04/30 00:52:15

  Modified:             porting.h
  Log:
  dont include alloca.h on openbsd #363903 by Maxim Koltsov

Revision  Changes    Path
1.40                 pax-utils/porting.h

file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/porting.h?rev=1.40&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/porting.h?rev=1.40&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/porting.h?r1=1.39&r2=1.40

Index: porting.h
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- porting.h	15 Jan 2010 12:06:37 -0000	1.39
+++ porting.h	30 Apr 2011 00:52:15 -0000	1.40
@@ -1,7 +1,7 @@
 /*
  * Copyright 2005-2007 Gentoo Foundation
  * Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.39 2010/01/15 12:06:37 vapier Exp $
+ * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.40 2011/04/30 00:52:15 vapier Exp $
  *
  * Copyright 2005-2007 Ned Ludd        - <solar@gentoo.org>
  * Copyright 2005-2007 Mike Frysinger  - <vapier@gentoo.org>
@@ -36,7 +36,7 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 #include "elf.h"
-#if !defined(__FreeBSD__)
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__)
 # include <alloca.h>
 #endif
 #if defined(__linux__)






^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-commits] gentoo-projects commit in pax-utils: porting.h
@ 2011-10-08 18:34 Mike Frysinger (vapier)
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger (vapier) @ 2011-10-08 18:34 UTC (permalink / raw
  To: gentoo-commits

vapier      11/10/08 18:34:06

  Modified:             porting.h
  Log:
  use glibc/uclibc defines to pull in byteswap.h/endian.h as these are specific to glibc and not linux; report from Pino Toscano in deb bug 644607

Revision  Changes    Path
1.41                 pax-utils/porting.h

file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/porting.h?rev=1.41&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/porting.h?rev=1.41&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/porting.h?r1=1.40&r2=1.41

Index: porting.h
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- porting.h	30 Apr 2011 00:52:15 -0000	1.40
+++ porting.h	8 Oct 2011 18:34:06 -0000	1.41
@@ -1,7 +1,7 @@
 /*
  * Copyright 2005-2007 Gentoo Foundation
  * Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.40 2011/04/30 00:52:15 vapier Exp $
+ * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.41 2011/10/08 18:34:06 vapier Exp $
  *
  * Copyright 2005-2007 Ned Ludd        - <solar@gentoo.org>
  * Copyright 2005-2007 Mike Frysinger  - <vapier@gentoo.org>
@@ -39,7 +39,7 @@
 #if !defined(__FreeBSD__) && !defined(__OpenBSD__)
 # include <alloca.h>
 #endif
-#if defined(__linux__)
+#if defined(__GLIBC__) || defined(__UCLIBC__)
 # include <byteswap.h>
 # include <endian.h>
 #elif defined(__FreeBSD__)






^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-commits] gentoo-projects commit in pax-utils: porting.h
@ 2012-02-04 18:15 Mike Frysinger (vapier)
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger (vapier) @ 2012-02-04 18:15 UTC (permalink / raw
  To: gentoo-commits

vapier      12/02/04 18:15:37

  Modified:             porting.h
  Log:
  if O_CLOEXEC is not defined, set it to 0

Revision  Changes    Path
1.42                 pax-utils/porting.h

file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/porting.h?rev=1.42&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/porting.h?rev=1.42&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/porting.h?r1=1.41&r2=1.42

Index: porting.h
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- porting.h	8 Oct 2011 18:34:06 -0000	1.41
+++ porting.h	4 Feb 2012 18:15:37 -0000	1.42
@@ -1,7 +1,7 @@
 /*
  * Copyright 2005-2007 Gentoo Foundation
  * Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.41 2011/10/08 18:34:06 vapier Exp $
+ * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.42 2012/02/04 18:15:37 vapier Exp $
  *
  * Copyright 2005-2007 Ned Ludd        - <solar@gentoo.org>
  * Copyright 2005-2007 Mike Frysinger  - <vapier@gentoo.org>
@@ -203,4 +203,8 @@
 # endif
 #endif
 
+#ifndef O_CLOEXEC
+# define O_CLOEXEC 0
+#endif
+
 #endif /* _PORTING_H */






^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-02-04 18:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-19 20:36 [gentoo-commits] gentoo-projects commit in pax-utils: porting.h Fabian Groffen (grobian)
  -- strict thread matches above, loose matches on Subject: below --
2008-11-16 12:14 Mike Frysinger (vapier)
2008-11-16 12:16 Mike Frysinger (vapier)
2008-11-16 20:54 Mike Frysinger (vapier)
2009-10-25 20:42 Fabian Groffen (grobian)
2011-04-30  0:52 Mike Frysinger (vapier)
2011-10-08 18:34 Mike Frysinger (vapier)
2012-02-04 18:15 Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox