summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-09-11 02:19:51 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-09-11 02:19:51 +0000
commitdddb697dcb0333682cfd8338442316fbfc6af103 (patch)
tree87dd306bf967ef3b2ac71218e28f4203169efadd /sci-physics/paw/files
parentVersion bump (diff)
downloadhistorical-dddb697dcb0333682cfd8338442316fbfc6af103.tar.gz
historical-dddb697dcb0333682cfd8338442316fbfc6af103.tar.bz2
historical-dddb697dcb0333682cfd8338442316fbfc6af103.zip
Fixed glibc bug #275020, thanks Andrew Savchenko, and add missing header
Package-Manager: portage-2.2_rc40/cvs/Linux x86_64
Diffstat (limited to 'sci-physics/paw/files')
-rw-r--r--sci-physics/paw/files/paw-2.14.04-glibc-2.10.patch11
-rw-r--r--sci-physics/paw/files/paw-2.14.04-missing-headers.patch11
2 files changed, 22 insertions, 0 deletions
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>
+