|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
#
|
|
|
# Filename: package/.../perl/unistd.patch
|
|
|
# Copyright (C) 2008 The OpenSDE Project
|
|
|
#
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
#
|
|
|
# This patch file is dual-licensed. It is available under the license the
|
|
|
# patched project is licensed under, as long as it is an OpenSource license
|
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
|
|
# of the GNU General Public License as published by the Free Software
|
|
|
# Foundation; either version 2 of the License, or (at your option) any later
|
|
|
# version.
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
|
|
--- perl-5.8.8/perl.h.orig 2008-09-12 18:46:18.000000000 +0300
|
|
|
+++ perl-5.8.8/perl.h 2008-09-12 18:47:35.000000000 +0300
|
|
|
@@ -2928,12 +2928,14 @@
|
|
|
|
|
|
#ifndef __cplusplus
|
|
|
#ifndef UNDER_CE
|
|
|
+#ifndef I_UNISTD
|
|
|
Uid_t getuid (void);
|
|
|
Uid_t geteuid (void);
|
|
|
Gid_t getgid (void);
|
|
|
Gid_t getegid (void);
|
|
|
#endif
|
|
|
#endif
|
|
|
+#endif
|
|
|
|
|
|
#ifndef Perl_debug_log
|
|
|
# define Perl_debug_log PerlIO_stderr()
|
|
|
--- perl-5.8.8/uconfig.h.orig 2008-09-12 18:50:36.000000000 +0300
|
|
|
+++ perl-5.8.8/uconfig.h 2008-09-12 19:05:31.000000000 +0300
|
|
|
@@ -847,7 +847,7 @@
|
|
|
* This symbol, if defined, indicates to the C program that it should
|
|
|
* include <unistd.h>.
|
|
|
*/
|
|
|
-/*#define I_UNISTD / **/
|
|
|
+#define I_UNISTD
|
|
|
|
|
|
/* I_UTIME:
|
|
|
* This symbol, if defined, indicates to the C program that it should
|