From dddb697dcb0333682cfd8338442316fbfc6af103 Mon Sep 17 00:00:00 2001
From: Sebastien Fabbro <bicatali@gentoo.org>
Date: Fri, 11 Sep 2009 02:19:51 +0000
Subject: Fixed glibc bug #275020, thanks  Andrew Savchenko, and add missing
 header Package-Manager: portage-2.2_rc40/cvs/Linux x86_64

---
 sci-physics/paw/files/paw-2.14.04-glibc-2.10.patch      | 11 +++++++++++
 sci-physics/paw/files/paw-2.14.04-missing-headers.patch | 11 +++++++++++
 2 files changed, 22 insertions(+)
 create mode 100644 sci-physics/paw/files/paw-2.14.04-glibc-2.10.patch
 create mode 100644 sci-physics/paw/files/paw-2.14.04-missing-headers.patch

(limited to 'sci-physics/paw/files')

diff --git a/sci-physics/paw/files/paw-2.14.04-glibc-2.10.patch b/sci-physics/paw/files/paw-2.14.04-glibc-2.10.patch
new file mode 100644
index 000000000000..7cfa5aa03d12
--- /dev/null
+++ b/sci-physics/paw/files/paw-2.14.04-glibc-2.10.patch
@@ -0,0 +1,11 @@
+--- src/pawlib/paw/cpaw/bugrep.c.orig	2009-07-13 00:38:38.000000000 +0400
++++ src/pawlib/paw/cpaw/bugrep.c	2009-07-13 08:47:54.934308924 +0400
+@@ -20,6 +20,8 @@
+  * Paw
+  *
+  */
++#define _POSIX_SOURCE
++
+ #include "paw/pilot.h"
+ #if defined(CERNLIB_BUGREPORT)
+ /*CMZ :  2.07/19 21/11/95  18.17.13  by  Unknown*/
diff --git a/sci-physics/paw/files/paw-2.14.04-missing-headers.patch b/sci-physics/paw/files/paw-2.14.04-missing-headers.patch
new file mode 100644
index 000000000000..5a1f76ed1542
--- /dev/null
+++ b/sci-physics/paw/files/paw-2.14.04-missing-headers.patch
@@ -0,0 +1,11 @@
+--- src/pawlib/comis/deccc/cs_hlshl.c.orig	2009-09-10 01:14:51.000000000 +0100
++++ src/pawlib/comis/deccc/cs_hlshl.c	2009-09-10 01:16:19.000000000 +0100
+@@ -61,7 +61,7 @@
+ #endif
+ 
+ #include <sys/time.h>
+-
++#include <stdlib.h>
+ #include <signal.h>
+ #include <string.h>
+ 
-- 
cgit v1.2.3-65-gdbad