public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-libs/ecore/files: ecore-1.2.1-glibc-2.16.patch
@ 2012-08-18  3:11 Mike Frysinger (vapier)
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2012-08-18  3:11 UTC (permalink / raw
  To: gentoo-commits

vapier      12/08/18 03:11:08

  Added:                ecore-1.2.1-glibc-2.16.patch
  Log:
  Add fix from upstream for building with glibc-2.16 #426812 by Diego Elio Pettenò.
  
  (Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-libs/ecore/files/ecore-1.2.1-glibc-2.16.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ecore/files/ecore-1.2.1-glibc-2.16.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ecore/files/ecore-1.2.1-glibc-2.16.patch?rev=1.1&content-type=text/plain

Index: ecore-1.2.1-glibc-2.16.patch
===================================================================
------------------------------------------------------------------------
r72684 | caro | 2012-06-22 01:36:00 -0400 (Fri, 22 Jun 2012) | 8 lines

ecore_exe: fix compilation on fedora 18.

setpriority needs sys/resource.h. See:

http://linux.die.net/man/2/setpriority

I let sys/time.h, it does not hurt on linux and is anyway needed for BSD systems.


Index: src/lib/ecore/ecore_exe.c
===================================================================
--- src/lib/ecore/ecore_exe.c	(revision 72683)
+++ src/lib/ecore/ecore_exe.c	(revision 72684)
@@ -2,11 +2,6 @@
 # include <config.h>
 #endif
 
-#if defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__NetBSD__)
-# include <sys/time.h>
-# include <sys/resource.h>
-#endif
-
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
@@ -14,6 +9,8 @@
 #include <sys/types.h>
 #include <unistd.h>
 #include <fcntl.h>
+#include <sys/time.h>
+#include <sys/resource.h>
 
 #ifdef HAVE_SYS_PRCTL_H
 # include <sys/prctl.h>





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-18  3:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-18  3:11 [gentoo-commits] gentoo-x86 commit in dev-libs/ecore/files: ecore-1.2.1-glibc-2.16.patch 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