diff options
| author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2012-02-05 21:05:01 -0600 |
|---|---|---|
| committer | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2012-02-05 21:05:01 -0600 |
| commit | 6f8b866845784fe0607730e1255950b5e5b00312 (patch) | |
| tree | 7b5a85d97886fec923cc148fb1bb617c3383c585 | |
| parent | 74df7b30e3bfa54e8567d5933ad4f6fe0ff50dda (diff) | |
| download | cygwin-6f8b866845784fe0607730e1255950b5e5b00312.tar.gz cygwin-6f8b866845784fe0607730e1255950b5e5b00312.tar.xz cygwin-6f8b866845784fe0607730e1255950b5e5b00312.zip | |
cygwin 1.7.10-1
| -rw-r--r-- | cygwin-1.7.9-fenv.h.patch | 15 | ||||
| -rw-r--r-- | cygwin-1.7.9-paths.h.patch | 19 | ||||
| -rw-r--r-- | cygwin-1.7.9-process.h.patch | 48 | ||||
| -rw-r--r-- | cygwin-1.7.9-strdupa.patch | 28 | ||||
| -rw-r--r-- | cygwin-1.7.9-sysmacros.h.patch | 80 | ||||
| -rw-r--r-- | cygwin-1.7.9-unistd.h.patch | 20 | ||||
| -rw-r--r-- | cygwin.spec | 24 | ||||
| -rw-r--r-- | sources | 2 |
8 files changed, 8 insertions, 228 deletions
diff --git a/cygwin-1.7.9-fenv.h.patch b/cygwin-1.7.9-fenv.h.patch deleted file mode 100644 index 3c14e95..0000000 --- a/cygwin-1.7.9-fenv.h.patch +++ /dev/null @@ -1,15 +0,0 @@ -=================================================================== -RCS file: /cvs/src/src/winsup/cygwin/include/fenv.h,v -retrieving revision 1.1 -retrieving revision 1.2 -diff -u -r1.1 -r1.2 ---- src/winsup/cygwin/include/fenv.h 2010/09/11 06:53:28 1.1 -+++ src/winsup/cygwin/include/fenv.h 2011/04/24 11:54:06 1.2 -@@ -9,6 +9,7 @@ - details. */ - - #ifndef _FENV_H_ -+#define _FENV_H_ - - #ifdef __cplusplus - extern "C" { diff --git a/cygwin-1.7.9-paths.h.patch b/cygwin-1.7.9-paths.h.patch deleted file mode 100644 index ca4bd52..0000000 --- a/cygwin-1.7.9-paths.h.patch +++ /dev/null @@ -1,19 +0,0 @@ -=================================================================== -RCS file: /cvs/src/src/winsup/cygwin/include/paths.h,v -retrieving revision 1.6 -diff -u -p -r1.6 paths.h ---- src/winsup/cygwin/include/paths.h 2 Nov 2010 17:38:36 -0000 1.6 -+++ src/winsup/cygwin/include/paths.h 19 Aug 2011 20:08:11 -0000 -@@ -17,10 +17,12 @@ details. */ - #define _PATH_DEV "/dev/" - #define _PATH_DEVNULL "/dev/null" - #define _PATH_LASTLOG "/var/log/lastlog" -+#define _PATH_MAILDIR "/var/spool/mail/" - #define _PATH_MAN "/usr/share/man" - #define _PATH_MEM "/dev/mem" - #define _PATH_MNTTAB "/etc/fstab" - #define _PATH_MOUNTED "/etc/mtab" -+#define _PATH_SHELLS "/etc/shells" - #define _PATH_STDPATH "/bin:/usr/sbin:/sbin" - #define _PATH_TMP "/tmp/" - #define _PATH_TTY "/dev/tty" diff --git a/cygwin-1.7.9-process.h.patch b/cygwin-1.7.9-process.h.patch deleted file mode 100644 index 9f5f8c2..0000000 --- a/cygwin-1.7.9-process.h.patch +++ /dev/null @@ -1,48 +0,0 @@ -=================================================================== -RCS file: /cvs/src/src/newlib/libc/include/process.h,v -retrieving revision 1.4 -retrieving revision 1.5 -diff -u -r1.4 -r1.5 ---- src/newlib/libc/include/process.h 2002/06/11 02:26:43 1.4 -+++ src/newlib/libc/include/process.h 2011/08/19 14:29:34 1.5 -@@ -1,4 +1,5 @@ --/* process.h. This file comes with MSDOS and WIN32 systems. */ -+/* process.h. Define spawn family of functions as provided by Cygwin. -+ The original file of this name is a MS/DOS invention. */ - - #ifndef __PROCESS_H_ - #define __PROCESS_H_ -@@ -7,15 +8,7 @@ - extern "C" { - #endif - --int execl(const char *path, const char *argv0, ...); --int execle(const char *path, const char *argv0, ... /*, char * const *envp */); --int execlp(const char *path, const char *argv0, ...); --int execlpe(const char *path, const char *argv0, ... /*, char * const *envp */); -- --int execv(const char *path, char * const *argv); --int execve(const char *path, char * const *argv, char * const *envp); --int execvp(const char *path, char * const *argv); --int execvpe(const char *path, char * const *argv, char * const *envp); -+/* For the exec functions, include unistd.h. */ - - int spawnl(int mode, const char *path, const char *argv0, ...); - int spawnle(int mode, const char *path, const char *argv0, ... /*, char * const *envp */); -=================================================================== -RCS file: /cvs/src/src/newlib/libc/include/sys/unistd.h,v -retrieving revision 1.78 -retrieving revision 1.79 -diff -u -r1.78 -r1.79 ---- src/newlib/libc/include/sys/unistd.h 2011/07/20 01:14:50 1.78 -+++ src/newlib/libc/include/sys/unistd.h 2011/08/19 14:29:34 1.79 -@@ -46,6 +46,9 @@ - int _EXFUN(execl, (const char *__path, const char *, ... )); - int _EXFUN(execle, (const char *__path, const char *, ... )); - int _EXFUN(execlp, (const char *__file, const char *, ... )); -+#if defined(__CYGWIN__) -+int _EXFUN(execlpe, (const char *__file, const char *, ... )); -+#endif - int _EXFUN(execv, (const char *__path, char * const __argv[] )); - int _EXFUN(execve, (const char *__path, char * const __argv[], char * const __envp[] )); - int _EXFUN(execvp, (const char *__file, char * const __argv[] )); diff --git a/cygwin-1.7.9-strdupa.patch b/cygwin-1.7.9-strdupa.patch deleted file mode 100644 index d1ec29e..0000000 --- a/cygwin-1.7.9-strdupa.patch +++ /dev/null @@ -1,28 +0,0 @@ -=================================================================== -RCS file: /cvs/src/src/newlib/libc/include/string.h,v -retrieving revision 1.28 -retrieving revision 1.29 -diff -u -r1.28 -r1.29 ---- src/newlib/libc/include/string.h 2011/05/25 18:41:10 1.28 -+++ src/newlib/libc/include/string.h 2011/06/10 18:30:38 1.29 -@@ -96,6 +96,20 @@ - int _EXFUN(strtosigno, (const char *__name)); - #endif - -+#if defined _GNU_SOURCE && defined __GNUC__ -+#define strdupa(__s) \ -+ (__extension__ ({const char *__in = (__s); \ -+ size_t __len = strlen (__in) + 1; \ -+ char * __out = (char *) __builtin_alloca (__len); \ -+ (char *) memcpy (__out, __in, __len);})) -+#define strndupa(__s, __n) \ -+ (__extension__ ({const char *__in = (__s); \ -+ size_t __len = strnlen (__in, (__n)) + 1; \ -+ char *__out = (char *) __builtin_alloca (__len); \ -+ __out[__len-1] = '\0'; \ -+ (char *) memcpy (__out, __in, __len-1);})) -+#endif /* _GNU_SOURCE && __GNUC__ */ -+ - /* These function names are used on Windows and perhaps other systems. */ - #ifndef strcmpi - #define strcmpi strcasecmp diff --git a/cygwin-1.7.9-sysmacros.h.patch b/cygwin-1.7.9-sysmacros.h.patch deleted file mode 100644 index 5b3602f..0000000 --- a/cygwin-1.7.9-sysmacros.h.patch +++ /dev/null @@ -1,80 +0,0 @@ -=================================================================== -RCS file: /cvs/src/src/winsup/cygwin/include/cygwin/types.h,v -retrieving revision 1.33 -retrieving revision 1.35 -diff -u -r1.33 -r1.35 ---- src/winsup/cygwin/include/cygwin/types.h 2011/03/29 10:32:40 1.33 -+++ src/winsup/cygwin/include/cygwin/types.h 2011/04/05 00:53:17 1.35 -@@ -9,15 +9,14 @@ - Cygwin license. Please consult the file "CYGWIN_LICENSE" for - details. */ - -+#ifndef _CYGWIN_TYPES_H -+#define _CYGWIN_TYPES_H -+ - #ifdef __cplusplus - extern "C" - { - #endif - --#ifndef _CYGWIN_TYPES_H --#define _CYGWIN_TYPES_H -- --#include <sys/sysmacros.h> - #include <stdint.h> - #include <endian.h> - -@@ -218,8 +217,12 @@ - /* semaphores types */ - typedef class semaphore *sem_t; - #endif /* __INSIDE_CYGWIN__ */ --#endif /* _CYGWIN_TYPES_H */ -+ -+/* this header needs the dev_t typedef */ -+#include <sys/sysmacros.h> - - #ifdef __cplusplus - } - #endif -+ -+#endif /* _CYGWIN_TYPES_H */ -RCS file: /cvs/src/src/winsup/cygwin/include/sys/sysmacros.h,v -retrieving revision 1.4 -retrieving revision 1.5 -diff -u -r1.4 -r1.5 ---- src/winsup/cygwin/include/sys/sysmacros.h 2010/02/26 09:36:21 1.4 -+++ src/winsup/cygwin/include/sys/sysmacros.h 2011/04/05 00:53:17 1.5 -@@ -11,8 +11,30 @@ - #ifndef _SYS_SYSMACROS_H - #define _SYS_SYSMACROS_H - --#define major(dev) ((int)(((dev) >> 16) & 0xffff)) --#define minor(dev) ((int)((dev) & 0xffff)) --#define makedev(major, minor) (((major) << 16) | ((minor) & 0xffff)) -+_ELIDABLE_INLINE int gnu_dev_major(dev_t); -+_ELIDABLE_INLINE int gnu_dev_minor(dev_t); -+_ELIDABLE_INLINE dev_t gnu_dev_makedev(int, int); -+ -+_ELIDABLE_INLINE int -+gnu_dev_major(dev_t dev) -+{ -+ return (int)(((dev) >> 16) & 0xffff); -+} -+ -+_ELIDABLE_INLINE int -+gnu_dev_minor(dev_t dev) -+{ -+ return (int)((dev) & 0xffff); -+} -+ -+_ELIDABLE_INLINE dev_t -+gnu_dev_makedev(int maj, int min) -+{ -+ return (((maj) << 16) | ((min) & 0xffff)); -+} -+ -+#define major(dev) gnu_dev_major(dev) -+#define minor(dev) gnu_dev_minor(dev) -+#define makedev(maj, min) gnu_dev_makedev(maj, min) - - #endif /* _SYS_SYSMACROS_H */ diff --git a/cygwin-1.7.9-unistd.h.patch b/cygwin-1.7.9-unistd.h.patch deleted file mode 100644 index 579d0ae..0000000 --- a/cygwin-1.7.9-unistd.h.patch +++ /dev/null @@ -1,20 +0,0 @@ -=================================================================== -RCS file: /cvs/src/src/newlib/libc/include/sys/unistd.h,v -retrieving revision 1.77 -retrieving revision 1.78 -diff -u -r1.77 -r1.78 ---- src/newlib/libc/include/sys/unistd.h 2010/10/08 15:28:49 1.77 -+++ src/newlib/libc/include/sys/unistd.h 2011/07/20 01:14:50 1.78 -@@ -487,10 +487,11 @@ - #define _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS 16 - #define _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS 17 - #define _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS -+#define _CS_XBS5_WIDTH_RESTRICTED_ENVS _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS - #define _CS_POSIX_V7_THREADS_CFLAGS 18 - #define _CS_POSIX_V7_THREADS_LDFLAGS 19 - #define _CS_V7_ENV 20 --#define _CS_V6_ENV _CS_V6_ENV -+#define _CS_V6_ENV _CS_V7_ENV - #endif - - #ifndef __CYGWIN__ diff --git a/cygwin.spec b/cygwin.spec index ba7a40c..9ee752b 100644 --- a/cygwin.spec +++ b/cygwin.spec @@ -5,8 +5,8 @@ %define __find_provides %{_cygwin_findprovides} Name: cygwin -Version: 1.7.9 -Release: 3 +Version: 1.7.10 +Release: 1 Summary: Cygwin cross-compiler runtime License: GPLv2 with exceptions @@ -16,12 +16,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Source0: ftp://sourceware.org/pub/cygwin/release/cygwin/cygwin-%{version}-1-src.tar.bz2 -Patch0: cygwin-1.7.9-fenv.h.patch -Patch1: cygwin-1.7.9-sysmacros.h.patch -Patch2: cygwin-1.7.9-paths.h.patch -Patch3: cygwin-1.7.9-process.h.patch -Patch4: cygwin-1.7.9-strdupa.patch -Patch5: cygwin-1.7.9-unistd.h.patch BuildRequires: cygwin-filesystem >= 2 BuildRequires: cygwin-binutils @@ -39,15 +33,6 @@ Cygwin cross-compiler runtime, base libraries. %prep %setup -q -n cygwin-%{version}-1 -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 - -# code still has some warnings with gcc4.5 (remove for 1.7.10) -sed -i -e 's| -Werror | |' winsup/cygwin/Makefile.in %build @@ -99,6 +84,11 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Feb 05 2012 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> - 1.7.10-1 +- Version bump; removed all patches incorporated upstream. +- New headers: error.h, tgmath.h. +- 35 new APIs. + * Sun Aug 21 2011 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> - 1.7.9-3 - Remove <unctrl.h>, which is to be provided by cygwin-ncurses. - Added _PATH_MAILDIR and _PATH_SHELLS to <paths.h>. @@ -1 +1 @@ -a8264dc88226e07eeee8127748b1a20f cygwin-1.7.9-1-src.tar.bz2 +4944b30d22f7dd507118787ff6991afa cygwin-1.7.10-1-src.tar.bz2 |
