<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2011-03-21)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-03-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
* console.c: Make device file optional.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/shared/ChangeLog.diff?r1=text&tr1=1.185&r2=text&tr2=1.186&diff_format=h">M</a></td><td width='1%'>1.186</td><td width='100%'>c/src/lib/libbsp/shared/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/shared/console.c.diff?r1=text&tr1=1.15&r2=text&tr2=1.16&diff_format=h">M</a></td><td width='1%'>1.16</td><td width='100%'>c/src/lib/libbsp/shared/console.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/shared/ChangeLog:1.185 rtems/c/src/lib/libbsp/shared/ChangeLog:1.186
--- rtems/c/src/lib/libbsp/shared/ChangeLog:1.185 Wed Mar 16 15:06:04 2011
+++ rtems/c/src/lib/libbsp/shared/ChangeLog Mon Mar 21 03:19:19 2011
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2011-03-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * console.c: Make device file optional.
+
</font> 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1729/cpukit
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/shared/console.c:1.15 rtems/c/src/lib/libbsp/shared/console.c:1.16
--- rtems/c/src/lib/libbsp/shared/console.c:1.15 Mon Feb 28 09:11:48 2011
+++ rtems/c/src/lib/libbsp/shared/console.c Mon Mar 21 03:19:19 2011
</font><font color='#997700'>@@ -242,9 +242,11 @@
</font> rtems_fatal_error_occurred(sc);
}
}
<font color='#880000'>- sc = rtems_io_register_name(device->sDeviceName, major, minor);
- if (sc != RTEMS_SUCCESSFUL) {
- rtems_fatal_error_occurred(sc);
</font><font color='#000088'>+ if (device->sDeviceName != NULL) {
+ sc = rtems_io_register_name(device->sDeviceName, major, minor);
+ if (sc != RTEMS_SUCCESSFUL) {
+ rtems_fatal_error_occurred(sc);
+ }
</font> }
}
}
</pre>
<p> </p>
<a name='cs2'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-03-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1770/bsps
* shared/console/conscfg.c: Rely on default device file registration.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/sparc64/ChangeLog.diff?r1=text&tr1=1.8&r2=text&tr2=1.9&diff_format=h">M</a></td><td width='1%'>1.9</td><td width='100%'>c/src/lib/libbsp/sparc64/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/sparc64/shared/console/conscfg.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>c/src/lib/libbsp/sparc64/shared/console/conscfg.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/sparc64/ChangeLog:1.8 rtems/c/src/lib/libbsp/sparc64/ChangeLog:1.9
--- rtems/c/src/lib/libbsp/sparc64/ChangeLog:1.8 Wed Feb 2 09:00:46 2011
+++ rtems/c/src/lib/libbsp/sparc64/ChangeLog Mon Mar 21 03:21:41 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-03-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ PR 1770/bsps
+ * shared/console/conscfg.c: Rely on default device file registration.
+
</font> 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/sparc64/shared/console/conscfg.c:1.2 rtems/c/src/lib/libbsp/sparc64/shared/console/conscfg.c:1.3
--- rtems/c/src/lib/libbsp/sparc64/shared/console/conscfg.c:1.2 Tue Jul 27 10:55:07 2010
+++ rtems/c/src/lib/libbsp/sparc64/shared/console/conscfg.c Mon Mar 21 03:21:41 2011
</font><font color='#997700'>@@ -69,7 +69,7 @@
</font>
console_tbl Console_Port_Tbl[] = {
{
<font color='#880000'>- "/dev/console", /* sDeviceName */
</font><font color='#000088'>+ NULL, /* sDeviceName */
</font> SERIAL_CUSTOM,<span style="background-color: #FF0000"> </span> /* deviceType */
&pooled_functions, /* pDeviceFns */
NULL,<span style="background-color: #FF0000"> </span> /* deviceProbe, assume it is there */
</pre>
<p> </p>
<a name='cs3'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Update to zlib-1.2.5.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/zlib/ChangeLog.zlib.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>cpukit/zlib/ChangeLog.zlib</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/zlib/adler32.c.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>cpukit/zlib/adler32.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/zlib/compress.c.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>cpukit/zlib/compress.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/zlib/crc32.c.diff?r1=text&tr1=1.8&r2=text&tr2=1.9&diff_format=h">M</a></td><td width='1%'>1.9</td><td width='100%'>cpukit/zlib/crc32.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/zlib/deflate.h.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>cpukit/zlib/deflate.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/zlib/deflate.c.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>cpukit/zlib/deflate.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/zlib/gzguts.h.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>cpukit/zlib/gzguts.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/zlib/gzlib.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/zlib/gzlib.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/zlib/gzread.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>cpukit/zlib/gzread.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/zlib/inffast.h.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>cpukit/zlib/inffast.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/zlib/inffast.c.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>cpukit/zlib/inffast.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/zlib/inftrees.h.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>cpukit/zlib/inftrees.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/zlib/inftrees.c.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>cpukit/zlib/inftrees.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/zlib/trees.h.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>cpukit/zlib/trees.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/zlib/trees.c.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>cpukit/zlib/trees.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/zlib/uncompr.c.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>cpukit/zlib/uncompr.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/zlib/zlib.h.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>cpukit/zlib/zlib.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/zlib/zutil.h.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>cpukit/zlib/zutil.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/zlib/zutil.c.diff?r1=text&tr1=1.9&r2=text&tr2=1.10&diff_format=h">M</a></td><td width='1%'>1.10</td><td width='100%'>cpukit/zlib/zutil.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/zlib/ChangeLog.zlib:1.3 rtems/cpukit/zlib/ChangeLog.zlib:1.4
--- rtems/cpukit/zlib/ChangeLog.zlib:1.3 Mon Mar 22 13:42:48 2010
+++ rtems/cpukit/zlib/ChangeLog.zlib Sat Mar 19 02:42:48 2011
</font><font color='#997700'>@@ -1,6 +1,84 @@
</font>
ChangeLog file for zlib
<font color='#000088'>+Changes in 1.2.5 (19 Apr 2010)
+- Disable visibility attribute in win32/Makefile.gcc [Bar-Lev]
+- Default to libdir as sharedlibdir in configure [Nieder]
+- Update copyright dates on modified source files
+- Update trees.c to be able to generate modified trees.h
+- Exit configure for MinGW, suggesting win32/Makefile.gcc
+
+Changes in 1.2.4.5 (18 Apr 2010)
+- Set sharedlibdir in configure [Torok]
+- Set LDFLAGS in Makefile.in [Bar-Lev]
+- Avoid mkdir objs race condition in Makefile.in [Bowler]
+- Add ZLIB_INTERNAL in front of internal inter-module functions and arrays
+- Define ZLIB_INTERNAL to hide internal functions and arrays for GNU C
+- Don't use hidden attribute when it is a warning generator (e.g. Solaris)
+
+Changes in 1.2.4.4 (18 Apr 2010)
+- Fix CROSS_PREFIX executable testing, CHOST extract, mingw* [Torok]
+- Undefine _LARGEFILE64_SOURCE in zconf.h if it is zero, but not if empty
+- Try to use bash or ksh regardless of functionality of /bin/sh
+- Fix configure incompatibility with NetBSD sh
+- Remove attempt to run under bash or ksh since have better NetBSD fix
+- Fix win32/Makefile.gcc for MinGW [Bar-Lev]
+- Add diagnostic messages when using CROSS_PREFIX in configure
+- Added --sharedlibdir option to configure [Weigelt]
+- Use hidden visibility attribute when available [Frysinger]
+
+Changes in 1.2.4.3 (10 Apr 2010)
+- Only use CROSS_PREFIX in configure for ar and ranlib if they exist
+- Use CROSS_PREFIX for nm [Bar-Lev]
+- Assume _LARGEFILE64_SOURCE defined is equivalent to true
+- Avoid use of undefined symbols in #if with && and ||
+- Make *64 prototypes in gzguts.h consistent with functions
+- Add -shared load option for MinGW in configure [Bowler]
+- Move z_off64_t to public interface, use instead of off64_t
+- Remove ! from shell test in configure (not portable to Solaris)
+- Change +0 macro tests to -0 for possibly increased portability
+
+Changes in 1.2.4.2 (9 Apr 2010)
+- Add consistent carriage returns to readme.txt's in masmx86 and masmx64
+- Really provide prototypes for *64 functions when building without LFS
+- Only define unlink() in minigzip.c if unistd.h not included
+- Update README to point to contrib/vstudio project files
+- Move projects/vc6 to old/ and remove projects/
+- Include stdlib.h in minigzip.c for setmode() definition under WinCE
+- Clean up assembler builds in win32/Makefile.msc [Rowe]
+- Include sys/types.h for Microsoft for off_t definition
+- Fix memory leak on error in gz_open()
+- Symbolize nm as $NM in configure [Weigelt]
+- Use TEST_LDSHARED instead of LDSHARED to link test programs [Weigelt]
+- Add +0 to _FILE_OFFSET_BITS and _LFS64_LARGEFILE in case not defined
+- Fix bug in gzeof() to take into account unused input data
+- Avoid initialization of structures with variables in puff.c
+- Updated win32/README-WIN32.txt [Rowe]
+
+Changes in 1.2.4.1 (28 Mar 2010)
+- Remove the use of [a-z] constructs for sed in configure [gentoo 310225]
+- Remove $(SHAREDLIB) from LIBS in Makefile.in [Creech]
+- Restore "for debugging" comment on sprintf() in gzlib.c
+- Remove fdopen for MVS from gzguts.h
+- Put new README-WIN32.txt in win32 [Rowe]
+- Add check for shell to configure and invoke another shell if needed
+- Fix big fat stinking bug in gzseek() on uncompressed files
+- Remove vestigial F_OPEN64 define in zutil.h
+- Set and check the value of _LARGEFILE_SOURCE and _LARGEFILE64_SOURCE
+- Avoid errors on non-LFS systems when applications define LFS macros
+- Set EXE to ".exe" in configure for MINGW [Kahle]
+- Match crc32() in crc32.c exactly to the prototype in zlib.h [Sherrill]
+- Add prefix for cross-compilation in win32/makefile.gcc [Bar-Lev]
+- Add DLL install in win32/makefile.gcc [Bar-Lev]
+- Allow Linux* or linux* from uname in configure [Bar-Lev]
+- Allow ldconfig to be redefined in configure and Makefile.in [Bar-Lev]
+- Add cross-compilation prefixes to configure [Bar-Lev]
+- Match type exactly in gz_load() invocation in gzread.c
+- Match type exactly of zcalloc() in zutil.c to zlib.h alloc_func
+- Provide prototypes for *64 functions when building zlib without LFS
+- Don't use -lc when linking shared library on MinGW
+- Remove errno.h check in configure and vestigial errno code in zutil.h
+
</font> Changes in 1.2.4 (14 Mar 2010)
- Fix VER3 extraction in configure for no fourth subversion
- Update zlib.3, add docs to Makefile.in to make .pdf out of it
<font color='#997700'>@@ -99,7 +177,7 @@
</font> - Correct email address in configure for system options
- Update make_vms.com and add make_vms.com to contrib/minizip [Zinser]
- Update zlib.map [Brown]
<font color='#880000'>-- Fix Makefile.in for Solaris 10 make of example64 and minizip64 [Tšršk]
</font><font color='#000088'>+- Fix Makefile.in for Solaris 10 make of example64 and minizip64 [Torok]
</font> - Apply various fixes to CMakeLists.txt [Lowman]
- Add checks on len in gzread() and gzwrite()
- Add error message for no more room for gzungetc()
<font color='#006600'>diff -u rtems/cpukit/zlib/adler32.c:1.6 rtems/cpukit/zlib/adler32.c:1.7
--- rtems/cpukit/zlib/adler32.c:1.6 Sat Mar 27 09:39:19 2010
+++ rtems/cpukit/zlib/adler32.c Sat Mar 19 02:42:48 2011
</font><font color='#997700'>@@ -160,7 +160,6 @@
</font> return adler32_combine_(adler1, adler2, len2);
}
<font color='#880000'>-#if (defined(_LARGEFILE64_SOURCE)||(_FILE_OFFSET_BITS == 64))
</font> uLong ZEXPORT adler32_combine64(adler1, adler2, len2)
uLong adler1;
uLong adler2;
<font color='#997700'>@@ -168,4 +167,3 @@
</font> {
return adler32_combine_(adler1, adler2, len2);
}
<font color='#880000'>-#endif /* (defined(_LARGEFILE64_SOURCE)||(_FILE_OFFSET_BITS == 64)) */
</font>
<font color='#006600'>diff -u rtems/cpukit/zlib/crc32.c:1.8 rtems/cpukit/zlib/crc32.c:1.9
--- rtems/cpukit/zlib/crc32.c:1.8 Sat Mar 27 09:39:19 2010
+++ rtems/cpukit/zlib/crc32.c Sat Mar 19 02:42:48 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /* crc32.c -- compute the CRC-32 of a data stream
<font color='#880000'>- * Copyright (C) 1995-2006 Mark Adler
</font><font color='#000088'>+ * Copyright (C) 1995-2006, 2010 Mark Adler
</font> * For conditions of distribution and use, see copyright notice in zlib.h
*
* Thanks to Rodney Brown <rbrown64@csc.com.au> for his contribution of faster
<font color='#997700'>@@ -433,7 +433,6 @@
</font> return crc32_combine_(crc1, crc2, len2);
}
<font color='#880000'>-#if (defined(_LARGEFILE64_SOURCE)||(_FILE_OFFSET_BITS == 64))
</font> uLong ZEXPORT crc32_combine64(crc1, crc2, len2)
uLong crc1;
uLong crc2;
<font color='#997700'>@@ -441,4 +440,3 @@
</font> {
return crc32_combine_(crc1, crc2, len2);
}
<font color='#880000'>-#endif /* (defined(_LARGEFILE64_SOURCE)||(_FILE_OFFSET_BITS == 64)) */
</font>
<font color='#006600'>diff -u rtems/cpukit/zlib/deflate.h:1.4 rtems/cpukit/zlib/deflate.h:1.5
--- rtems/cpukit/zlib/deflate.h:1.4 Mon Mar 22 13:42:50 2010
+++ rtems/cpukit/zlib/deflate.h Sat Mar 19 02:42:49 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /* deflate.h -- internal compression state
<font color='#880000'>- * Copyright (C) 1995-2009 Jean-loup Gailly
</font><font color='#000088'>+ * Copyright (C) 1995-2010 Jean-loup Gailly
</font> * For conditions of distribution and use, see copyright notice in zlib.h
*/
<font color='#997700'>@@ -290,13 +290,13 @@
</font> memory checker errors from longest match routines */
/* in trees.c */
<font color='#880000'>-void _tr_init OF((deflate_state *s));
-int _tr_tally OF((deflate_state *s, unsigned dist, unsigned lc));
-void _tr_flush_block OF((deflate_state *s, charf *buf, ulg stored_len,
- int last));
-void _tr_align OF((deflate_state *s));
-void _tr_stored_block OF((deflate_state *s, charf *buf, ulg stored_len,
- int last));
</font><font color='#000088'>+void ZLIB_INTERNAL _tr_init OF((deflate_state *s));
+int ZLIB_INTERNAL _tr_tally OF((deflate_state *s, unsigned dist, unsigned lc));
+void ZLIB_INTERNAL _tr_flush_block OF((deflate_state *s, charf *buf,
+ ulg stored_len, int last));
+void ZLIB_INTERNAL _tr_align OF((deflate_state *s));
+void ZLIB_INTERNAL _tr_stored_block OF((deflate_state *s, charf *buf,
+ ulg stored_len, int last));
</font>
#define d_code(dist) \
((dist) < 256 ? _dist_code[dist] : _dist_code[256+((dist)>>7)])
<font color='#997700'>@@ -309,11 +309,11 @@
</font> /* Inline versions of _tr_tally for speed: */
#if defined(GEN_TREES_H) || !defined(STDC)
<font color='#880000'>- extern uch _length_code[];
- extern uch _dist_code[];
</font><font color='#000088'>+ extern uch ZLIB_INTERNAL _length_code[];
+ extern uch ZLIB_INTERNAL _dist_code[];
</font> #else
<font color='#880000'>- extern const uch _length_code[];
- extern const uch _dist_code[];
</font><font color='#000088'>+ extern const uch ZLIB_INTERNAL _length_code[];
+ extern const uch ZLIB_INTERNAL _dist_code[];
</font> #endif
# define _tr_tally_lit(s, c, flush) \
<font color='#006600'>diff -u rtems/cpukit/zlib/deflate.c:1.5 rtems/cpukit/zlib/deflate.c:1.6
--- rtems/cpukit/zlib/deflate.c:1.5 Mon Mar 22 13:42:50 2010
+++ rtems/cpukit/zlib/deflate.c Sat Mar 19 02:42:48 2011
</font><font color='#997700'>@@ -52,7 +52,7 @@
</font> #include "deflate.h"
const char deflate_copyright[] =
<font color='#880000'>- " deflate 1.2.4 Copyright 1995-2010 Jean-loup Gailly and Mark Adler ";
</font><font color='#000088'>+ " deflate 1.2.5 Copyright 1995-2010 Jean-loup Gailly and Mark Adler ";
</font> /*
If you use the zlib library in a product, an acknowledgment is welcome
in the documentation of your product. If for some reason you cannot
<font color='#006600'>diff -u rtems/cpukit/zlib/gzguts.h:1.1 rtems/cpukit/zlib/gzguts.h:1.2
--- rtems/cpukit/zlib/gzguts.h:1.1 Mon Mar 22 13:42:50 2010
+++ rtems/cpukit/zlib/gzguts.h Sat Mar 19 02:42:49 2011
</font><font color='#997700'>@@ -5,14 +5,18 @@
</font>
#ifdef _LARGEFILE64_SOURCE
# ifndef _LARGEFILE_SOURCE
<font color='#880000'>-# define _LARGEFILE_SOURCE
</font><font color='#000088'>+# define _LARGEFILE_SOURCE 1
</font> # endif
# ifdef _FILE_OFFSET_BITS
# undef _FILE_OFFSET_BITS
# endif
#endif
<font color='#880000'>-#define ZLIB_INTERNAL
</font><font color='#000088'>+#if ((__GNUC__-0) * 10 + __GNUC_MINOR__-0 >= 33) && !defined(NO_VIZ)
+# define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
+#else
+# define ZLIB_INTERNAL
+#endif
</font>
#include <stdio.h>
#include "zlib.h"
<font color='#997700'>@@ -44,7 +48,7 @@
</font> #endif
/* get errno and strerror definition */
<font color='#880000'>-#if defined UNDER_CE && defined NO_ERRNO_H
</font><font color='#000088'>+#if defined UNDER_CE
</font> # include <windows.h>
# define zstrerror() gz_strwinerror((DWORD)GetLastError())
#else
<font color='#997700'>@@ -56,16 +60,12 @@
</font> # endif
#endif
<font color='#880000'>-/* MVS fdopen() */
-#ifdef __MVS__
- #pragma map (fdopen , "\174\174FDOPEN")
- FILE *fdopen(int, const char *);
-#endif
-
-#ifdef _LARGEFILE64_SOURCE
-# define z_off64_t off64_t
-#else
-# define z_off64_t z_off_t
</font><font color='#000088'>+/* provide prototypes for these when building zlib without LFS */
+#if !defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0
+ ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *));
+ ZEXTERN z_off64_t ZEXPORT gzseek64 OF((gzFile, z_off64_t, int));
+ ZEXTERN z_off64_t ZEXPORT gztell64 OF((gzFile));
+ ZEXTERN z_off64_t ZEXPORT gzoffset64 OF((gzFile));
</font> #endif
/* default i/o buffer size -- double this for output when reading */
<font color='#997700'>@@ -116,9 +116,9 @@
</font> typedef gz_state FAR *gz_statep;
/* shared functions */
<font color='#880000'>-ZEXTERN void ZEXPORT gz_error OF((gz_statep, int, const char *));
-#if defined UNDER_CE && defined NO_ERRNO_H
-ZEXTERN char ZEXPORT *gz_strwinerror OF((DWORD error));
</font><font color='#000088'>+void ZLIB_INTERNAL gz_error OF((gz_statep, int, const char *));
+#if defined UNDER_CE
+char ZLIB_INTERNAL *gz_strwinerror OF((DWORD error));
</font> #endif
/* GT_OFF(x), where x is an unsigned value, is true if x > maximum z_off64_t
<font color='#997700'>@@ -127,6 +127,6 @@
</font> #ifdef INT_MAX
# define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > INT_MAX)
#else
<font color='#880000'>-ZEXTERN unsigned ZEXPORT gz_intmax OF((void));
</font><font color='#000088'>+unsigned ZLIB_INTERNAL gz_intmax OF((void));
</font> # define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > gz_intmax())
#endif
<font color='#006600'>diff -u rtems/cpukit/zlib/gzlib.c:1.2 rtems/cpukit/zlib/gzlib.c:1.3
--- rtems/cpukit/zlib/gzlib.c:1.2 Sat Mar 27 09:39:19 2010
+++ rtems/cpukit/zlib/gzlib.c Sat Mar 19 02:42:49 2011
</font><font color='#997700'>@@ -5,7 +5,7 @@
</font>
#include "gzguts.h"
<font color='#880000'>-#ifdef _LARGEFILE64_SOURCE
</font><font color='#000088'>+#if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0
</font> # define LSEEK lseek64
#else
# define LSEEK lseek
<font color='#997700'>@@ -15,7 +15,7 @@
</font> local void gz_reset OF((gz_statep));
local gzFile gz_open OF((const char *, int, const char *));
<font color='#880000'>-#if defined UNDER_CE && defined NO_ERRNO_H
</font><font color='#000088'>+#if defined UNDER_CE
</font>
/* Map the Windows error number in ERROR to a locale-dependent error message
string and return a pointer to it. Typically, the values for ERROR come
<font color='#997700'>@@ -26,7 +26,7 @@
</font>
The gz_strwinerror function does not change the current setting of
GetLastError. */
<font color='#880000'>-char ZEXPORT *gz_strwinerror (error)
</font><font color='#000088'>+char ZLIB_INTERNAL *gz_strwinerror (error)
</font> DWORD error;
{
static char buf[1024];
<font color='#997700'>@@ -65,7 +65,7 @@
</font> return buf;
}
<font color='#880000'>-#endif /* UNDER_CE && NO_ERRNO_H */
</font><font color='#000088'>+#endif /* UNDER_CE */
</font>
/* Reset gzip file state */
local void gz_reset(state)
<font color='#997700'>@@ -172,6 +172,7 @@
</font> O_APPEND))),
0666);
if (state->fd == -1) {
<font color='#000088'>+ free(state->path);
</font> free(state);
return NULL;
}
<font color='#997700'>@@ -199,7 +200,6 @@
</font> return gz_open(path, -1, mode);
}
<font color='#880000'>-#if (defined(_LARGEFILE64_SOURCE)||(_FILE_OFFSET_BITS == 64))
</font> /* -- see zlib.h -- */
gzFile ZEXPORT gzopen64(path, mode)
const char *path;
<font color='#997700'>@@ -207,7 +207,6 @@
</font> {
return gz_open(path, -1, mode);
}
<font color='#880000'>-#endif /* (defined(_LARGEFILE64_SOURCE)||(_FILE_OFFSET_BITS == 64)) */
</font>
/* -- see zlib.h -- */
gzFile ZEXPORT gzdopen(fd, mode)
<font color='#997700'>@@ -219,7 +218,7 @@
</font>
if (fd == -1 || (path = malloc(7 + 3 * sizeof(int))) == NULL)
return NULL;
<font color='#880000'>- sprintf(path, "<fd:%d>", fd);
</font><font color='#000088'>+ sprintf(path, "<fd:%d>", fd); /* for debugging */
</font> gz = gz_open(path, fd, mode);
free(path);
return gz;
<font color='#997700'>@@ -307,7 +306,7 @@
</font> /* if within raw area while reading, just go there */
if (state->mode == GZ_READ && state->how == COPY &&
state->pos + offset >= state->raw) {
<font color='#880000'>- ret = LSEEK(state->fd, offset, SEEK_CUR);
</font><font color='#000088'>+ ret = LSEEK(state->fd, offset - state->have, SEEK_CUR);
</font> if (ret == -1)
return -1;
state->have = 0;
<font color='#997700'>@@ -388,7 +387,6 @@
</font> }
/* -- see zlib.h -- */
<font color='#880000'>-
</font> z_off64_t ZEXPORT gzoffset64(file)
gzFile file;
{
<font color='#997700'>@@ -435,7 +433,8 @@
</font> return 0;
/* return end-of-file state */
<font color='#880000'>- return state->mode == GZ_READ ? (state->eof && state->have == 0) : 0;
</font><font color='#000088'>+ return state->mode == GZ_READ ?
+ (state->eof && state->strm.avail_in == 0 && state->have == 0) : 0;
</font> }
/* -- see zlib.h -- */
<font color='#997700'>@@ -483,7 +482,7 @@
</font> memory). Simply save the error message as a static string. If there is an
allocation failure constructing the error message, then convert the error to
out of memory. */
<font color='#880000'>-void ZEXPORT gz_error(state, err, msg)
</font><font color='#000088'>+void ZLIB_INTERNAL gz_error(state, err, msg)
</font> gz_statep state;
int err;
const char *msg;
<font color='#997700'>@@ -523,7 +522,7 @@
</font> available) -- we need to do this to cover cases where 2's complement not
used, since C standard permits 1's complement and sign-bit representations,
otherwise we could just use ((unsigned)-1) >> 1 */
<font color='#880000'>-unsigned ZEXPORT gz_intmax()
</font><font color='#000088'>+unsigned ZLIB_INTERNAL gz_intmax()
</font> {
unsigned p, q;
<font color='#006600'>diff -u rtems/cpukit/zlib/gzread.c:1.1 rtems/cpukit/zlib/gzread.c:1.2
--- rtems/cpukit/zlib/gzread.c:1.1 Mon Mar 22 13:42:51 2010
+++ rtems/cpukit/zlib/gzread.c Sat Mar 19 02:42:49 2011
</font><font color='#997700'>@@ -55,7 +55,8 @@
</font> if (state->err != Z_OK)
return -1;
if (state->eof == 0) {
<font color='#880000'>- if (gz_load(state, state->in, state->size, &(strm->avail_in)) == -1)
</font><font color='#000088'>+ if (gz_load(state, state->in, state->size,
+ (unsigned *)&(strm->avail_in)) == -1)
</font> return -1;
strm->next_in = state->in;
}
<font color='#006600'>diff -u rtems/cpukit/zlib/inffast.h:1.1 rtems/cpukit/zlib/inffast.h:1.2
--- rtems/cpukit/zlib/inffast.h:1.1 Fri Oct 28 02:17:22 2005
+++ rtems/cpukit/zlib/inffast.h Sat Mar 19 02:42:49 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /* inffast.h -- header to use inffast.c
<font color='#880000'>- * Copyright (C) 1995-2003 Mark Adler
</font><font color='#000088'>+ * Copyright (C) 1995-2003, 2010 Mark Adler
</font> * For conditions of distribution and use, see copyright notice in zlib.h
*/
<font color='#997700'>@@ -8,4 +8,4 @@
</font> subject to change. Applications should only use zlib.h.
*/
<font color='#880000'>-void inflate_fast OF((z_streamp strm, unsigned start));
</font><font color='#000088'>+void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start));
</font>
<font color='#006600'>diff -u rtems/cpukit/zlib/inffast.c:1.3 rtems/cpukit/zlib/inffast.c:1.4
--- rtems/cpukit/zlib/inffast.c:1.3 Mon Mar 22 13:42:51 2010
+++ rtems/cpukit/zlib/inffast.c Sat Mar 19 02:42:49 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /* inffast.c -- fast decoding
<font color='#880000'>- * Copyright (C) 1995-2008 Mark Adler
</font><font color='#000088'>+ * Copyright (C) 1995-2008, 2010 Mark Adler
</font> * For conditions of distribution and use, see copyright notice in zlib.h
*/
<font color='#997700'>@@ -64,7 +64,7 @@
</font> requires strm->avail_out >= 258 for each loop to avoid checking for
output space.
*/
<font color='#880000'>-void inflate_fast(strm, start)
</font><font color='#000088'>+void ZLIB_INTERNAL inflate_fast(strm, start)
</font> z_streamp strm;
unsigned start; /* inflate()'s starting value for strm->avail_out */
{
<font color='#006600'>diff -u rtems/cpukit/zlib/inftrees.h:1.4 rtems/cpukit/zlib/inftrees.h:1.5
--- rtems/cpukit/zlib/inftrees.h:1.4 Mon Mar 22 13:42:51 2010
+++ rtems/cpukit/zlib/inftrees.h Sat Mar 19 02:42:49 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /* inftrees.h -- header to use inftrees.c
<font color='#880000'>- * Copyright (C) 1995-2005 Mark Adler
</font><font color='#000088'>+ * Copyright (C) 1995-2005, 2010 Mark Adler
</font> * For conditions of distribution and use, see copyright notice in zlib.h
*/
<font color='#997700'>@@ -57,6 +57,6 @@
</font> DISTS
} codetype;
<font color='#880000'>-extern int inflate_table OF((codetype type, unsigned short FAR *lens,
</font><font color='#000088'>+int ZLIB_INTERNAL inflate_table OF((codetype type, unsigned short FAR *lens,
</font> unsigned codes, code FAR * FAR *table,
unsigned FAR *bits, unsigned short FAR *work));
<font color='#006600'>diff -u rtems/cpukit/zlib/inftrees.c:1.5 rtems/cpukit/zlib/inftrees.c:1.6
--- rtems/cpukit/zlib/inftrees.c:1.5 Mon Mar 22 13:42:51 2010
+++ rtems/cpukit/zlib/inftrees.c Sat Mar 19 02:42:49 2011
</font><font color='#997700'>@@ -9,7 +9,7 @@
</font> #define MAXBITS 15
const char inflate_copyright[] =
<font color='#880000'>- " inflate 1.2.4 Copyright 1995-2010 Mark Adler ";
</font><font color='#000088'>+ " inflate 1.2.5 Copyright 1995-2010 Mark Adler ";
</font> /*
If you use the zlib library in a product, an acknowledgment is welcome
in the documentation of your product. If for some reason you cannot
<font color='#997700'>@@ -29,7 +29,7 @@
</font> table index bits. It will differ if the request is greater than the
longest code or if it is less than the shortest code.
*/
<font color='#880000'>-int inflate_table(type, lens, codes, table, bits, work)
</font><font color='#000088'>+int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work)
</font> codetype type;
unsigned short FAR *lens;
unsigned codes;
<font color='#997700'>@@ -62,7 +62,7 @@
</font> 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0};
static const unsigned short lext[31] = { /* Length codes 257..285 extra */
16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18,
<font color='#880000'>- 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 64, 195};
</font><font color='#000088'>+ 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 73, 195};
</font> static const unsigned short dbase[32] = { /* Distance codes 0..29 base */
1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193,
257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145,
<font color='#006600'>diff -u rtems/cpukit/zlib/trees.h:1.1 rtems/cpukit/zlib/trees.h:1.2
--- rtems/cpukit/zlib/trees.h:1.1 Fri Oct 28 02:16:42 2005
+++ rtems/cpukit/zlib/trees.h Sat Mar 19 02:42:49 2011
</font><font color='#997700'>@@ -70,7 +70,7 @@
</font> {{19},{ 5}}, {{11},{ 5}}, {{27},{ 5}}, {{ 7},{ 5}}, {{23},{ 5}}
};
<font color='#880000'>-const uch _dist_code[DIST_CODE_LEN] = {
</font><font color='#000088'>+const uch ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = {
</font> 0, 1, 2, 3, 4, 4, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8,
8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10,
10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
<font color='#997700'>@@ -99,7 +99,7 @@
</font> 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29
};
<font color='#880000'>-const uch _length_code[MAX_MATCH-MIN_MATCH+1]= {
</font><font color='#000088'>+const uch ZLIB_INTERNAL _length_code[MAX_MATCH-MIN_MATCH+1]= {
</font> 0, 1, 2, 3, 4, 5, 6, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 12, 12,
13, 13, 13, 13, 14, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16,
17, 17, 17, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18, 18, 18, 18, 19, 19, 19, 19,
<font color='#006600'>diff -u rtems/cpukit/zlib/trees.c:1.5 rtems/cpukit/zlib/trees.c:1.6
--- rtems/cpukit/zlib/trees.c:1.5 Mon Mar 22 13:42:52 2010
+++ rtems/cpukit/zlib/trees.c Sat Mar 19 02:42:49 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /* trees.c -- output deflated data using Huffman coding
<font color='#880000'>- * Copyright (C) 1995-2009 Jean-loup Gailly
</font><font color='#000088'>+ * Copyright (C) 1995-2010 Jean-loup Gailly
</font> * detect_data_type() function provided freely by Cosmin Truta, 2006
* For conditions of distribution and use, see copyright notice in zlib.h
*/
<font color='#997700'>@@ -351,13 +351,14 @@
</font> static_dtree[i].Len, SEPARATOR(i, D_CODES-1, 5));
}
<font color='#880000'>- fprintf(header, "const uch _dist_code[DIST_CODE_LEN] = {\n");
</font><font color='#000088'>+ fprintf(header, "const uch ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = {\n");
</font> for (i = 0; i < DIST_CODE_LEN; i++) {
fprintf(header, "%2u%s", _dist_code[i],
SEPARATOR(i, DIST_CODE_LEN-1, 20));
}
<font color='#880000'>- fprintf(header, "const uch _length_code[MAX_MATCH-MIN_MATCH+1]= {\n");
</font><font color='#000088'>+ fprintf(header,
+ "const uch ZLIB_INTERNAL _length_code[MAX_MATCH-MIN_MATCH+1]= {\n");
</font> for (i = 0; i < MAX_MATCH-MIN_MATCH+1; i++) {
fprintf(header, "%2u%s", _length_code[i],
SEPARATOR(i, MAX_MATCH-MIN_MATCH, 20));
<font color='#997700'>@@ -382,7 +383,7 @@
</font> /* ===========================================================================
* Initialize the tree data structures for a new zlib stream.
*/
<font color='#880000'>-void _tr_init(s)
</font><font color='#000088'>+void ZLIB_INTERNAL _tr_init(s)
</font> deflate_state *s;
{
tr_static_init();
<font color='#997700'>@@ -867,7 +868,7 @@
</font> /* ===========================================================================
* Send a stored block
*/
<font color='#880000'>-void _tr_stored_block(s, buf, stored_len, last)
</font><font color='#000088'>+void ZLIB_INTERNAL _tr_stored_block(s, buf, stored_len, last)
</font> deflate_state *s;
charf *buf; /* input block */
ulg stored_len; /* length of input block */
<font color='#997700'>@@ -892,7 +893,7 @@
</font> * To simplify the code, we assume the worst case of last real code encoded
* on one bit only.
*/
<font color='#880000'>-void _tr_align(s)
</font><font color='#000088'>+void ZLIB_INTERNAL _tr_align(s)
</font> deflate_state *s;
{
send_bits(s, STATIC_TREES<<1, 3);
<font color='#997700'>@@ -921,7 +922,7 @@
</font> * Determine the best encoding for the current block: dynamic trees, static
* trees or store, and output the encoded block to the zip file.
*/
<font color='#880000'>-void _tr_flush_block(s, buf, stored_len, last)
</font><font color='#000088'>+void ZLIB_INTERNAL _tr_flush_block(s, buf, stored_len, last)
</font> deflate_state *s;
charf *buf; /* input block, or NULL if too old */
ulg stored_len; /* length of input block */
<font color='#997700'>@@ -1022,7 +1023,7 @@
</font> * Save the match info and tally the frequency counts. Return true if
* the current block must be flushed.
*/
<font color='#880000'>-int _tr_tally (s, dist, lc)
</font><font color='#000088'>+int ZLIB_INTERNAL _tr_tally (s, dist, lc)
</font> deflate_state *s;
unsigned dist; /* distance of matched string */
unsigned lc; /* match length-MIN_MATCH or unmatched char (if dist==0) */
<font color='#006600'>diff -u rtems/cpukit/zlib/zlib.h:1.4 rtems/cpukit/zlib/zlib.h:1.5
--- rtems/cpukit/zlib/zlib.h:1.4 Sat Mar 27 09:39:19 2010
+++ rtems/cpukit/zlib/zlib.h Sat Mar 19 02:42:49 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /* zlib.h -- interface of the 'zlib' general purpose compression library
<font color='#880000'>- version 1.2.4, Mar 14th, 2010
</font><font color='#000088'>+ version 1.2.5, April 19th, 2010
</font>
Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler
<font color='#997700'>@@ -37,11 +37,11 @@
</font> extern "C" {
#endif
<font color='#880000'>-#define ZLIB_VERSION "1.2.4"
-#define ZLIB_VERNUM 0x1240
</font><font color='#000088'>+#define ZLIB_VERSION "1.2.5"
+#define ZLIB_VERNUM 0x1250
</font> #define ZLIB_VER_MAJOR 1
#define ZLIB_VER_MINOR 2
<font color='#880000'>-#define ZLIB_VER_REVISION 4
</font><font color='#000088'>+#define ZLIB_VER_REVISION 5
</font> #define ZLIB_VER_SUBREVISION 0
/*
<font color='#997700'>@@ -1556,29 +1556,35 @@
</font> inflateBackInit_((strm), (windowBits), (window), \
ZLIB_VERSION, sizeof(z_stream))
<font color='#880000'>-#ifdef _LARGEFILE64_SOURCE
</font><font color='#000088'>+/* provide 64-bit offset functions if _LARGEFILE64_SOURCE defined, and/or
+ * change the regular functions to 64 bits if _FILE_OFFSET_BITS is 64 (if
+ * both are true, the application gets the *64 functions, and the regular
+ * functions are changed to 64 bits) -- in case these are set on systems
+ * without large file support, _LFS64_LARGEFILE must also be true
+ */
+#if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0
</font> ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *));
<font color='#880000'>- ZEXTERN off64_t ZEXPORT gzseek64 OF((gzFile, off64_t, int));
- ZEXTERN off64_t ZEXPORT gztell64 OF((gzFile));
- ZEXTERN off64_t ZEXPORT gzoffset64 OF((gzFile));
- ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, off64_t));
- ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, off64_t));
</font><font color='#000088'>+ ZEXTERN z_off64_t ZEXPORT gzseek64 OF((gzFile, z_off64_t, int));
+ ZEXTERN z_off64_t ZEXPORT gztell64 OF((gzFile));
+ ZEXTERN z_off64_t ZEXPORT gzoffset64 OF((gzFile));
+ ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off64_t));
+ ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off64_t));
</font> #endif
<font color='#880000'>-#if !defined(ZLIB_INTERNAL) && _FILE_OFFSET_BITS == 64
</font><font color='#000088'>+#if !defined(ZLIB_INTERNAL) && _FILE_OFFSET_BITS-0 == 64 && _LFS64_LARGEFILE-0
</font> # define gzopen gzopen64
# define gzseek gzseek64
# define gztell gztell64
# define gzoffset gzoffset64
# define adler32_combine adler32_combine64
# define crc32_combine crc32_combine64
<font color='#880000'>-# ifndef _LARGEFILE64_SOURCE
</font><font color='#000088'>+# ifdef _LARGEFILE64_SOURCE
</font> ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *));
<font color='#880000'>- ZEXTERN off_t ZEXPORT gzseek64 OF((gzFile, off_t, int));
- ZEXTERN off_t ZEXPORT gztell64 OF((gzFile));
- ZEXTERN off_t ZEXPORT gzoffset64 OF((gzFile));
- ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, off_t));
- ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, off_t));
</font><font color='#000088'>+ ZEXTERN z_off_t ZEXPORT gzseek64 OF((gzFile, z_off_t, int));
+ ZEXTERN z_off_t ZEXPORT gztell64 OF((gzFile));
+ ZEXTERN z_off_t ZEXPORT gzoffset64 OF((gzFile));
+ ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off_t));
+ ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off_t));
</font> # endif
#else
ZEXTERN gzFile ZEXPORT gzopen OF((const char *, const char *));
<font color='#997700'>@@ -1587,17 +1593,14 @@
</font> ZEXTERN z_off_t ZEXPORT gzoffset OF((gzFile));
ZEXTERN uLong ZEXPORT adler32_combine OF((uLong, uLong, z_off_t));
ZEXTERN uLong ZEXPORT crc32_combine OF((uLong, uLong, z_off_t));
<font color='#880000'>-# ifndef _LARGEFILE64_SOURCE
- ZEXTERN z_off_t ZEXPORT gzseek64 OF((gzFile, z_off_t, int));
- ZEXTERN z_off_t ZEXPORT gztell64 OF((gzFile));
- ZEXTERN z_off_t ZEXPORT gzoffset64 OF((gzFile));
-# endif
</font> #endif
<font color='#000088'>+/* hack for buggy compilers */
</font> #if !defined(ZUTIL_H) && !defined(NO_DUMMY_DECL)
<font color='#880000'>- struct internal_state {int dummy;}; /* hack for buggy compilers */
</font><font color='#000088'>+ struct internal_state {int dummy;};
</font> #endif
<font color='#000088'>+/* undocumented functions */
</font> ZEXTERN const char * ZEXPORT zError OF((int));
ZEXTERN int ZEXPORT inflateSyncPoint OF((z_streamp));
ZEXTERN const uLongf * ZEXPORT get_crc_table OF((void));
<font color='#006600'>diff -u rtems/cpukit/zlib/zutil.h:1.7 rtems/cpukit/zlib/zutil.h:1.8
--- rtems/cpukit/zlib/zutil.h:1.7 Sat Mar 27 09:39:19 2010
+++ rtems/cpukit/zlib/zutil.h Sat Mar 19 02:42:49 2011
</font><font color='#997700'>@@ -13,7 +13,12 @@
</font> #ifndef ZUTIL_H
#define ZUTIL_H
<font color='#880000'>-#define ZLIB_INTERNAL
</font><font color='#000088'>+#if ((__GNUC__-0) * 10 + __GNUC_MINOR__-0 >= 33) && !defined(NO_VIZ)
+# define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
+#else
+# define ZLIB_INTERNAL
+#endif
+
</font> #include "zlib.h"
#ifdef STDC
<font color='#997700'>@@ -24,19 +29,6 @@
</font> # include <stdlib.h>
#endif
<font color='#880000'>-#if defined(UNDER_CE) && defined(NO_ERRNO_H)
-# define zseterrno(ERR) SetLastError((DWORD)(ERR))
-# define zerrno() ((int)GetLastError())
-#else
-# ifdef NO_ERRNO_H
- extern int errno;
-# else
-# include <errno.h>
-# endif
-# define zseterrno(ERR) do { errno = (ERR); } while (0)
-# define zerrno() errno
-#endif
-
</font> #ifndef local
# define local static
#endif
<font color='#997700'>@@ -167,10 +159,10 @@
</font> #pragma warn -8066
#endif
<font color='#880000'>-#ifdef _LARGEFILE64_SOURCE
-# define z_off64_t off64_t
-#else
-# define z_off64_t z_off_t
</font><font color='#000088'>+/* provide prototypes for these when building zlib without LFS */
+#if !defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0
+ ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off_t));
+ ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off_t));
</font> #endif
/* common defaults */
<font color='#997700'>@@ -183,12 +175,6 @@
</font> # define F_OPEN(name, mode) fopen((name), (mode))
#endif
<font color='#880000'>-#ifdef _LARGEFILE64_SOURCE
-# define F_OPEN64(name, mode) fopen64((name), (mode))
-#else
-# define F_OPEN64(name, mode) fopen((name), (mode))
-#endif
-
</font> /* functions */
#if defined(STDC99) || (defined(__TURBOC__) && __TURBOC__ >= 0x550)
<font color='#997700'>@@ -250,16 +236,16 @@
</font> # define zmemzero(dest, len) memset(dest, 0, len)
# endif
#else
<font color='#880000'>- extern void zmemcpy OF((Bytef* dest, const Bytef* source, uInt len));
- extern int zmemcmp OF((const Bytef* s1, const Bytef* s2, uInt len));
- extern void zmemzero OF((Bytef* dest, uInt len));
</font><font color='#000088'>+ void ZLIB_INTERNAL zmemcpy OF((Bytef* dest, const Bytef* source, uInt len));
+ int ZLIB_INTERNAL zmemcmp OF((const Bytef* s1, const Bytef* s2, uInt len));
+ void ZLIB_INTERNAL zmemzero OF((Bytef* dest, uInt len));
</font> #endif
/* Diagnostic functions */
#ifdef DEBUG
# include <stdio.h>
<font color='#880000'>- extern int z_verbose;
- extern void z_error OF((char *m));
</font><font color='#000088'>+ extern int ZLIB_INTERNAL z_verbose;
+ extern void ZLIB_INTERNAL z_error OF((char *m));
</font> # define Assert(cond,msg) {if(!(cond)) z_error(msg);}
# define Trace(x) {if (z_verbose>=0) fprintf x ;}
# define Tracev(x) {if (z_verbose>0) fprintf x ;}
<font color='#997700'>@@ -276,8 +262,9 @@
</font> #endif
<font color='#880000'>-voidpf zcalloc OF((voidpf opaque, uInt items, uInt size));
-void zcfree OF((voidpf opaque, voidpf ptr));
</font><font color='#000088'>+voidpf ZLIB_INTERNAL zcalloc OF((voidpf opaque, unsigned items,
+ unsigned size));
+void ZLIB_INTERNAL zcfree OF((voidpf opaque, voidpf ptr));
</font>
#define ZALLOC(strm, items, size) \
(*((strm)->zalloc))((strm)->opaque, (items), (size))
<font color='#006600'>diff -u rtems/cpukit/zlib/zutil.c:1.9 rtems/cpukit/zlib/zutil.c:1.10
--- rtems/cpukit/zlib/zutil.c:1.9 Sat Mar 27 09:39:19 2010
+++ rtems/cpukit/zlib/zutil.c Sat Mar 19 02:42:49 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /* zutil.c -- target dependent utility functions for the compression library
<font color='#880000'>- * Copyright (C) 1995-2005 Jean-loup Gailly.
</font><font color='#000088'>+ * Copyright (C) 1995-2005, 2010 Jean-loup Gailly.
</font> * For conditions of distribution and use, see copyright notice in zlib.h
*/
<font color='#997700'>@@ -117,9 +117,9 @@
</font> # ifndef verbose
# define verbose 0
# endif
<font color='#880000'>-int z_verbose = verbose;
</font><font color='#000088'>+int ZLIB_INTERNAL z_verbose = verbose;
</font>
<font color='#880000'>-void z_error (m)
</font><font color='#000088'>+void ZLIB_INTERNAL z_error (m)
</font> char *m;
{
fprintf(stderr, "%s\n", m);
<font color='#997700'>@@ -146,7 +146,7 @@
</font>
#ifndef HAVE_MEMCPY
<font color='#880000'>-void zmemcpy(dest, source, len)
</font><font color='#000088'>+void ZLIB_INTERNAL zmemcpy(dest, source, len)
</font> Bytef* dest;
const Bytef* source;
uInt len;
<font color='#997700'>@@ -157,7 +157,7 @@
</font> } while (--len != 0);
}
<font color='#880000'>-int zmemcmp(s1, s2, len)
</font><font color='#000088'>+int ZLIB_INTERNAL zmemcmp(s1, s2, len)
</font> const Bytef* s1;
const Bytef* s2;
uInt len;
<font color='#997700'>@@ -170,7 +170,7 @@
</font> return 0;
}
<font color='#880000'>-void zmemzero(dest, len)
</font><font color='#000088'>+void ZLIB_INTERNAL zmemzero(dest, len)
</font> Bytef* dest;
uInt len;
{
<font color='#997700'>@@ -213,7 +213,7 @@
</font> * a protected system like OS/2. Use Microsoft C instead.
*/
<font color='#880000'>-voidpf zcalloc (voidpf opaque, unsigned items, unsigned size)
</font><font color='#000088'>+voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, unsigned items, unsigned size)
</font> {
voidpf buf = opaque; /* just to make some compilers happy */
ulg bsize = (ulg)items*size;
<font color='#997700'>@@ -237,7 +237,7 @@
</font> return buf;
}
<font color='#880000'>-void zcfree (voidpf opaque, voidpf ptr)
</font><font color='#000088'>+void ZLIB_INTERNAL zcfree (voidpf opaque, voidpf ptr)
</font> {
int n;
if (*(ush*)&ptr != 0) { /* object < 64K */
<font color='#997700'>@@ -272,13 +272,13 @@
</font> # define _hfree hfree
#endif
<font color='#880000'>-voidpf zcalloc (voidpf opaque, unsigned items, unsigned size)
</font><font color='#000088'>+voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, uInt items, uInt size)
</font> {
if (opaque) opaque = 0; /* to make compiler happy */
return _halloc((long)items, size);
}
<font color='#880000'>-void zcfree (voidpf opaque, voidpf ptr)
</font><font color='#000088'>+void ZLIB_INTERNAL zcfree (voidpf opaque, voidpf ptr)
</font> {
if (opaque) opaque = 0; /* to make compiler happy */
_hfree(ptr);
<font color='#997700'>@@ -297,17 +297,17 @@
</font> extern void free OF((voidpf ptr));
#endif
<font color='#880000'>-voidpf zcalloc (opaque, items, size)
</font><font color='#000088'>+voidpf ZLIB_INTERNAL zcalloc (opaque, items, size)
</font> voidpf opaque;
<font color='#880000'>- uInt items;
- uInt size;
</font><font color='#000088'>+ unsigned items;
+ unsigned size;
</font> {
if (opaque) items += size - size; /* make compiler happy */
return sizeof(uInt) > 2 ? (voidpf)malloc(items * size) :
(voidpf)calloc(items, size);
}
<font color='#880000'>-void zcfree (opaque, ptr)
</font><font color='#000088'>+void ZLIB_INTERNAL zcfree (opaque, ptr)
</font> voidpf opaque;
voidpf ptr;
{
</pre>
<p> </p>
<a name='cs4'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Generate zconf.h from zconf.h.in.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/zlib/Makefile.am.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>cpukit/zlib/Makefile.am</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/zlib/Makefile.am:1.4 rtems/cpukit/zlib/Makefile.am:1.5
--- rtems/cpukit/zlib/Makefile.am:1.4 Mon Mar 22 13:42:49 2010
+++ rtems/cpukit/zlib/Makefile.am Sat Mar 19 02:43:11 2011
</font><font color='#997700'>@@ -24,5 +24,13 @@
</font>
include_HEADERS = zlib.h zconf.h
<font color='#000088'>+zconf.h: $(srcdir)/zconf.h.in
+ sed \
+ -e 's,#ifdef Z_PREFIX.* may be ,#if 1 /* was ,' \
+ -e 's,#ifdef HAVE_UNISTD_H.* may be ,#if 1 /* was ,' \
+ < $(srcdir)/zconf.h.in > zconf.h
+CLEANFILES = zconf.h
+EXTRA_DIST = zconf.h.in
+
</font> include $(srcdir)/preinstall.am
include $(top_srcdir)/automake/local.am
</pre>
<p> </p>
<a name='cs5'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Remove (Import cleanup).
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/zlib/treebuild.xml?rev=1.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1</font></td><td width='100%'><font color="#880000">cpukit/zlib/treebuild.xml</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/zlib/zconf.h?rev=1.9&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.9</font></td><td width='100%'><font color="#880000">cpukit/zlib/zconf.h</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/zlib/zconf.h.cmakein?rev=1.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1</font></td><td width='100%'><font color="#880000">cpukit/zlib/zconf.h.cmakein</font></td></tr>
</table>
<p> </p>
<a name='cs6'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-03-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* ChangeLog.zlib, adler32.c, compress.c, crc32.c,
deflate.c, deflate.h, gzguts.h, gzlib.c, gzread.c,
inffast.c, inffast.h, inftrees.c, inftrees.h,
trees.c, trees.h, uncompr.c, zlib.h, zutil.c, zutil.h:
Update to zlib-1.2.5.
* Makefile.am: Generate zconf.h from zconf.h.in.
* treebuild.xml, zconf.h.cmakein, zconf.h:
Remove (Import cleanup).
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/zlib/ChangeLog.diff?r1=text&tr1=1.19&r2=text&tr2=1.20&diff_format=h">M</a></td><td width='1%'>1.20</td><td width='100%'>cpukit/zlib/ChangeLog</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/zlib/ChangeLog:1.19 rtems/cpukit/zlib/ChangeLog:1.20
--- rtems/cpukit/zlib/ChangeLog:1.19 Fri Mar 18 11:56:24 2011
+++ rtems/cpukit/zlib/ChangeLog Sat Mar 19 02:43:56 2011
</font><font color='#997700'>@@ -1,3 +1,14 @@
</font><font color='#000088'>+2011-03-19 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * ChangeLog.zlib, adler32.c, compress.c, crc32.c,
+ deflate.c, deflate.h, gzguts.h, gzlib.c, gzread.c,
+ inffast.c, inffast.h, inftrees.c, inftrees.h,
+ trees.c, trees.h, uncompr.c, zlib.h, zutil.c, zutil.h:
+ Update to zlib-1.2.5.
+ * Makefile.am: Generate zconf.h from zconf.h.in.
+ * treebuild.xml, zconf.h.cmakein, zconf.h:
+ Remove (Import cleanup).
+
</font> 2011-03-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* win32/README-WIN32.txt, old/visualc6/README.txt,
</pre>
<p> </p>
<a name='cs7'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
<font color='#225522'><em>(on branch rtems-4-10-branch)</em></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Add config.status, config.sub, config.log.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/.cvsignore.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>contrib/crossrpms/.cvsignore</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/.cvsignore.diff?r1=text&tr1=1.3&r2=text&tr2=1.3.8.1&diff_format=h">M</a></td><td width='1%'>1.3.8.1</td><td width='100%'>contrib/crossrpms/.cvsignore</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/.cvsignore.diff?r1=text&tr1=1.4&r2=text&tr2=1.4.2.1&diff_format=h">M</a></td><td width='1%'>1.4.2.1</td><td width='100%'>contrib/crossrpms/.cvsignore</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/contrib/crossrpms/.cvsignore:1.4 rtems/contrib/crossrpms/.cvsignore:1.5
--- rtems/contrib/crossrpms/.cvsignore:1.4 Mon Nov 30 02:49:41 2009
+++ rtems/contrib/crossrpms/.cvsignore Sun Mar 20 01:52:50 2011
</font><font color='#997700'>@@ -4,7 +4,9 @@
</font> aclocal.m4
configure
config.guess
<font color='#000088'>+config.status
+config.sub
+config.log
</font> autom4te*
missing
install-sh
<font color='#880000'>-
</font>
<font color='#006600'>diff -u rtems/contrib/crossrpms/.cvsignore:1.3 rtems/contrib/crossrpms/.cvsignore:1.3.8.1
--- rtems/contrib/crossrpms/.cvsignore:1.3 Wed Aug 9 18:06:58 2006
+++ rtems/contrib/crossrpms/.cvsignore Sun Mar 20 01:56:35 2011
</font><font color='#997700'>@@ -3,8 +3,10 @@
</font> Makefile.in
aclocal.m4
configure
<font color='#880000'>-config.*
</font><font color='#000088'>+config.guess
+config.status
+config.sub
+config.log
</font> autom4te*
missing
install-sh
<font color='#880000'>-
</font>
<font color='#006600'>diff -u rtems/contrib/crossrpms/.cvsignore:1.4 rtems/contrib/crossrpms/.cvsignore:1.4.2.1
--- rtems/contrib/crossrpms/.cvsignore:1.4 Mon Nov 30 02:49:41 2009
+++ rtems/contrib/crossrpms/.cvsignore Sun Mar 20 01:53:27 2011
</font><font color='#997700'>@@ -4,7 +4,9 @@
</font> aclocal.m4
configure
config.guess
<font color='#000088'>+config.status
+config.sub
+config.log
</font> autom4te*
missing
install-sh
<font color='#880000'>-
</font></pre>
<p> </p>
<a name='cs8'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Eliminate RPM_OS.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/configure.ac.diff?r1=text&tr1=1.80&r2=text&tr2=1.81&diff_format=h">M</a></td><td width='1%'>1.81</td><td width='100%'>contrib/crossrpms/configure.ac</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/contrib/crossrpms/configure.ac:1.80 rtems/contrib/crossrpms/configure.ac:1.81
--- rtems/contrib/crossrpms/configure.ac:1.80 Thu Mar 10 00:56:14 2011
+++ rtems/contrib/crossrpms/configure.ac Sun Mar 20 02:34:21 2011
</font><font color='#997700'>@@ -117,23 +117,6 @@
</font> ])
AC_SUBST(SPECSTRIP_OPTS)
<font color='#880000'>-AS_IF([test "${host}" != "${build}"],[
-AC_MSG_CHECKING(for RPM OS)
-case "$host" in
- i?86-*cygwin*)<span style="background-color: #FF0000"> </span> RPM_OS=cygwin ;;
- i?86-*mingw*) RPM_OS=mingw32 ;;
- sparc-*solaris*) RPM_OS=solaris2.7 ;;
- i?86-*freebsd5*) RPM_OS=freebsd5.2 ;;
- i?86-*freebsd6.0) RPM_OS=freebsd6.0 ;;
- i?86-*freebsd6.1) RPM_OS=freebsd6.1 ;;
- *)
- AC_MSG_ERROR([Unsupported host ${host}])
- ;;
-esac
-AC_MSG_RESULT($RPM_OS)
-])
-AC_SUBST(RPM_OS)
-
</font> for f in $targets; do
ac_cv_mytarget=`$SHELL "$ac_aux_dir/config.sub" $f` ||
AC_MSG_ERROR([$SHELL $ac_aux_dir/config.sub $f failed])
</pre>
<p> </p>
<a name='cs9'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Add netbsd5.1.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/Makefile.am.diff?r1=text&tr1=1.40&r2=text&tr2=1.41&diff_format=h">M</a></td><td width='1%'>1.41</td><td width='100%'>contrib/crossrpms/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/configure.ac.diff?r1=text&tr1=1.81&r2=text&tr2=1.82&diff_format=h">M</a></td><td width='1%'>1.82</td><td width='100%'>contrib/crossrpms/configure.ac</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/contrib/crossrpms/Makefile.am:1.40 rtems/contrib/crossrpms/Makefile.am:1.41
--- rtems/contrib/crossrpms/Makefile.am:1.40 Wed Mar 9 22:37:36 2011
+++ rtems/contrib/crossrpms/Makefile.am Sun Mar 20 12:09:47 2011
</font><font color='#997700'>@@ -13,6 +13,7 @@
</font> DIST_SUBDIRS += freebsd8.2
DIST_SUBDIRS += mingw32
DIST_SUBDIRS += netbsd5.0.2
<font color='#000088'>+DIST_SUBDIRS += netbsd5.1
</font> DIST_SUBDIRS += solaris2.7
DIST_SUBDIRS += rtems4.11
<font color='#006600'>diff -u rtems/contrib/crossrpms/configure.ac:1.81 rtems/contrib/crossrpms/configure.ac:1.82
--- rtems/contrib/crossrpms/configure.ac:1.81 Sun Mar 20 02:34:21 2011
+++ rtems/contrib/crossrpms/configure.ac Sun Mar 20 12:09:47 2011
</font><font color='#997700'>@@ -159,6 +159,10 @@
</font> AC_CONFIG_FILES([netbsd5.0.2/i386/Makefile])
AC_CONFIG_FILES([netbsd5.0.2/x86_64/Makefile])
<font color='#000088'>+AC_CONFIG_FILES([netbsd5.1/Makefile])
+AC_CONFIG_FILES([netbsd5.1/i386/Makefile])
+AC_CONFIG_FILES([netbsd5.1/x86_64/Makefile])
+
</font> AC_CONFIG_FILES([rtems4.11/Makefile])
AC_CONFIG_FILES([rtems4.11/arm/Makefile])
AC_CONFIG_FILES([rtems4.11/avr/Makefile])
</pre>
<p> </p>
<a name='cs10'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>New.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/.cvsignore?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/netbsd5.1/.cvsignore</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/Makefile.am?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/netbsd5.1/Makefile.am</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/binutils.am?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/netbsd5.1/binutils.am</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/gcc-prep.add?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/netbsd5.1/gcc-prep.add</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/gcc.am?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/netbsd5.1/gcc.am</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/i386/.cvsignore?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/netbsd5.1/i386/.cvsignore</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/i386/Makefile.am?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/netbsd5.1/i386/Makefile.am</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/i386/binutils-sources.add?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/netbsd5.1/i386/binutils-sources.add</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/i386/gcc-sources.add?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/netbsd5.1/i386/gcc-sources.add</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/i386/i386-pc-netbsdelf5.1-binutils.spec?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/netbsd5.1/i386/i386-pc-netbsdelf5.1-binutils.spec</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/i386/i386-pc-netbsdelf5.1-gcc.spec?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/netbsd5.1/i386/i386-pc-netbsdelf5.1-gcc.spec</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/i386/i386-pc-netbsdelf5.1-libs.spec?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/netbsd5.1/i386/i386-pc-netbsdelf5.1-libs.spec</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/i386/libs.add?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/netbsd5.1/i386/libs.add</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/i386/target-libs.add?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/netbsd5.1/i386/target-libs.add</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/libs.am?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/netbsd5.1/libs.am</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/x86_64/.cvsignore?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/netbsd5.1/x86_64/.cvsignore</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/x86_64/Makefile.am?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/netbsd5.1/x86_64/Makefile.am</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/x86_64/amd64-pc-netbsdelf5.1-binutils.spec?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/netbsd5.1/x86_64/amd64-pc-netbsdelf5.1-binutils.spec</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/x86_64/amd64-pc-netbsdelf5.1-gcc.spec?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/netbsd5.1/x86_64/amd64-pc-netbsdelf5.1-gcc.spec</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/x86_64/amd64-pc-netbsdelf5.1-libs.spec?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/netbsd5.1/x86_64/amd64-pc-netbsdelf5.1-libs.spec</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/x86_64/binutils-sources.add?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/netbsd5.1/x86_64/binutils-sources.add</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/x86_64/gcc-sources.add?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/netbsd5.1/x86_64/gcc-sources.add</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/x86_64/libs.add?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/netbsd5.1/x86_64/libs.add</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/x86_64/target-libs.add?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">contrib/crossrpms/netbsd5.1/x86_64/target-libs.add</font></td></tr>
</table>
<pre>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/netbsd5.1/.cvsignore:1.1
--- /dev/null Mon Mar 21 08:11:52 2011
+++ rtems/contrib/crossrpms/netbsd5.1/.cvsignore Sun Mar 20 12:11:52 2011
</font><font color='#997700'>@@ -0,0 +1,2 @@
</font><font color='#000088'>+Makefile
+Makefile.in
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/netbsd5.1/Makefile.am:1.1
--- /dev/null Mon Mar 21 08:11:52 2011
+++ rtems/contrib/crossrpms/netbsd5.1/Makefile.am Sun Mar 20 12:11:52 2011
</font><font color='#997700'>@@ -0,0 +1,4 @@
</font><font color='#000088'>+# $Id$
+
+SUBDIRS = i386 x86_64
+
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/netbsd5.1/binutils.am:1.1
--- /dev/null Mon Mar 21 08:11:52 2011
+++ rtems/contrib/crossrpms/netbsd5.1/binutils.am Sun Mar 20 12:11:52 2011
</font><font color='#997700'>@@ -0,0 +1,30 @@
</font><font color='#000088'>+EXTRA_DIST += binutils-sources.add
+
+BINUTILS_OPTS =
+
+BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add
+BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/binutils.add
+BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/prep.add
+BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/build.add
+BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/install.add
+BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/rpm-install.add
+BINUTILS_SUBPACKAGES += $(top_srcdir)/common/clean.add
+BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/target-binutils.add
+BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/base-binutils.add
+
+$(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) Makefile.am $(srcdir)/binutils-sources.add $(srcdir)/../binutils.am
+ cat $(BINUTILS_SUBPACKAGES) | sed \
+ -e "/[@]SOURCES[@]/r $(srcdir)/binutils-sources.add" \
+ -e "/[@]SOURCES[@]/d" \
+ -e "s/[@]BINUTILS_VERS[@]/$(BINUTILS_VERS)/g" \
+ -e "s/[@]BINUTILS_PKGVERS[@]/$(BINUTILS_PKGVERS)/g" \
+ -e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)%{?dist}/g" \
+ | $(MKSPEC0) > $(TARGET)-binutils.spec.in
+CLEANFILES += $(TARGET)-binutils.spec.in
+
+@rpmprefix@$(TARGET)-binutils.spec: $(TARGET)-binutils.spec.in
+ $(MKSPEC) $(TARGET)-binutils.spec.in | $(SPECSTRIP) $(BINUTILS_OPTS) > $@
+CLEANFILES += @rpmprefix@$(TARGET)-binutils.spec
+noinst_DATA += @rpmprefix@$(TARGET)-binutils.spec
+
+EXTRA_DIST += $(BINUTILS_SUBPACKAGES)
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/netbsd5.1/gcc.am:1.1
--- /dev/null Mon Mar 21 08:11:52 2011
+++ rtems/contrib/crossrpms/netbsd5.1/gcc.am Sun Mar 20 12:11:52 2011
</font><font color='#997700'>@@ -0,0 +1,40 @@
</font><font color='#000088'>+EXTRA_DIST += $(srcdir)/../gcc-prep.add
+EXTRA_DIST += $(srcdir)/gcc-sources.add
+
+GCC_OPTS =
+
+GCC_SUBPACKAGES = $(top_srcdir)/common/common.add
+GCC_SUBPACKAGES += $(top_srcdir)/gcc/gccnewlib.add
+GCC_SUBPACKAGES += $(top_srcdir)/gcc/prep.add
+GCC_SUBPACKAGES += $(top_srcdir)/gcc/build.add
+GCC_SUBPACKAGES += $(top_srcdir)/gcc/install.add
+GCC_SUBPACKAGES += $(top_srcdir)/gcc/rpm-install.add
+GCC_SUBPACKAGES += $(top_srcdir)/common/clean.add
+GCC_SUBPACKAGES += $(top_srcdir)/gcc/target-gcc.add
+GCC_SUBPACKAGES += $(top_srcdir)/gcc/base-gcc.add
+GCC_SUBPACKAGES += $(top_srcdir)/gcc/target-c++.add
+GCC_SUBPACKAGES += $(top_srcdir)/gcc/target-gfortran.add
+GCC_SUBPACKAGES += $(top_srcdir)/gcc/base-gfortran.add
+GCC_SUBPACKAGES += $(top_srcdir)/gcc/target-objc.add
+
+$(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) Makefile.am $(srcdir)/gcc-sources.add $(srcdir)/../gcc-prep.add $(srcdir)/../gcc.am
+ cat $(GCC_SUBPACKAGES) | sed \
+ -e "/[@]SOURCES[@]/r $(srcdir)/gcc-sources.add" \
+ -e "/[@]SOURCES[@]/d" \
+ -e "/[@]PREP[@]/r $(srcdir)/../gcc-prep.add" \
+ -e "/[@]PREP[@]/d" \
+ -e "s/[@]GCC_VERS[@]/$(GCC_VERS)/g" \
+ -e "s/[@]GCC_PKGVERS[@]/$(GCC_PKGVERS)/g" \
+ -e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)%{?dist}/g" \
+ -e "/[@]tool_target[@]-newlib/d" \
+ -e "/[@]tool_target[@]-w32api-sys-root/d" \
+ -e "/--with-newlib/d" \
+ | $(MKSPEC0) > $(TARGET)-gcc.spec.in
+CLEANFILES += $(TARGET)-gcc.spec.in
+
+@rpmprefix@$(TARGET)-gcc.spec: $(TARGET)-gcc.spec.in
+ $(MKSPEC) $(TARGET)-gcc.spec.in | $(SPECSTRIP) $(GCC_OPTS) > $@
+CLEANFILES += @rpmprefix@$(TARGET)-gcc.spec
+noinst_DATA += @rpmprefix@$(TARGET)-gcc.spec
+
+EXTRA_DIST += $(GCC_SUBPACKAGES)
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/netbsd5.1/i386/.cvsignore:1.1
--- /dev/null Mon Mar 21 08:11:53 2011
+++ rtems/contrib/crossrpms/netbsd5.1/i386/.cvsignore Sun Mar 20 12:11:52 2011
</font><font color='#997700'>@@ -0,0 +1,4 @@
</font><font color='#000088'>+Makefile
+Makefile.in
+rtems*.spec
+*.spec.in
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/netbsd5.1/i386/Makefile.am:1.1
--- /dev/null Mon Mar 21 08:11:53 2011
+++ rtems/contrib/crossrpms/netbsd5.1/i386/Makefile.am Sun Mar 20 12:11:52 2011
</font><font color='#997700'>@@ -0,0 +1,23 @@
</font><font color='#000088'>+# $Id$
+
+TARGET = i386-pc-netbsdelf5.1
+
+include $(top_srcdir)/mkspec.am
+
+NETBSD_VERS = 5.1
+NETBSD_RPMREL = 0.20110320.0
+EXTRA_DIST += libs.add
+EXTRA_DIST += target-libs.add
+include ../libs.am
+
+BINUTILS_VERS = 2.21
+BINUTILS_PKGVERS = $(BINUTILS_VERS)
+BINUTILS_RPMREL = 0.20110320.0
+include ../binutils.am
+BINUTILS_OPTS +=
+
+GCC_VERS = 4.5.0
+GCC_PKGVERS = $(GCC_VERS)
+GCC_RPMREL = 0.20110320.0
+include ../gcc.am
+GCC_OPTS += --languages=c,cxx,fortran,objc
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/netbsd5.1/i386/binutils-sources.add:1.1
--- /dev/null Mon Mar 21 08:11:53 2011
+++ rtems/contrib/crossrpms/netbsd5.1/i386/binutils-sources.add Sun Mar 20 12:11:52 2011
</font><font color='#997700'>@@ -0,0 +1,2 @@
</font><font color='#000088'>+Source0: http://ftp.gnu.org/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
+@PATCH0@
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/netbsd5.1/i386/gcc-sources.add:1.1
--- /dev/null Mon Mar 21 08:11:53 2011
+++ rtems/contrib/crossrpms/netbsd5.1/i386/gcc-sources.add Sun Mar 20 12:11:52 2011
</font><font color='#997700'>@@ -0,0 +1,35 @@
</font><font color='#000088'>+Source0:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+%if "%{gcc_version}" == "4.5.0"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
+%endif
+%{?_without_sources:NoSource: 0}
+
+%if %build_cxx
+Source1:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+@PATCH1@
+%{?_without_sources:NoSource: 1}
+
+%endif
+%if %build_fortran
+Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
+@PATCH2@
+%{?_without_sources:NoSource: 2}
+
+%endif
+%if %build_gcj
+Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2
+@PATCH3@
+%{?_without_sources:NoSource: 3}
+
+%endif
+%if %build_gnat
+Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2
+@PATCH4@
+%{?_without_sources:NoSource: 4}
+
+%endif
+%if %build_objc
+Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
+@PATCH5@
+%{?_without_sources:NoSource: 5}
+%endif
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/netbsd5.1/i386/i386-pc-netbsdelf5.1-binutils.spec:1.1
--- /dev/null Mon Mar 21 08:11:53 2011
+++ rtems/contrib/crossrpms/netbsd5.1/i386/i386-pc-netbsdelf5.1-binutils.spec Sun Mar 20 12:11:52 2011
</font><font color='#997700'>@@ -0,0 +1,170 @@
</font><font color='#000088'>+#
+# Please send bugfixes or comments to
+#<span style="background-color: #FF0000"> </span> http://www.rtems.org/bugzilla
+#
+
+
+%ifos cygwin cygwin32 mingw mingw32
+%define _exeext .exe
+%define debug_package %{nil}
+%define _libdir %{_exec_prefix}/lib
+%else
+%define _exeext %{nil}
+%endif
+
+%ifos cygwin cygwin32
+%define optflags -O3 -pipe -march=i486 -funroll-loops
+%endif
+
+%ifos mingw mingw32
+%if %{defined _mingw32_cflags}
+%define optflags %{_mingw32_cflags}
+%else
+%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
+%endif
+%endif
+
+%if "%{_build}" != "%{_host}"
+%define _host_rpmprefix %{_host}-
+%else
+%define _host_rpmprefix %{nil}
+%endif
+
+%define binutils_pkgvers 2.21
+%define binutils_version 2.21
+%define binutils_rpmvers %{expand:%(echo "2.21" | tr - _ )}
+
+Name: i386-pc-netbsdelf5.1-binutils
+Summary: Binutils for target i386-pc-netbsdelf5.1
+Group: Development/Tools
+Version: %{binutils_rpmvers}
+Release: 0.20110320.0%{?dist}
+License: GPL/LGPL
+URL:<span style="background-color: #FF0000"> </span> http://sources.redhat.com/binutils
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: %{_host_rpmprefix}gcc
+
+%if "%{binutils_version}" >= "2.18"
+# Bug in bfd: Doesn't build without texinfo installed
+BuildRequires: texinfo >= 4.2
+%else
+%endif
+BuildRequires: flex
+BuildRequires: bison
+
+Source0: http://ftp.gnu.org/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
+
+%description
+Cross binutils for target i386-pc-netbsdelf5.1
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%setup -q -D -T -n %{name}-%{version} -a0
+cd binutils-%{binutils_pkgvers}
+%{?PATCH0:%patch0 -p1}
+cd ..
+
+%build
+ mkdir -p build
+ cd build
+%if "%{_build}" != "%{_host}"
+ CFLAGS_FOR_BUILD="-g -O2 -Wall" \
+%endif
+ CFLAGS="$RPM_OPT_FLAGS" \
+ ../binutils-%{binutils_pkgvers}/configure \
+ --build=%_build --host=%_host \
+ --target=i386-pc-netbsdelf5.1 \
+ --verbose --disable-nls \
+ --without-included-gettext \
+ --disable-win32-registry \
+ --disable-werror \
+ --with-sysroot=%{_prefix}/i386-pc-netbsdelf5.1/sys-root \
+ --prefix=%{_prefix} --bindir=%{_bindir} \
+ --exec-prefix=%{_exec_prefix} \
+ --includedir=%{_includedir} --libdir=%{_libdir} \
+ --mandir=%{_mandir} --infodir=%{_infodir}
+
+ make %{?_smp_mflags} all
+ cd ..
+
+%install
+ rm -rf $RPM_BUILD_ROOT
+
+ cd build
+ make DESTDIR=$RPM_BUILD_ROOT install
+
+
+# Conflict with a native binutils' infos
+ rm -rf $RPM_BUILD_ROOT%{_infodir}
+
+# We don't ship host files
+ rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
+
+# manpages without corresponding tools
+ if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/i386-pc-netbsdelf5.1-dlltool%{_exeext}; then<span style="background-color: #FF0000"> </span>
+ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/i386-pc-netbsdelf5.1-dlltool*
+ fi
+ if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/i386-pc-netbsdelf5.1-nlmconv%{_exeext}; then<span style="background-color: #FF0000"> </span>
+ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/i386-pc-netbsdelf5.1-nlmconv*
+ fi
+ if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/i386-pc-netbsdelf5.1-windres%{_exeext}; then<span style="background-color: #FF0000"> </span>
+ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/i386-pc-netbsdelf5.1-windres*
+ fi
+ if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/i386-pc-netbsdelf5.1-windmc%{_exeext}; then<span style="background-color: #FF0000"> </span>
+ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/i386-pc-netbsdelf5.1-windmc*
+ fi
+
+ cd ..
+
+# Extract %%__os_install_post into os_install_post~
+cat << \EOF > os_install_post~
+%__os_install_post
+EOF
+
+# Generate customized brp-*scripts
+cat os_install_post~ | while read a x y; do
+case $a in
+# Prevent brp-strip* from trying to handle foreign binaries
+*/brp-strip*)
+ b=$(basename $a)
+ sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
+ chmod a+x $b
+ ;;
+esac
+done
+
+sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
+< os_install_post~ > os_install_post<span style="background-color: #FF0000"> </span>
+%define __os_install_post . ./os_install_post
+
+%clean
+ rm -rf $RPM_BUILD_ROOT
+
+# ==============================================================
+# i386-pc-netbsdelf5.1-binutils
+# ==============================================================
+# %package -n i386-pc-netbsdelf5.1-binutils
+# Summary: rtems binutils for i386-pc-netbsdelf5.1
+# Group: Development/Tools
+# %if %build_infos
+# Requires: binutils-common
+# %endif
+
+%description -n i386-pc-netbsdelf5.1-binutils
+GNU binutils targetting i386-pc-netbsdelf5.1.
+
+%files -n i386-pc-netbsdelf5.1-binutils
+%defattr(-,root,root)
+
+%{_mandir}/man1/i386-pc-netbsdelf5.1-*.1*
+
+%{_bindir}/i386-pc-netbsdelf5.1-*
+
+%dir %{_exec_prefix}/i386-pc-netbsdelf5.1
+%dir %{_exec_prefix}/i386-pc-netbsdelf5.1/bin
+%{_exec_prefix}/i386-pc-netbsdelf5.1/bin/*
+
+%dir %{_exec_prefix}/i386-pc-netbsdelf5.1/lib
+%{_exec_prefix}/i386-pc-netbsdelf5.1/lib/ldscripts
+
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/netbsd5.1/i386/i386-pc-netbsdelf5.1-gcc.spec:1.1
--- /dev/null Mon Mar 21 08:11:53 2011
+++ rtems/contrib/crossrpms/netbsd5.1/i386/i386-pc-netbsdelf5.1-gcc.spec Sun Mar 20 12:11:52 2011
</font><font color='#997700'>@@ -0,0 +1,788 @@
</font><font color='#000088'>+#
+# Please send bugfixes or comments to
+#<span style="background-color: #FF0000"> </span> http://www.rtems.org/bugzilla
+#
+
+
+%ifos cygwin cygwin32 mingw mingw32
+%define _exeext .exe
+%define debug_package %{nil}
+%define _libdir %{_exec_prefix}/lib
+%else
+%define _exeext %{nil}
+%endif
+
+%ifos cygwin cygwin32
+%define optflags -O3 -pipe -march=i486 -funroll-loops
+%endif
+
+%ifos mingw mingw32
+%if %{defined _mingw32_cflags}
+%define optflags %{_mingw32_cflags}
+%else
+%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
+%endif
+%endif
+
+%if "%{_build}" != "%{_host}"
+%define _host_rpmprefix %{_host}-
+%else
+%define _host_rpmprefix %{nil}
+%endif
+
+
+%define gcc_pkgvers 4.5.0
+%define gcc_version 4.5.0
+%define gcc_rpmvers %{expand:%(echo "4.5.0" | tr - _ )}
+
+
+Name:<span style="background-color: #FF0000"> </span> i386-pc-netbsdelf5.1-gcc
+Summary:<span style="background-color: #FF0000"> </span> i386-pc-netbsdelf5.1 gcc
+
+Group: <span style="background-color: #FF0000"> </span> Development/Tools
+Version: %{gcc_rpmvers}
+Release:<span style="background-color: #FF0000"> </span> 0.20110320.0%{?dist}
+License:<span style="background-color: #FF0000"> </span> GPL
+URL: http://gcc.gnu.org
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%define _use_internal_dependency_generator 0
+
+BuildRequires: %{_host_rpmprefix}gcc
+
+# FIXME: Disable lto for now, to avoid dependencies on libelf
+%bcond_with lto
+
+# FIXME: Disable python gdb scripts
+# ATM, no idea how to package them
+%bcond_with pygdb
+
+# FIXME: Disable GCC-plugin
+# Bug in gcc-4.5-20100318, doesn't build them on x86_84 hosts.
+%bcond_with plugin
+
+# EXPERIMENTAL: Use gcc's stdint.h instead of newlib's
+# Should be applicable to gcc >= 4.5.0
+%bcond_with gcc_stdint
+
+# versions of libraries, we conditionally bundle if necessary
+%global mpc_version 0.8.1
+%global mpfr_version 2.4.2
+%global gmp_version 4.3.2
+%global libelf_version 0.8.13
+
+# versions of libraries these distros are known to ship
+%if 0%{?fc15}
+%global mpc_provided 0.8.3
+%global mpfr_provided 3.0.0
+%global gmp_provided 4.3.2
+%endif
+
+%if 0%{?fc14}
+%global mpc_provided 0.8.1
+%global mpfr_provided 2.4.2
+%global gmp_provided 4.3.1
+%endif
+
+%if 0%{?fc13}
+%global mpc_provided 0.8.1
+%global mpfr_provided 2.4.2
+%global gmp_provided 4.3.1
+%endif
+
+%if 0%{?el6}
+%global mpc_provided %{nil}
+%global mpfr_provided 2.4.1
+%global gmp_provided 4.3.1
+%endif
+
+%if 0%{?el5}
+%global mpc_provided %{nil}
+%global mpfr_provided %{nil}
+%global gmp_provided 4.1.4
+%endif
+
+%if 0%{?suse11_2}
+%global mpc_provided 0.7
+%global mpfr_provided 2.4.1
+%global gmp_provided 4.3.1
+%endif
+
+%if 0%{?suse11_3}
+%global mpc_provided 0.8.1
+%global mpfr_provided 2.4.2
+%global gmp_provided 4.3.2
+%endif
+
+%if 0%{?suse11_4}
+%global mpc_provided 0.8.2
+%global mpfr_provided 3.0.0
+%global gmp_provided 5.0.1
+%endif
+
+%if 0%{?cygwin}
+%global mpc_provided 0.8
+%global mpfr_provided 2.4.1
+%global gmp_provided 4.3.1
+%endif
+
+%if 0%{?mingw32}
+%global mpc_provided 0.8.1
+%global mpfr_provided 2.4.1
+%global gmp_provided 4.3.2
+%endif
+
+%if "%{gcc_version}" >= "4.2.0"
+%define gmp_required 4.1
+%define mpfr_required 2.2.1
+%endif
+
+%if "%{gcc_version}" >= "4.3.0"
+%define gmp_required 4.1
+%define mpfr_required 2.3.1
+%endif
+
+%if "%{gcc_version}" >= "4.3.3"
+%define cloog_required<span style="background-color: #FF0000"> </span> 0.15
+%endif
+
+%if "%{gcc_version}" >= "4.4.0"
+%define mpfr_required 2.3.2
+%endif
+
+%if "%{gcc_version}" >= "4.5.0"
+%define mpc_required<span style="background-color: #FF0000"> </span> 0.8
+%if %{with lto}
+%define libelf_required<span style="background-color: #FF0000"> </span> 0.8.12
+%endif
+%endif
+
+%if %{defined mpc_required}
+%if "%{mpc_provided}" >= "%{mpc_required}"
+%{?fedora:BuildRequires: libmpc-devel >= %{mpc_required}}
+%{?suse:BuildRequires: mpc-devel >= %{mpc_required}}
+%if "%{_build}" != "%{_host}"
+BuildRequires: %{_host_rpmprefix}mpc-devel >= %{mpc_required}
+%endif
+%else
+%define _build_mpc 1
+%define gmp_required<span style="background-color: #FF0000"> </span> 4.2
+%endif
+%endif
+
+%if %{defined gmp_required}
+%if "%{gmp_provided}" >= "%{gmp_required}"
+BuildRequires: gmp-devel >= %{gmp_required}
+%if "%{_build}" != "%{_host}"
+BuildRequires: %{_host_rpmprefix}gmp-devel >= %{gmp_required}
+%endif
+%else
+%define _build_gmp 1
+%endif
+%endif
+
+%if %{defined libelf_required}
+%if "%{libelf_provided}" >= "%{libelf_required}"
+BuildRequires: libelf-devel >= %{libelf_required}
+%if "%{_build}" != "%{_host}"
+BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required}
+%endif
+%else
+%define _build_libelf 1
+%endif
+%endif
+
+
+%if %{defined cloog_required}
+%{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required}
+%{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required}
+%{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required}
+%{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required}
+%{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}
+%{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}
+%{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}
+%endif
+
+
+%if %{defined mpfr_required}
+%if "%{mpfr_provided}" >= "%{mpfr_required}"
+BuildRequires: mpfr-devel >= %{mpfr_required}
+%if "%{_build}" != "%{_host}"
+BuildRequires: %{_host_rpmprefix}mpfr-devel >= %{mpfr_required}
+%endif
+%else
+%define _build_mpfr 1
+%endif
+%endif
+
+%if "%{_build}" != "%{_host}"
+BuildRequires: i386-pc-netbsdelf5.1-gcc = %{gcc_rpmvers}
+%endif
+
+%if "%{gcc_version}" >= "4.2.0"
+BuildRequires: flex bison
+%endif
+
+
+BuildRequires: texinfo >= 4.2
+BuildRequires: i386-pc-netbsdelf5.1-binutils
+BuildRequires: i386-pc-netbsdelf5.1-sys-root
+
+Requires: i386-pc-netbsdelf5.1-binutils
+Requires: i386-pc-netbsdelf5.1-sys-root
+Requires: i386-pc-netbsdelf5.1-gcc-libgcc = %{gcc_rpmvers}-%{release}
+
+%if "%{gcc_version}" >= "4.5.0"
+BuildRequires: zlib-devel
+%if "%{_build}" != "%{_host}"
+BuildRequires: %{_host_rpmprefix}zlib-devel
+%endif
+%else
+%endif
+
+%global _gcclibdir %{_prefix}/lib
+
+Source0:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+%if "%{gcc_version}" == "4.5.0"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
+%endif
+%{?_without_sources:NoSource: 0}
+
+Source1:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%{?_without_sources:NoSource: 1}
+
+Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
+%{?_without_sources:NoSource: 2}
+
+Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
+%{?_without_sources:NoSource: 5}
+
+%if 0%{?_build_mpfr}
+Source60: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.bz2
+%endif
+
+%if 0%{?_build_mpc}
+Source61: http://www.multiprecision.org/mpc/download/mpc-%{mpc_version}.tar.gz
+%endif
+
+%if 0%{?_build_gmp}
+Source62: ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.bz2
+%endif
+
+%if 0%{?_build_libelf}
+Source63: http://www.mr511.de/software/libelf-%{libelf_version}.tar.gz
+%endif
+
+%description
+Cross gcc for i386-pc-netbsdelf5.1.
+
+%prep
+%setup -c -T -n %{name}-%{version}
+
+%setup -q -T -D -n %{name}-%{version} -a0
+cd gcc-%{gcc_pkgvers}
+%{?PATCH0:%patch0 -p1}
+cd ..
+
+%setup -q -T -D -n %{name}-%{version} -a1
+cd gcc-%{gcc_pkgvers}
+%{?PATCH1:%patch1 -p1}
+cd ..
+
+%setup -q -T -D -n %{name}-%{version} -a2
+%{?PATCH2:%patch2 -p0}
+
+
+
+%setup -q -T -D -n %{name}-%{version} -a5
+%{?PATCH5:%patch5 -p0}
+
+%if %{with gcc_stdint}
+sed -i -e '/thread_file=.*rtems/,/use_gcc_stdint=wrap/ { s/use_gcc_stdint=wrap/use_gcc_stdint=provide/}' gcc-%{gcc_pkgvers}/gcc/config.gcc
+%endif
+
+
+%if 0%{?_build_mpfr}
+%setup -q -T -D -n %{name}-%{version} -a60
+%{?PATCH60:%patch60 -p1}
+ # Build mpfr one-tree style
+ ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
+%endif
+
+%if 0%{?_build_mpc}
+%setup -q -T -D -n %{name}-%{version} -a61
+%{?PATCH61:%patch61 -p1}
+ # Build mpc one-tree style
+ ln -s ../mpc-%{mpc_version} gcc-%{gcc_pkgvers}/mpc
+%endif
+
+%if 0%{?_build_gmp}
+%setup -q -T -D -n %{name}-%{version} -a62
+%{?PATCH62:%patch62 -p1}
+ # Build gmp one-tree style
+ ln -s ../gmp-%{gmp_version} gcc-%{gcc_pkgvers}/gmp
+%endif
+
+%if 0%{?_build_libelf}
+%setup -q -T -D -n %{name}-%{version} -a63
+%{?PATCH63:%patch63 -p1}
+ # Build libelf one-tree style
+ ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
+%endif
+
+
+ # Fix timestamps
+ cd gcc-%{gcc_pkgvers}
+ contrib/gcc_update --touch
+ cd ..
+%build
+ mkdir -p build
+
+ cd build
+
+ languages="c"
+ languages="$languages,c++"
+ case i386-pc-netbsdelf5.1 in
+ *-rtems4.11) optargs="$optargs --enable-libstdcxx-time";;
+ esac
+ languages="$languages,fortran"
+ languages="$languages,objc"
+%if "%{_build}" != "%{_host}"
+ CFLAGS_FOR_BUILD="-g -O2 -Wall" \
+ CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
+%else
+# gcc is not ready to be compiled with -std=gnu99
+ CC=$(echo "%{__cc} ${RPM_OPT_FLAGS}" | sed -e 's,-std=gnu99 ,,') \
+%endif
+ ../gcc-%{gcc_pkgvers}/configure \
+ --prefix=%{_prefix} \
+ --bindir=%{_bindir} \
+ --exec_prefix=%{_exec_prefix} \
+ --includedir=%{_includedir} \
+ --libdir=%{_gcclibdir} \
+ --libexecdir=%{_libexecdir} \
+ --mandir=%{_mandir} \
+ --infodir=%{_infodir} \
+ --datadir=%{_datadir} \
+ --build=%_build --host=%_host \
+ --target=i386-pc-netbsdelf5.1 \
+ --disable-libstdcxx-pch \
+ --with-gnu-as --with-gnu-ld --verbose \
+ --with-system-zlib \
+ --disable-nls --without-included-gettext \
+ --disable-win32-registry \
+ --enable-version-specific-runtime-libs \
+ --enable-threads \
+ --with-sysroot=%{_exec_prefix}/i386-pc-netbsdelf5.1/sys-root \
+ %{?with_lto:--enable-lto}%{!?with_lto:--disable-lto} \
+ %{?with_plugin:--enable-plugin}%{!?with_plugin:--disable-plugin} \
+ --enable-languages="$languages" $optargs
+
+%if "%_host" != "%_build"
+ # Bug in gcc-3.2.1:
+ # Somehow, gcc doesn't get syslimits.h right for Cdn-Xs
+ mkdir -p gcc/include
+ cp ../gcc-%{gcc_pkgvers}/gcc/gsyslimits.h gcc/include/syslimits.h
+%endif
+
+ make %{?_smp_mflags} all
+ cd ..
+
+%install
+ rm -rf $RPM_BUILD_ROOT
+
+ cd build
+
+ make DESTDIR=$RPM_BUILD_ROOT install
+ cd ..
+
+
+%if "%{gcc_version}" <= "4.1.2"
+# Misplaced header file
+ if test -f $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h; then
+ mv $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h \
+ $RPM_BUILD_ROOT%{_gcclibdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}/include/
+ fi
+%endif
+
+ # host library
+%if "%{gcc_version}" >= "4.2.0"
+ # libiberty doesn't honor --libdir, but always installs to a<span style="background-color: #FF0000"> </span>
+ # magically guessed _libdir
+ rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty.a
+%else
+ # libiberty installs to --libdir=...
+ rm -f ${RPM_BUILD_ROOT}%{_gcclibdir}/libiberty.a
+%endif
+
+ # We use the version from binutils
+ rm -f $RPM_BUILD_ROOT%{_bindir}/i386-pc-netbsdelf5.1-c++filt%{_exeext}
+
+
+# Conflict with a native GCC's infos
+ rm -rf $RPM_BUILD_ROOT%{_infodir}
+
+# Conflict with a native GCC's man pages
+ rm -rf $RPM_BUILD_ROOT%{_mandir}/man7
+
+ # Bug in gcc-3.4.0pre
+ rm -f $RPM_BUILD_ROOT%{_bindir}/i386-pc-netbsdelf5.1-i386-pc-netbsdelf5.1-gcjh%{_exeext}
+
+ # Bug in gcc-3.3.x/gcc-3.4.x: Despite we don't need fixincludes, it installs
+ # the fixinclude-install-tools
+ rm -rf ${RPM_BUILD_ROOT}%{_gcclibdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}/install-tools
+ rm -rf ${RPM_BUILD_ROOT}%{_libexecdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}/install-tools
+
+ # Bug in gcc > 4.1.0: Installs an unused, empty directory
+ if test -d ${RPM_BUILD_ROOT}%{_prefix}/i386-pc-netbsdelf5.1/include/bits; then
+ rmdir ${RPM_BUILD_ROOT}%{_prefix}/i386-pc-netbsdelf5.1/include/bits
+ fi
+
+ # gcc >= 4.5.0: installs weird libstdc++ python bindings.
+%if ! %{with pygdb}
+ if test -d ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python; then
+ rm -rf ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python/libstdcxx
+ fi
+%endif
+
+ # Collect multilib subdirectories
+ multilibs=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
+
+
+ rm -f dirs ;
+ echo "%defattr(-,root,root,-)" >> dirs
+ TGTDIR="%{_gcclibdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}"
+ for i in $multilibs; do
+ case $i in
+ \.) ;; # ignore, handled elsewhere
+ *) echo "%dir ${TGTDIR}/$i" >> dirs
+ ;;
+ esac
+ done
+
+ # Collect files to go into different packages
+ cp dirs build/files.gcc
+ cp dirs build/files.gfortran
+ cp dirs build/files.objc
+ cp dirs build/files.gcj
+ cp dirs build/files.g++
+
+ TGTDIR="%{_gcclibdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}"
+ f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
+ for i in $f; do
+ case $i in
+ *lib*.la) rm ${RPM_BUILD_ROOT}/$i ;; # ignore: gcc produces bogus libtool libs
+ *f771) ;;
+ *f951) ;;
+ *cc1) ;;
+ *cc1obj) ;;
+ *cc1plus) ;; # ignore: explicitly put into rpm elsewhere
+ *collect2) ;;
+ *libobjc*) echo "$i" >> build/files.objc ;;
+ *include/objc*) ;;
+ *include/g++*);;
+ *include/c++*);;
+ *include-fixed/*);;
+ *finclude/*);;
+ *adainclude*);;
+ *adalib*);;
+ *gnat1);;
+ *jc1) ;;
+ *jvgenmain) ;;
+ */libgfortran*.*) echo "$i" >> build/files.gfortran ;;
+ %{!?with_pygdb:*/libstdc++*gdb.py*) rm ${RPM_BUILD_ROOT}/$i ;;} # ignore for now
+ %{?with_pygdb:*/libstdc++*gdb.py*) >> build/files.g++ ;;}
+ */libstdc++.*) echo "$i" >> build/files.g++ ;;
+ */libsupc++.*) echo "$i" >> build/files.g++ ;;
+ *) echo "$i" >> build/files.gcc ;;
+ esac
+ done
+
+ TGTDIR="%{_exec_prefix}/i386-pc-netbsdelf5.1/lib"
+ f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
+ for i in $f; do
+ case $i in
+ *lib*.la) rm ${RPM_BUILD_ROOT}/$i;; # ignore - gcc produces bogus libtool libs
+ *libiberty.a) rm ${RPM_BUILD_ROOT}/$i ;; # ignore - GPL'ed
+# all other files belong to newlib
+ *) echo "$i" >> build/files.newlib ;;<span style="background-color: #FF0000"> </span>
+ esac
+ done
+# Extract %%__os_install_post into os_install_post~
+cat << \EOF > os_install_post~
+%__os_install_post
+EOF
+
+# Generate customized brp-*scripts
+cat os_install_post~ | while read a x y; do
+case $a in
+# Prevent brp-strip* from trying to handle foreign binaries
+*/brp-strip*)
+ b=$(basename $a)
+ sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
+ chmod a+x $b
+ ;;
+esac
+done
+
+sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
+< os_install_post~ > os_install_post<span style="background-color: #FF0000"> </span>
+%define __os_install_post . ./os_install_post
+
+
+cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
+#!/bin/sh
+grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/i386-pc-netbsdelf5.1/(lib|include|sys-root)' \
+ %{?_gcclibdir:| grep -v '^${RPM_BUILD_ROOT}%{_gcclibdir}/gcc/i386-pc-netbsdelf5.1/'} | %__find_provides
+EOF
+chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
+%define __find_provides %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
+
+cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
+#!/bin/sh
+grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/i386-pc-netbsdelf5.1/(lib|include|sys-root)' \
+ %{?_gcclibdir:| grep -v '^${RPM_BUILD_ROOT}%{_gcclibdir}/gcc/i386-pc-netbsdelf5.1/'} | %__find_requires
+EOF
+chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
+%define __find_requires %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
+
+%ifnarch noarch
+# Extract %%__debug_install_post into debug_install_post~
+cat << \EOF > debug_install_post~
+%__debug_install_post
+EOF
+
+# Generate customized debug_install_post script
+cat debug_install_post~ | while read a x y; do
+case $a in
+# Prevent find-debuginfo.sh* from trying to handle foreign binaries
+*/find-debuginfo.sh)
+ b=$(basename $a)
+ sed -e 's,find "$RPM_BUILD_ROOT" !,find "$RPM_BUILD_ROOT"%_bindir "$RPM_BUILD_ROOT"%_libexecdir !,' $a > $b
+ chmod a+x $b
+ ;;
+esac
+done
+
+sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
+< debug_install_post~ > debug_install_post<span style="background-color: #FF0000"> </span>
+%define __debug_install_post . ./debug_install_post
+
+%endif
+
+%clean
+ rm -rf $RPM_BUILD_ROOT
+
+# ==============================================================
+# i386-pc-netbsdelf5.1-gcc
+# ==============================================================
+# %package -n i386-pc-netbsdelf5.1-gcc
+# Summary: GNU cc compiler for i386-pc-netbsdelf5.1
+# Group: Development/Tools
+# Version: %{gcc_rpmvers}
+# Requires: i386-pc-netbsdelf5.1-binutils
+# License: GPL
+
+# %if %build_infos
+# Requires: gcc-common
+# %endif
+
+%description -n i386-pc-netbsdelf5.1-gcc
+GNU cc compiler for i386-pc-netbsdelf5.1.
+
+# ==============================================================
+# i386-pc-netbsdelf5.1-gcc-libgcc
+# ==============================================================
+%package -n i386-pc-netbsdelf5.1-gcc-libgcc
+Summary: libgcc for i386-pc-netbsdelf5.1-gcc
+Group: Development/Tools
+Version: %{gcc_rpmvers}
+%{?_with_noarch_subpackages:BuildArch: noarch}
+License: GPL
+
+%description -n i386-pc-netbsdelf5.1-gcc-libgcc
+libgcc i386-pc-netbsdelf5.1-gcc.
+
+
+%files -n i386-pc-netbsdelf5.1-gcc
+%defattr(-,root,root)
+
+%{_mandir}/man1/i386-pc-netbsdelf5.1-gcc.1*
+%{_mandir}/man1/i386-pc-netbsdelf5.1-cpp.1*
+%{_mandir}/man1/i386-pc-netbsdelf5.1-gcov.1*
+
+%{_bindir}/i386-pc-netbsdelf5.1-cpp%{_exeext}
+%{_bindir}/i386-pc-netbsdelf5.1-gcc%{_exeext}
+%{_bindir}/i386-pc-netbsdelf5.1-gcc-%{gcc_version}%{_exeext}
+%{_bindir}/i386-pc-netbsdelf5.1-gcov%{_exeext}
+%{_bindir}/i386-pc-netbsdelf5.1-gccbug
+
+%dir %{_libexecdir}/gcc
+%dir %{_libexecdir}/gcc/i386-pc-netbsdelf5.1
+%dir %{_libexecdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}
+%{_libexecdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}/cc1%{_exeext}
+%{_libexecdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}/collect2%{_exeext}
+%if "%{gcc_version}" >= "4.5.0"
+%{?with_lto:%{_libexecdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}/lto%{_exeext}}
+%{_libexecdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}/lto-wrapper%{_exeext}
+%endif
+
+%files -n i386-pc-netbsdelf5.1-gcc-libgcc -f build/files.gcc
+%defattr(-,root,root)
+%dir %{_gcclibdir}/gcc
+%dir %{_gcclibdir}/gcc/i386-pc-netbsdelf5.1
+%dir %{_gcclibdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}
+%dir %{_gcclibdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}/include
+
+%if "%{gcc_version}" > "4.0.3"
+%dir %{_gcclibdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}/include/ssp
+%endif
+
+%if "%{gcc_version}" >= "4.3.0"
+%{_gcclibdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}/include-fixed
+%endif
+
+# ==============================================================
+# i386-pc-netbsdelf5.1-gcc-c++
+# ==============================================================
+%package -n i386-pc-netbsdelf5.1-gcc-c++
+Summary: GCC c++ compiler for i386-pc-netbsdelf5.1
+Group: Development/Tools
+Version: %{gcc_rpmvers}
+License: GPL
+Requires: i386-pc-netbsdelf5.1-gcc-libstdc++ = %{gcc_rpmvers}-%{release}
+
+%if "%{_build}" != "%{_host}"
+BuildRequires: i386-pc-netbsdelf5.1-gcc-c++ = %{gcc_rpmvers}
+%endif
+
+Requires: i386-pc-netbsdelf5.1-gcc = %{gcc_rpmvers}-%{release}
+
+%description -n i386-pc-netbsdelf5.1-gcc-c++
+GCC c++ compiler for i386-pc-netbsdelf5.1.
+
+
+%package -n i386-pc-netbsdelf5.1-gcc-libstdc++
+Summary: libstdc++ for i386-pc-netbsdelf5.1
+Group: Development/Tools
+Version: %{gcc_rpmvers}
+%{?_with_noarch_subpackages:BuildArch: noarch}
+License: GPL
+
+%description -n i386-pc-netbsdelf5.1-gcc-libstdc++
+%{summary}
+
+
+%files -n i386-pc-netbsdelf5.1-gcc-c++
+%defattr(-,root,root)
+
+%{_mandir}/man1/i386-pc-netbsdelf5.1-g++.1*
+
+%{_bindir}/i386-pc-netbsdelf5.1-c++%{_exeext}
+%{_bindir}/i386-pc-netbsdelf5.1-g++%{_exeext}
+
+%dir %{_libexecdir}/gcc
+%dir %{_libexecdir}/gcc/i386-pc-netbsdelf5.1
+%dir %{_libexecdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}
+%{_libexecdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}/cc1plus%{_exeext}
+
+
+%files -n i386-pc-netbsdelf5.1-gcc-libstdc++ -f build/files.g++
+%defattr(-,root,root)
+%dir %{_gcclibdir}/gcc
+%dir %{_gcclibdir}/gcc/i386-pc-netbsdelf5.1
+%dir %{_gcclibdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}
+%dir %{_gcclibdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}/include
+%{_gcclibdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}/include/c++
+
+# ==============================================================
+# i386-pc-netbsdelf5.1-gcc-gfortran
+# ==============================================================
+%package -n i386-pc-netbsdelf5.1-gcc-gfortran
+Summary: Fortran 95 support for i386-pc-netbsdelf5.1-gcc
+Group: Development/Tools
+Version: %{gcc_rpmvers}
+License: GPL
+
+Requires: i386-pc-netbsdelf5.1-gcc = %{gcc_rpmvers}-%{release}
+Requires: i386-pc-netbsdelf5.1-gcc-libgfortran = %{gcc_rpmvers}-%{release}
+
+%description -n i386-pc-netbsdelf5.1-gcc-gfortran
+GCC fortran compiler for i386-pc-netbsdelf5.1.
+
+%files -n i386-pc-netbsdelf5.1-gcc-gfortran
+%defattr(-,root,root)
+%{_bindir}/i386-pc-netbsdelf5.1-gfortran%{_exeext}
+
+%{_mandir}/man1/i386-pc-netbsdelf5.1-gfortran.1*
+
+%dir %{_libexecdir}/gcc
+%dir %{_libexecdir}/gcc/i386-pc-netbsdelf5.1
+%dir %{_libexecdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}
+%{_libexecdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}/f951%{_exeext}
+
+# ==============================================================
+# i386-pc-netbsdelf5.1-gcc-libgfortran
+# ==============================================================
+%package -n i386-pc-netbsdelf5.1-gcc-libgfortran
+Summary: Fortran 95 support libraries for i386-pc-netbsdelf5.1-gcc
+Group: Development/Tools
+Version: %{gcc_rpmvers}
+%{?_with_noarch_subpackages:BuildArch: noarch}
+License: GPL
+
+%description -n i386-pc-netbsdelf5.1-gcc-libgfortran
+%{summary}
+
+%files -n i386-pc-netbsdelf5.1-gcc-libgfortran -f build/files.gfortran
+%defattr(-,root,root)
+%dir %{_gcclibdir}/gcc
+%dir %{_gcclibdir}/gcc/i386-pc-netbsdelf5.1
+%dir %{_gcclibdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}
+%if "%{gcc_version}" >= "4.2.0"
+%{_gcclibdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}/finclude
+%endif
+
+# ==============================================================
+# i386-pc-netbsdelf5.1-gcc-objc
+# ==============================================================
+%package -n i386-pc-netbsdelf5.1-gcc-objc
+Summary: Objective C support for i386-pc-netbsdelf5.1-gcc
+Group: Development/Tools
+Version: %{gcc_rpmvers}
+License: GPL
+
+Requires: i386-pc-netbsdelf5.1-gcc = %{gcc_rpmvers}-%{release}
+Requires: i386-pc-netbsdelf5.1-gcc-libobjc = %{gcc_rpmvers}-%{release}
+
+%description -n i386-pc-netbsdelf5.1-gcc-objc
+GCC objc compiler for i386-pc-netbsdelf5.1.
+
+%files -n i386-pc-netbsdelf5.1-gcc-objc
+%defattr(-,root,root)
+%dir %{_libexecdir}/gcc
+%dir %{_libexecdir}/gcc/i386-pc-netbsdelf5.1
+%dir %{_libexecdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}
+%{_libexecdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}/cc1obj%{_exeext}
+
+# ==============================================================
+# i386-pc-netbsdelf5.1-gcc-libobjc
+# ==============================================================
+%package -n i386-pc-netbsdelf5.1-gcc-libobjc
+Summary: Objective C support for i386-pc-netbsdelf5.1-gcc
+Group: Development/Tools
+Version: %{gcc_rpmvers}
+%{?_with_noarch_subpackages:BuildArch: noarch}
+License: GPL
+
+%description -n i386-pc-netbsdelf5.1-gcc-libobjc
+Support libraries for GCC's objc compiler for i386-pc-netbsdelf5.1.
+
+%files -n i386-pc-netbsdelf5.1-gcc-libobjc -f build/files.objc
+%defattr(-,root,root)
+%dir %{_gcclibdir}/gcc
+%dir %{_gcclibdir}/gcc/i386-pc-netbsdelf5.1
+%dir %{_gcclibdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}
+%dir %{_gcclibdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}/include
+%{_gcclibdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}/include/objc
+
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/netbsd5.1/i386/i386-pc-netbsdelf5.1-libs.spec:1.1
--- /dev/null Mon Mar 21 08:11:53 2011
+++ rtems/contrib/crossrpms/netbsd5.1/i386/i386-pc-netbsdelf5.1-libs.spec Sun Mar 20 12:11:52 2011
</font><font color='#997700'>@@ -0,0 +1,163 @@
</font><font color='#000088'>+#
+# Please send bugfixes or comments to
+#<span style="background-color: #FF0000"> </span> http://www.rtems.org/bugzilla
+#
+
+
+%ifos cygwin cygwin32 mingw mingw32
+%define _exeext .exe
+%define debug_package %{nil}
+%define _libdir %{_exec_prefix}/lib
+%else
+%define _exeext %{nil}
+%endif
+
+%ifos cygwin cygwin32
+%define optflags -O3 -pipe -march=i486 -funroll-loops
+%endif
+
+%ifos mingw mingw32
+%if %{defined _mingw32_cflags}
+%define optflags %{_mingw32_cflags}
+%else
+%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
+%endif
+%endif
+
+%if "%{_build}" != "%{_host}"
+%define _host_rpmprefix %{_host}-
+%else
+%define _host_rpmprefix %{nil}
+%endif
+
+%define netbsd_version 5.1
+%define netbsd_rpmvers %{expand:%(echo 5.1 | tr - _)}
+
+%define _use_internal_dependency_generator 0
+%define __debug_install_post %{nil}
+
+Name: i386-pc-netbsdelf5.1
+Release: 0.20110320.0%{?dist}
+License: NetBSD
+Group: Development/Tools
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+
+Version:<span style="background-color: #FF0000"> </span> %netbsd_rpmvers
+Summary:<span style="background-color: #FF0000"> </span> i386-pc-netbsdelf5.1 Libraries
+
+Source0: ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-5.0.2/i386/binary/sets/base.tgz
+Source1: ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-5.0.2/i386/binary/sets/comp.tgz
+
+%description
+i386-pc-netbsdelf5.1 libraries.
+
+%prep
+%setup -q -c -T -n %{name}-%{version} -a 0 -a 1
+
+%build
+ # Setup sys-root (Usable for gcc >= 3.4)
+ mkdir -p i386-pc-netbsdelf5.1/sys-root
+ %{__tar} cf - lib usr/lib usr/include | ( cd i386-pc-netbsdelf5.1/sys-root ; %{__tar} xf -)
+
+ pushd i386-pc-netbsdelf5.1/sys-root/usr/lib > /dev/null
+ # missing files
+ rm -f lib*_p.*
+ # not needed
+ rm -rf aout compat
+
+ # Fix up symlinks
+ find -type l -exec ls -l {} \; | \
+ while read a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aA ; do \
+ case $aA in
+ /lib* ) # link
+ rm $a8;
+ b=`basename $aA`
+ ln -s ../../lib/$b $a8
+ ;;
+ esac
+ done
+ popd > /dev/null
+
+%install
+ rm -rf $RPM_BUILD_ROOT
+ mkdir -p $RPM_BUILD_ROOT%{_prefix}
+ cp -a i386-pc-netbsdelf5.1 $RPM_BUILD_ROOT%{_prefix}
+
+# Extract %%__os_install_post into os_install_post~
+cat << \EOF > os_install_post~
+%__os_install_post
+EOF
+
+# Generate customized brp-*scripts
+cat os_install_post~ | while read a x y; do
+case $a in
+# Prevent brp-strip* from trying to handle foreign binaries
+*/brp-strip*)
+ b=$(basename $a)
+ sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
+ chmod a+x $b
+ ;;
+esac
+done
+
+sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
+< os_install_post~ > os_install_post<span style="background-color: #FF0000"> </span>
+%define __os_install_post . ./os_install_post
+
+
+cat << EOF > %{_builddir}/%{name}-%{netbsd_rpmvers}/find-provides
+#!/bin/sh
+grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/i386-pc-netbsdelf5.1/(lib|include|sys-root)' \
+ %{?_gcclibdir:| grep -v '^${RPM_BUILD_ROOT}%{_gcclibdir}/gcc/i386-pc-netbsdelf5.1/'} | %__find_provides
+EOF
+chmod +x %{_builddir}/%{name}-%{netbsd_rpmvers}/find-provides
+%define __find_provides %{_builddir}/%{name}-%{netbsd_rpmvers}/find-provides
+
+cat << EOF > %{_builddir}/%{name}-%{netbsd_rpmvers}/find-requires
+#!/bin/sh
+grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/i386-pc-netbsdelf5.1/(lib|include|sys-root)' \
+ %{?_gcclibdir:| grep -v '^${RPM_BUILD_ROOT}%{_gcclibdir}/gcc/i386-pc-netbsdelf5.1/'} | %__find_requires
+EOF
+chmod +x %{_builddir}/%{name}-%{netbsd_rpmvers}/find-requires
+%define __find_requires %{_builddir}/%{name}-%{netbsd_rpmvers}/find-requires
+
+%ifnarch noarch
+# Extract %%__debug_install_post into debug_install_post~
+cat << \EOF > debug_install_post~
+%__debug_install_post
+EOF
+
+# Generate customized debug_install_post script
+cat debug_install_post~ | while read a x y; do
+case $a in
+# Prevent find-debuginfo.sh* from trying to handle foreign binaries
+*/find-debuginfo.sh)
+ b=$(basename $a)
+ sed -e 's,find "$RPM_BUILD_ROOT" !,find "$RPM_BUILD_ROOT"%_bindir "$RPM_BUILD_ROOT"%_libexecdir !,' $a > $b
+ chmod a+x $b
+ ;;
+esac
+done
+
+sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
+< debug_install_post~ > debug_install_post<span style="background-color: #FF0000"> </span>
+%define __debug_install_post . ./debug_install_post
+
+%endif
+
+%clean
+ rm -rf $RPM_BUILD_ROOT
+
+%package sys-root
+Group: Development/Tools
+Summary: i386-pc-netbsdelf5.1 target files for gcc >= 3.4
+
+%description sys-root
+i386-pc-netbsdelf5.1 target files for gcc >= 3.4
+
+%files sys-root
+%defattr(-,root,root,-)
+%dir %{_prefix}/i386-pc-netbsdelf5.1
+%{_prefix}/i386-pc-netbsdelf5.1/sys-root
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/netbsd5.1/i386/libs.add:1.1
--- /dev/null Mon Mar 21 08:11:53 2011
+++ rtems/contrib/crossrpms/netbsd5.1/i386/libs.add Sun Mar 20 12:11:52 2011
</font><font color='#997700'>@@ -0,0 +1,55 @@
</font><font color='#000088'>+%define netbsd_version @NETBSD_VERS@
+%define netbsd_rpmvers %{expand:%(echo @NETBSD_VERS@ | tr - _)}
+
+%define _use_internal_dependency_generator 0
+%define __debug_install_post %{nil}
+
+Name: @rpmprefix@@tool_target@
+Release: @NETBSD_RPMREL@
+License: NetBSD
+Group: Development/Tools
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+
+Version:<span style="background-color: #FF0000"> </span> %netbsd_rpmvers
+Summary:<span style="background-color: #FF0000"> </span> @tool_target@ Libraries
+
+Source0: ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-5.0.2/i386/binary/sets/base.tgz
+Source1: ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-5.0.2/i386/binary/sets/comp.tgz
+
+%description
+@tool_target@ libraries.
+
+%prep
+%setup -q -c -T -n %{name}-%{version} -a 0 -a 1
+
+%build
+ # Setup sys-root (Usable for gcc >= 3.4)
+ mkdir -p @tool_target@/sys-root
+ %{__tar} cf - lib usr/lib usr/include | ( cd @tool_target@/sys-root ; %{__tar} xf -)
+
+ pushd @tool_target@/sys-root/usr/lib > /dev/null
+ # missing files
+ rm -f lib*_p.*
+ # not needed
+ rm -rf aout compat
+
+ # Fix up symlinks
+ find -type l -exec ls -l {} \; | \
+ while read a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aA ; do \
+ case $aA in
+ /lib* ) # link
+ rm $a8;
+ b=`basename $aA`
+ ln -s ../../lib/$b $a8
+ ;;
+ esac
+ done
+ popd > /dev/null
+
+%install
+ rm -rf $RPM_BUILD_ROOT
+ mkdir -p $RPM_BUILD_ROOT%{_prefix}
+ cp -a @tool_target@ $RPM_BUILD_ROOT%{_prefix}
+
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/netbsd5.1/i386/target-libs.add:1.1
--- /dev/null Mon Mar 21 08:11:53 2011
+++ rtems/contrib/crossrpms/netbsd5.1/i386/target-libs.add Sun Mar 20 12:11:52 2011
</font><font color='#997700'>@@ -0,0 +1,11 @@
</font><font color='#000088'>+%package sys-root
+Group: Development/Tools
+Summary: @tool_target@ target files for gcc >= 3.4
+
+%description sys-root
+@tool_target@ target files for gcc >= 3.4
+
+%files sys-root
+%defattr(-,root,root,-)
+%dir %{_prefix}/@tool_target@
+%{_prefix}/@tool_target@/sys-root
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/netbsd5.1/libs.am:1.1
--- /dev/null Mon Mar 21 08:11:53 2011
+++ rtems/contrib/crossrpms/netbsd5.1/libs.am Sun Mar 20 12:11:52 2011
</font><font color='#997700'>@@ -0,0 +1,18 @@
</font><font color='#000088'>+LIBS_SUBPACKAGES = $(top_srcdir)/common/common.add
+LIBS_SUBPACKAGES += $(srcdir)/libs.add
+LIBS_SUBPACKAGES += $(top_srcdir)/gcc/rpm-install.add
+LIBS_SUBPACKAGES += $(top_srcdir)/common/clean.add
+LIBS_SUBPACKAGES += $(srcdir)/target-libs.add
+
+$(TARGET)-libs.spec.in: $(LIBS_SUBPACKAGES) Makefile.am
+ cat $(LIBS_SUBPACKAGES) | sed \
+ -e "s/[@]NETBSD_VERS[@]/$(NETBSD_VERS)/g" \
+ -e "s/[@]NETBSD_RPMREL[@]/$(NETBSD_RPMREL)%{?dist}/g" \
+ -e "s,%{gcc_rpmvers},%{netbsd_rpmvers},g" \
+ > $(TARGET)-libs.spec.in
+CLEANFILES += $(TARGET)-libs.spec.in
+<span style="background-color: #FF0000"> </span>
+@rpmprefix@$(TARGET)-libs.spec: $(TARGET)-libs.spec.in $(srcdir)/../libs.am
+ $(MKSPEC) $(TARGET)-libs.spec.in | $(SPECSTRIP) > $@
+CLEANFILES += @rpmprefix@$(TARGET)-libs.spec
+noinst_DATA += @rpmprefix@$(TARGET)-libs.spec
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/netbsd5.1/x86_64/.cvsignore:1.1
--- /dev/null Mon Mar 21 08:11:53 2011
+++ rtems/contrib/crossrpms/netbsd5.1/x86_64/.cvsignore Sun Mar 20 12:11:52 2011
</font><font color='#997700'>@@ -0,0 +1,4 @@
</font><font color='#000088'>+Makefile
+Makefile.in
+rtems*.spec
+*.spec.in
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/netbsd5.1/x86_64/Makefile.am:1.1
--- /dev/null Mon Mar 21 08:11:54 2011
+++ rtems/contrib/crossrpms/netbsd5.1/x86_64/Makefile.am Sun Mar 20 12:11:52 2011
</font><font color='#997700'>@@ -0,0 +1,23 @@
</font><font color='#000088'>+# $Id$
+
+TARGET = amd64-pc-netbsdelf5.1
+
+include $(top_srcdir)/mkspec.am
+
+NETBSD_VERS = 5.1
+NETBSD_RPMREL = 0.20110320.0
+EXTRA_DIST += libs.add
+EXTRA_DIST += target-libs.add
+include ../libs.am
+
+BINUTILS_VERS = 2.21
+BINUTILS_PKGVERS = $(BINUTILS_VERS)
+BINUTILS_RPMREL = 0.20110320.0
+include ../binutils.am
+BINUTILS_OPTS +=
+
+GCC_VERS = 4.5.0
+GCC_PKGVERS = $(GCC_VERS)
+GCC_RPMREL = 0.20110320.0
+include ../gcc.am
+GCC_OPTS += --languages=c,cxx,fortran,objc
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/netbsd5.1/x86_64/amd64-pc-netbsdelf5.1-binutils.spec:1.1
--- /dev/null Mon Mar 21 08:11:54 2011
+++ rtems/contrib/crossrpms/netbsd5.1/x86_64/amd64-pc-netbsdelf5.1-binutils.spec Sun Mar 20 12:11:52 2011
</font><font color='#997700'>@@ -0,0 +1,170 @@
</font><font color='#000088'>+#
+# Please send bugfixes or comments to
+#<span style="background-color: #FF0000"> </span> http://www.rtems.org/bugzilla
+#
+
+
+%ifos cygwin cygwin32 mingw mingw32
+%define _exeext .exe
+%define debug_package %{nil}
+%define _libdir %{_exec_prefix}/lib
+%else
+%define _exeext %{nil}
+%endif
+
+%ifos cygwin cygwin32
+%define optflags -O3 -pipe -march=i486 -funroll-loops
+%endif
+
+%ifos mingw mingw32
+%if %{defined _mingw32_cflags}
+%define optflags %{_mingw32_cflags}
+%else
+%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
+%endif
+%endif
+
+%if "%{_build}" != "%{_host}"
+%define _host_rpmprefix %{_host}-
+%else
+%define _host_rpmprefix %{nil}
+%endif
+
+%define binutils_pkgvers 2.21
+%define binutils_version 2.21
+%define binutils_rpmvers %{expand:%(echo "2.21" | tr - _ )}
+
+Name: amd64-pc-netbsdelf5.1-binutils
+Summary: Binutils for target amd64-pc-netbsdelf5.1
+Group: Development/Tools
+Version: %{binutils_rpmvers}
+Release: 0.20110320.0%{?dist}
+License: GPL/LGPL
+URL:<span style="background-color: #FF0000"> </span> http://sources.redhat.com/binutils
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: %{_host_rpmprefix}gcc
+
+%if "%{binutils_version}" >= "2.18"
+# Bug in bfd: Doesn't build without texinfo installed
+BuildRequires: texinfo >= 4.2
+%else
+%endif
+BuildRequires: flex
+BuildRequires: bison
+
+Source0: http://ftp.gnu.org/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
+
+%description
+Cross binutils for target amd64-pc-netbsdelf5.1
+%prep
+%setup -q -c -T -n %{name}-%{version}
+
+%setup -q -D -T -n %{name}-%{version} -a0
+cd binutils-%{binutils_pkgvers}
+%{?PATCH0:%patch0 -p1}
+cd ..
+
+%build
+ mkdir -p build
+ cd build
+%if "%{_build}" != "%{_host}"
+ CFLAGS_FOR_BUILD="-g -O2 -Wall" \
+%endif
+ CFLAGS="$RPM_OPT_FLAGS" \
+ ../binutils-%{binutils_pkgvers}/configure \
+ --build=%_build --host=%_host \
+ --target=amd64-pc-netbsdelf5.1 \
+ --verbose --disable-nls \
+ --without-included-gettext \
+ --disable-win32-registry \
+ --disable-werror \
+ --with-sysroot=%{_prefix}/amd64-pc-netbsdelf5.1/sys-root \
+ --prefix=%{_prefix} --bindir=%{_bindir} \
+ --exec-prefix=%{_exec_prefix} \
+ --includedir=%{_includedir} --libdir=%{_libdir} \
+ --mandir=%{_mandir} --infodir=%{_infodir}
+
+ make %{?_smp_mflags} all
+ cd ..
+
+%install
+ rm -rf $RPM_BUILD_ROOT
+
+ cd build
+ make DESTDIR=$RPM_BUILD_ROOT install
+
+
+# Conflict with a native binutils' infos
+ rm -rf $RPM_BUILD_ROOT%{_infodir}
+
+# We don't ship host files
+ rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
+
+# manpages without corresponding tools
+ if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/amd64-pc-netbsdelf5.1-dlltool%{_exeext}; then<span style="background-color: #FF0000"> </span>
+ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/amd64-pc-netbsdelf5.1-dlltool*
+ fi
+ if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/amd64-pc-netbsdelf5.1-nlmconv%{_exeext}; then<span style="background-color: #FF0000"> </span>
+ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/amd64-pc-netbsdelf5.1-nlmconv*
+ fi
+ if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/amd64-pc-netbsdelf5.1-windres%{_exeext}; then<span style="background-color: #FF0000"> </span>
+ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/amd64-pc-netbsdelf5.1-windres*
+ fi
+ if test ! -f ${RPM_BUILD_ROOT}%{_bindir}/amd64-pc-netbsdelf5.1-windmc%{_exeext}; then<span style="background-color: #FF0000"> </span>
+ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/amd64-pc-netbsdelf5.1-windmc*
+ fi
+
+ cd ..
+
+# Extract %%__os_install_post into os_install_post~
+cat << \EOF > os_install_post~
+%__os_install_post
+EOF
+
+# Generate customized brp-*scripts
+cat os_install_post~ | while read a x y; do
+case $a in
+# Prevent brp-strip* from trying to handle foreign binaries
+*/brp-strip*)
+ b=$(basename $a)
+ sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
+ chmod a+x $b
+ ;;
+esac
+done
+
+sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
+< os_install_post~ > os_install_post<span style="background-color: #FF0000"> </span>
+%define __os_install_post . ./os_install_post
+
+%clean
+ rm -rf $RPM_BUILD_ROOT
+
+# ==============================================================
+# amd64-pc-netbsdelf5.1-binutils
+# ==============================================================
+# %package -n amd64-pc-netbsdelf5.1-binutils
+# Summary: rtems binutils for amd64-pc-netbsdelf5.1
+# Group: Development/Tools
+# %if %build_infos
+# Requires: binutils-common
+# %endif
+
+%description -n amd64-pc-netbsdelf5.1-binutils
+GNU binutils targetting amd64-pc-netbsdelf5.1.
+
+%files -n amd64-pc-netbsdelf5.1-binutils
+%defattr(-,root,root)
+
+%{_mandir}/man1/amd64-pc-netbsdelf5.1-*.1*
+
+%{_bindir}/amd64-pc-netbsdelf5.1-*
+
+%dir %{_exec_prefix}/amd64-pc-netbsdelf5.1
+%dir %{_exec_prefix}/amd64-pc-netbsdelf5.1/bin
+%{_exec_prefix}/amd64-pc-netbsdelf5.1/bin/*
+
+%dir %{_exec_prefix}/amd64-pc-netbsdelf5.1/lib
+%{_exec_prefix}/amd64-pc-netbsdelf5.1/lib/ldscripts
+
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/netbsd5.1/x86_64/amd64-pc-netbsdelf5.1-gcc.spec:1.1
--- /dev/null Mon Mar 21 08:11:54 2011
+++ rtems/contrib/crossrpms/netbsd5.1/x86_64/amd64-pc-netbsdelf5.1-gcc.spec Sun Mar 20 12:11:52 2011
</font><font color='#997700'>@@ -0,0 +1,788 @@
</font><font color='#000088'>+#
+# Please send bugfixes or comments to
+#<span style="background-color: #FF0000"> </span> http://www.rtems.org/bugzilla
+#
+
+
+%ifos cygwin cygwin32 mingw mingw32
+%define _exeext .exe
+%define debug_package %{nil}
+%define _libdir %{_exec_prefix}/lib
+%else
+%define _exeext %{nil}
+%endif
+
+%ifos cygwin cygwin32
+%define optflags -O3 -pipe -march=i486 -funroll-loops
+%endif
+
+%ifos mingw mingw32
+%if %{defined _mingw32_cflags}
+%define optflags %{_mingw32_cflags}
+%else
+%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
+%endif
+%endif
+
+%if "%{_build}" != "%{_host}"
+%define _host_rpmprefix %{_host}-
+%else
+%define _host_rpmprefix %{nil}
+%endif
+
+
+%define gcc_pkgvers 4.5.0
+%define gcc_version 4.5.0
+%define gcc_rpmvers %{expand:%(echo "4.5.0" | tr - _ )}
+
+
+Name:<span style="background-color: #FF0000"> </span> amd64-pc-netbsdelf5.1-gcc
+Summary:<span style="background-color: #FF0000"> </span> amd64-pc-netbsdelf5.1 gcc
+
+Group: <span style="background-color: #FF0000"> </span> Development/Tools
+Version: %{gcc_rpmvers}
+Release:<span style="background-color: #FF0000"> </span> 0.20110320.0%{?dist}
+License:<span style="background-color: #FF0000"> </span> GPL
+URL: http://gcc.gnu.org
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%define _use_internal_dependency_generator 0
+
+BuildRequires: %{_host_rpmprefix}gcc
+
+# FIXME: Disable lto for now, to avoid dependencies on libelf
+%bcond_with lto
+
+# FIXME: Disable python gdb scripts
+# ATM, no idea how to package them
+%bcond_with pygdb
+
+# FIXME: Disable GCC-plugin
+# Bug in gcc-4.5-20100318, doesn't build them on x86_84 hosts.
+%bcond_with plugin
+
+# EXPERIMENTAL: Use gcc's stdint.h instead of newlib's
+# Should be applicable to gcc >= 4.5.0
+%bcond_with gcc_stdint
+
+# versions of libraries, we conditionally bundle if necessary
+%global mpc_version 0.8.1
+%global mpfr_version 2.4.2
+%global gmp_version 4.3.2
+%global libelf_version 0.8.13
+
+# versions of libraries these distros are known to ship
+%if 0%{?fc15}
+%global mpc_provided 0.8.3
+%global mpfr_provided 3.0.0
+%global gmp_provided 4.3.2
+%endif
+
+%if 0%{?fc14}
+%global mpc_provided 0.8.1
+%global mpfr_provided 2.4.2
+%global gmp_provided 4.3.1
+%endif
+
+%if 0%{?fc13}
+%global mpc_provided 0.8.1
+%global mpfr_provided 2.4.2
+%global gmp_provided 4.3.1
+%endif
+
+%if 0%{?el6}
+%global mpc_provided %{nil}
+%global mpfr_provided 2.4.1
+%global gmp_provided 4.3.1
+%endif
+
+%if 0%{?el5}
+%global mpc_provided %{nil}
+%global mpfr_provided %{nil}
+%global gmp_provided 4.1.4
+%endif
+
+%if 0%{?suse11_2}
+%global mpc_provided 0.7
+%global mpfr_provided 2.4.1
+%global gmp_provided 4.3.1
+%endif
+
+%if 0%{?suse11_3}
+%global mpc_provided 0.8.1
+%global mpfr_provided 2.4.2
+%global gmp_provided 4.3.2
+%endif
+
+%if 0%{?suse11_4}
+%global mpc_provided 0.8.2
+%global mpfr_provided 3.0.0
+%global gmp_provided 5.0.1
+%endif
+
+%if 0%{?cygwin}
+%global mpc_provided 0.8
+%global mpfr_provided 2.4.1
+%global gmp_provided 4.3.1
+%endif
+
+%if 0%{?mingw32}
+%global mpc_provided 0.8.1
+%global mpfr_provided 2.4.1
+%global gmp_provided 4.3.2
+%endif
+
+%if "%{gcc_version}" >= "4.2.0"
+%define gmp_required 4.1
+%define mpfr_required 2.2.1
+%endif
+
+%if "%{gcc_version}" >= "4.3.0"
+%define gmp_required 4.1
+%define mpfr_required 2.3.1
+%endif
+
+%if "%{gcc_version}" >= "4.3.3"
+%define cloog_required<span style="background-color: #FF0000"> </span> 0.15
+%endif
+
+%if "%{gcc_version}" >= "4.4.0"
+%define mpfr_required 2.3.2
+%endif
+
+%if "%{gcc_version}" >= "4.5.0"
+%define mpc_required<span style="background-color: #FF0000"> </span> 0.8
+%if %{with lto}
+%define libelf_required<span style="background-color: #FF0000"> </span> 0.8.12
+%endif
+%endif
+
+%if %{defined mpc_required}
+%if "%{mpc_provided}" >= "%{mpc_required}"
+%{?fedora:BuildRequires: libmpc-devel >= %{mpc_required}}
+%{?suse:BuildRequires: mpc-devel >= %{mpc_required}}
+%if "%{_build}" != "%{_host}"
+BuildRequires: %{_host_rpmprefix}mpc-devel >= %{mpc_required}
+%endif
+%else
+%define _build_mpc 1
+%define gmp_required<span style="background-color: #FF0000"> </span> 4.2
+%endif
+%endif
+
+%if %{defined gmp_required}
+%if "%{gmp_provided}" >= "%{gmp_required}"
+BuildRequires: gmp-devel >= %{gmp_required}
+%if "%{_build}" != "%{_host}"
+BuildRequires: %{_host_rpmprefix}gmp-devel >= %{gmp_required}
+%endif
+%else
+%define _build_gmp 1
+%endif
+%endif
+
+%if %{defined libelf_required}
+%if "%{libelf_provided}" >= "%{libelf_required}"
+BuildRequires: libelf-devel >= %{libelf_required}
+%if "%{_build}" != "%{_host}"
+BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required}
+%endif
+%else
+%define _build_libelf 1
+%endif
+%endif
+
+
+%if %{defined cloog_required}
+%{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required}
+%{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required}
+%{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required}
+%{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required}
+%{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}
+%{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}
+%{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}
+%endif
+
+
+%if %{defined mpfr_required}
+%if "%{mpfr_provided}" >= "%{mpfr_required}"
+BuildRequires: mpfr-devel >= %{mpfr_required}
+%if "%{_build}" != "%{_host}"
+BuildRequires: %{_host_rpmprefix}mpfr-devel >= %{mpfr_required}
+%endif
+%else
+%define _build_mpfr 1
+%endif
+%endif
+
+%if "%{_build}" != "%{_host}"
+BuildRequires: amd64-pc-netbsdelf5.1-gcc = %{gcc_rpmvers}
+%endif
+
+%if "%{gcc_version}" >= "4.2.0"
+BuildRequires: flex bison
+%endif
+
+
+BuildRequires: texinfo >= 4.2
+BuildRequires: amd64-pc-netbsdelf5.1-binutils
+BuildRequires: amd64-pc-netbsdelf5.1-sys-root
+
+Requires: amd64-pc-netbsdelf5.1-binutils
+Requires: amd64-pc-netbsdelf5.1-sys-root
+Requires: amd64-pc-netbsdelf5.1-gcc-libgcc = %{gcc_rpmvers}-%{release}
+
+%if "%{gcc_version}" >= "4.5.0"
+BuildRequires: zlib-devel
+%if "%{_build}" != "%{_host}"
+BuildRequires: %{_host_rpmprefix}zlib-devel
+%endif
+%else
+%endif
+
+%global _gcclibdir %{_prefix}/lib
+
+Source0:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+%if "%{gcc_version}" == "4.5.0"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
+%endif
+%{?_without_sources:NoSource: 0}
+
+Source1:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+%{?_without_sources:NoSource: 1}
+
+Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
+%{?_without_sources:NoSource: 2}
+
+Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
+%{?_without_sources:NoSource: 5}
+
+%if 0%{?_build_mpfr}
+Source60: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.bz2
+%endif
+
+%if 0%{?_build_mpc}
+Source61: http://www.multiprecision.org/mpc/download/mpc-%{mpc_version}.tar.gz
+%endif
+
+%if 0%{?_build_gmp}
+Source62: ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.bz2
+%endif
+
+%if 0%{?_build_libelf}
+Source63: http://www.mr511.de/software/libelf-%{libelf_version}.tar.gz
+%endif
+
+%description
+Cross gcc for amd64-pc-netbsdelf5.1.
+
+%prep
+%setup -c -T -n %{name}-%{version}
+
+%setup -q -T -D -n %{name}-%{version} -a0
+cd gcc-%{gcc_pkgvers}
+%{?PATCH0:%patch0 -p1}
+cd ..
+
+%setup -q -T -D -n %{name}-%{version} -a1
+cd gcc-%{gcc_pkgvers}
+%{?PATCH1:%patch1 -p1}
+cd ..
+
+%setup -q -T -D -n %{name}-%{version} -a2
+%{?PATCH2:%patch2 -p0}
+
+
+
+%setup -q -T -D -n %{name}-%{version} -a5
+%{?PATCH5:%patch5 -p0}
+
+%if %{with gcc_stdint}
+sed -i -e '/thread_file=.*rtems/,/use_gcc_stdint=wrap/ { s/use_gcc_stdint=wrap/use_gcc_stdint=provide/}' gcc-%{gcc_pkgvers}/gcc/config.gcc
+%endif
+
+
+%if 0%{?_build_mpfr}
+%setup -q -T -D -n %{name}-%{version} -a60
+%{?PATCH60:%patch60 -p1}
+ # Build mpfr one-tree style
+ ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
+%endif
+
+%if 0%{?_build_mpc}
+%setup -q -T -D -n %{name}-%{version} -a61
+%{?PATCH61:%patch61 -p1}
+ # Build mpc one-tree style
+ ln -s ../mpc-%{mpc_version} gcc-%{gcc_pkgvers}/mpc
+%endif
+
+%if 0%{?_build_gmp}
+%setup -q -T -D -n %{name}-%{version} -a62
+%{?PATCH62:%patch62 -p1}
+ # Build gmp one-tree style
+ ln -s ../gmp-%{gmp_version} gcc-%{gcc_pkgvers}/gmp
+%endif
+
+%if 0%{?_build_libelf}
+%setup -q -T -D -n %{name}-%{version} -a63
+%{?PATCH63:%patch63 -p1}
+ # Build libelf one-tree style
+ ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
+%endif
+
+
+ # Fix timestamps
+ cd gcc-%{gcc_pkgvers}
+ contrib/gcc_update --touch
+ cd ..
+%build
+ mkdir -p build
+
+ cd build
+
+ languages="c"
+ languages="$languages,c++"
+ case amd64-pc-netbsdelf5.1 in
+ *-rtems4.11) optargs="$optargs --enable-libstdcxx-time";;
+ esac
+ languages="$languages,fortran"
+ languages="$languages,objc"
+%if "%{_build}" != "%{_host}"
+ CFLAGS_FOR_BUILD="-g -O2 -Wall" \
+ CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
+%else
+# gcc is not ready to be compiled with -std=gnu99
+ CC=$(echo "%{__cc} ${RPM_OPT_FLAGS}" | sed -e 's,-std=gnu99 ,,') \
+%endif
+ ../gcc-%{gcc_pkgvers}/configure \
+ --prefix=%{_prefix} \
+ --bindir=%{_bindir} \
+ --exec_prefix=%{_exec_prefix} \
+ --includedir=%{_includedir} \
+ --libdir=%{_gcclibdir} \
+ --libexecdir=%{_libexecdir} \
+ --mandir=%{_mandir} \
+ --infodir=%{_infodir} \
+ --datadir=%{_datadir} \
+ --build=%_build --host=%_host \
+ --target=amd64-pc-netbsdelf5.1 \
+ --disable-libstdcxx-pch \
+ --with-gnu-as --with-gnu-ld --verbose \
+ --with-system-zlib \
+ --disable-nls --without-included-gettext \
+ --disable-win32-registry \
+ --enable-version-specific-runtime-libs \
+ --enable-threads \
+ --with-sysroot=%{_exec_prefix}/amd64-pc-netbsdelf5.1/sys-root \
+ %{?with_lto:--enable-lto}%{!?with_lto:--disable-lto} \
+ %{?with_plugin:--enable-plugin}%{!?with_plugin:--disable-plugin} \
+ --enable-languages="$languages" $optargs
+
+%if "%_host" != "%_build"
+ # Bug in gcc-3.2.1:
+ # Somehow, gcc doesn't get syslimits.h right for Cdn-Xs
+ mkdir -p gcc/include
+ cp ../gcc-%{gcc_pkgvers}/gcc/gsyslimits.h gcc/include/syslimits.h
+%endif
+
+ make %{?_smp_mflags} all
+ cd ..
+
+%install
+ rm -rf $RPM_BUILD_ROOT
+
+ cd build
+
+ make DESTDIR=$RPM_BUILD_ROOT install
+ cd ..
+
+
+%if "%{gcc_version}" <= "4.1.2"
+# Misplaced header file
+ if test -f $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h; then
+ mv $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h \
+ $RPM_BUILD_ROOT%{_gcclibdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}/include/
+ fi
+%endif
+
+ # host library
+%if "%{gcc_version}" >= "4.2.0"
+ # libiberty doesn't honor --libdir, but always installs to a<span style="background-color: #FF0000"> </span>
+ # magically guessed _libdir
+ rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty.a
+%else
+ # libiberty installs to --libdir=...
+ rm -f ${RPM_BUILD_ROOT}%{_gcclibdir}/libiberty.a
+%endif
+
+ # We use the version from binutils
+ rm -f $RPM_BUILD_ROOT%{_bindir}/amd64-pc-netbsdelf5.1-c++filt%{_exeext}
+
+
+# Conflict with a native GCC's infos
+ rm -rf $RPM_BUILD_ROOT%{_infodir}
+
+# Conflict with a native GCC's man pages
+ rm -rf $RPM_BUILD_ROOT%{_mandir}/man7
+
+ # Bug in gcc-3.4.0pre
+ rm -f $RPM_BUILD_ROOT%{_bindir}/amd64-pc-netbsdelf5.1-amd64-pc-netbsdelf5.1-gcjh%{_exeext}
+
+ # Bug in gcc-3.3.x/gcc-3.4.x: Despite we don't need fixincludes, it installs
+ # the fixinclude-install-tools
+ rm -rf ${RPM_BUILD_ROOT}%{_gcclibdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}/install-tools
+ rm -rf ${RPM_BUILD_ROOT}%{_libexecdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}/install-tools
+
+ # Bug in gcc > 4.1.0: Installs an unused, empty directory
+ if test -d ${RPM_BUILD_ROOT}%{_prefix}/amd64-pc-netbsdelf5.1/include/bits; then
+ rmdir ${RPM_BUILD_ROOT}%{_prefix}/amd64-pc-netbsdelf5.1/include/bits
+ fi
+
+ # gcc >= 4.5.0: installs weird libstdc++ python bindings.
+%if ! %{with pygdb}
+ if test -d ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python; then
+ rm -rf ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python/libstdcxx
+ fi
+%endif
+
+ # Collect multilib subdirectories
+ multilibs=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
+
+
+ rm -f dirs ;
+ echo "%defattr(-,root,root,-)" >> dirs
+ TGTDIR="%{_gcclibdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}"
+ for i in $multilibs; do
+ case $i in
+ \.) ;; # ignore, handled elsewhere
+ *) echo "%dir ${TGTDIR}/$i" >> dirs
+ ;;
+ esac
+ done
+
+ # Collect files to go into different packages
+ cp dirs build/files.gcc
+ cp dirs build/files.gfortran
+ cp dirs build/files.objc
+ cp dirs build/files.gcj
+ cp dirs build/files.g++
+
+ TGTDIR="%{_gcclibdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}"
+ f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
+ for i in $f; do
+ case $i in
+ *lib*.la) rm ${RPM_BUILD_ROOT}/$i ;; # ignore: gcc produces bogus libtool libs
+ *f771) ;;
+ *f951) ;;
+ *cc1) ;;
+ *cc1obj) ;;
+ *cc1plus) ;; # ignore: explicitly put into rpm elsewhere
+ *collect2) ;;
+ *libobjc*) echo "$i" >> build/files.objc ;;
+ *include/objc*) ;;
+ *include/g++*);;
+ *include/c++*);;
+ *include-fixed/*);;
+ *finclude/*);;
+ *adainclude*);;
+ *adalib*);;
+ *gnat1);;
+ *jc1) ;;
+ *jvgenmain) ;;
+ */libgfortran*.*) echo "$i" >> build/files.gfortran ;;
+ %{!?with_pygdb:*/libstdc++*gdb.py*) rm ${RPM_BUILD_ROOT}/$i ;;} # ignore for now
+ %{?with_pygdb:*/libstdc++*gdb.py*) >> build/files.g++ ;;}
+ */libstdc++.*) echo "$i" >> build/files.g++ ;;
+ */libsupc++.*) echo "$i" >> build/files.g++ ;;
+ *) echo "$i" >> build/files.gcc ;;
+ esac
+ done
+
+ TGTDIR="%{_exec_prefix}/amd64-pc-netbsdelf5.1/lib"
+ f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
+ for i in $f; do
+ case $i in
+ *lib*.la) rm ${RPM_BUILD_ROOT}/$i;; # ignore - gcc produces bogus libtool libs
+ *libiberty.a) rm ${RPM_BUILD_ROOT}/$i ;; # ignore - GPL'ed
+# all other files belong to newlib
+ *) echo "$i" >> build/files.newlib ;;<span style="background-color: #FF0000"> </span>
+ esac
+ done
+# Extract %%__os_install_post into os_install_post~
+cat << \EOF > os_install_post~
+%__os_install_post
+EOF
+
+# Generate customized brp-*scripts
+cat os_install_post~ | while read a x y; do
+case $a in
+# Prevent brp-strip* from trying to handle foreign binaries
+*/brp-strip*)
+ b=$(basename $a)
+ sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
+ chmod a+x $b
+ ;;
+esac
+done
+
+sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
+< os_install_post~ > os_install_post<span style="background-color: #FF0000"> </span>
+%define __os_install_post . ./os_install_post
+
+
+cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
+#!/bin/sh
+grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/amd64-pc-netbsdelf5.1/(lib|include|sys-root)' \
+ %{?_gcclibdir:| grep -v '^${RPM_BUILD_ROOT}%{_gcclibdir}/gcc/amd64-pc-netbsdelf5.1/'} | %__find_provides
+EOF
+chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
+%define __find_provides %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
+
+cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
+#!/bin/sh
+grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/amd64-pc-netbsdelf5.1/(lib|include|sys-root)' \
+ %{?_gcclibdir:| grep -v '^${RPM_BUILD_ROOT}%{_gcclibdir}/gcc/amd64-pc-netbsdelf5.1/'} | %__find_requires
+EOF
+chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
+%define __find_requires %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
+
+%ifnarch noarch
+# Extract %%__debug_install_post into debug_install_post~
+cat << \EOF > debug_install_post~
+%__debug_install_post
+EOF
+
+# Generate customized debug_install_post script
+cat debug_install_post~ | while read a x y; do
+case $a in
+# Prevent find-debuginfo.sh* from trying to handle foreign binaries
+*/find-debuginfo.sh)
+ b=$(basename $a)
+ sed -e 's,find "$RPM_BUILD_ROOT" !,find "$RPM_BUILD_ROOT"%_bindir "$RPM_BUILD_ROOT"%_libexecdir !,' $a > $b
+ chmod a+x $b
+ ;;
+esac
+done
+
+sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
+< debug_install_post~ > debug_install_post<span style="background-color: #FF0000"> </span>
+%define __debug_install_post . ./debug_install_post
+
+%endif
+
+%clean
+ rm -rf $RPM_BUILD_ROOT
+
+# ==============================================================
+# amd64-pc-netbsdelf5.1-gcc
+# ==============================================================
+# %package -n amd64-pc-netbsdelf5.1-gcc
+# Summary: GNU cc compiler for amd64-pc-netbsdelf5.1
+# Group: Development/Tools
+# Version: %{gcc_rpmvers}
+# Requires: amd64-pc-netbsdelf5.1-binutils
+# License: GPL
+
+# %if %build_infos
+# Requires: gcc-common
+# %endif
+
+%description -n amd64-pc-netbsdelf5.1-gcc
+GNU cc compiler for amd64-pc-netbsdelf5.1.
+
+# ==============================================================
+# amd64-pc-netbsdelf5.1-gcc-libgcc
+# ==============================================================
+%package -n amd64-pc-netbsdelf5.1-gcc-libgcc
+Summary: libgcc for amd64-pc-netbsdelf5.1-gcc
+Group: Development/Tools
+Version: %{gcc_rpmvers}
+%{?_with_noarch_subpackages:BuildArch: noarch}
+License: GPL
+
+%description -n amd64-pc-netbsdelf5.1-gcc-libgcc
+libgcc amd64-pc-netbsdelf5.1-gcc.
+
+
+%files -n amd64-pc-netbsdelf5.1-gcc
+%defattr(-,root,root)
+
+%{_mandir}/man1/amd64-pc-netbsdelf5.1-gcc.1*
+%{_mandir}/man1/amd64-pc-netbsdelf5.1-cpp.1*
+%{_mandir}/man1/amd64-pc-netbsdelf5.1-gcov.1*
+
+%{_bindir}/amd64-pc-netbsdelf5.1-cpp%{_exeext}
+%{_bindir}/amd64-pc-netbsdelf5.1-gcc%{_exeext}
+%{_bindir}/amd64-pc-netbsdelf5.1-gcc-%{gcc_version}%{_exeext}
+%{_bindir}/amd64-pc-netbsdelf5.1-gcov%{_exeext}
+%{_bindir}/amd64-pc-netbsdelf5.1-gccbug
+
+%dir %{_libexecdir}/gcc
+%dir %{_libexecdir}/gcc/amd64-pc-netbsdelf5.1
+%dir %{_libexecdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}
+%{_libexecdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}/cc1%{_exeext}
+%{_libexecdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}/collect2%{_exeext}
+%if "%{gcc_version}" >= "4.5.0"
+%{?with_lto:%{_libexecdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}/lto%{_exeext}}
+%{_libexecdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}/lto-wrapper%{_exeext}
+%endif
+
+%files -n amd64-pc-netbsdelf5.1-gcc-libgcc -f build/files.gcc
+%defattr(-,root,root)
+%dir %{_gcclibdir}/gcc
+%dir %{_gcclibdir}/gcc/amd64-pc-netbsdelf5.1
+%dir %{_gcclibdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}
+%dir %{_gcclibdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}/include
+
+%if "%{gcc_version}" > "4.0.3"
+%dir %{_gcclibdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}/include/ssp
+%endif
+
+%if "%{gcc_version}" >= "4.3.0"
+%{_gcclibdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}/include-fixed
+%endif
+
+# ==============================================================
+# amd64-pc-netbsdelf5.1-gcc-c++
+# ==============================================================
+%package -n amd64-pc-netbsdelf5.1-gcc-c++
+Summary: GCC c++ compiler for amd64-pc-netbsdelf5.1
+Group: Development/Tools
+Version: %{gcc_rpmvers}
+License: GPL
+Requires: amd64-pc-netbsdelf5.1-gcc-libstdc++ = %{gcc_rpmvers}-%{release}
+
+%if "%{_build}" != "%{_host}"
+BuildRequires: amd64-pc-netbsdelf5.1-gcc-c++ = %{gcc_rpmvers}
+%endif
+
+Requires: amd64-pc-netbsdelf5.1-gcc = %{gcc_rpmvers}-%{release}
+
+%description -n amd64-pc-netbsdelf5.1-gcc-c++
+GCC c++ compiler for amd64-pc-netbsdelf5.1.
+
+
+%package -n amd64-pc-netbsdelf5.1-gcc-libstdc++
+Summary: libstdc++ for amd64-pc-netbsdelf5.1
+Group: Development/Tools
+Version: %{gcc_rpmvers}
+%{?_with_noarch_subpackages:BuildArch: noarch}
+License: GPL
+
+%description -n amd64-pc-netbsdelf5.1-gcc-libstdc++
+%{summary}
+
+
+%files -n amd64-pc-netbsdelf5.1-gcc-c++
+%defattr(-,root,root)
+
+%{_mandir}/man1/amd64-pc-netbsdelf5.1-g++.1*
+
+%{_bindir}/amd64-pc-netbsdelf5.1-c++%{_exeext}
+%{_bindir}/amd64-pc-netbsdelf5.1-g++%{_exeext}
+
+%dir %{_libexecdir}/gcc
+%dir %{_libexecdir}/gcc/amd64-pc-netbsdelf5.1
+%dir %{_libexecdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}
+%{_libexecdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}/cc1plus%{_exeext}
+
+
+%files -n amd64-pc-netbsdelf5.1-gcc-libstdc++ -f build/files.g++
+%defattr(-,root,root)
+%dir %{_gcclibdir}/gcc
+%dir %{_gcclibdir}/gcc/amd64-pc-netbsdelf5.1
+%dir %{_gcclibdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}
+%dir %{_gcclibdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}/include
+%{_gcclibdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}/include/c++
+
+# ==============================================================
+# amd64-pc-netbsdelf5.1-gcc-gfortran
+# ==============================================================
+%package -n amd64-pc-netbsdelf5.1-gcc-gfortran
+Summary: Fortran 95 support for amd64-pc-netbsdelf5.1-gcc
+Group: Development/Tools
+Version: %{gcc_rpmvers}
+License: GPL
+
+Requires: amd64-pc-netbsdelf5.1-gcc = %{gcc_rpmvers}-%{release}
+Requires: amd64-pc-netbsdelf5.1-gcc-libgfortran = %{gcc_rpmvers}-%{release}
+
+%description -n amd64-pc-netbsdelf5.1-gcc-gfortran
+GCC fortran compiler for amd64-pc-netbsdelf5.1.
+
+%files -n amd64-pc-netbsdelf5.1-gcc-gfortran
+%defattr(-,root,root)
+%{_bindir}/amd64-pc-netbsdelf5.1-gfortran%{_exeext}
+
+%{_mandir}/man1/amd64-pc-netbsdelf5.1-gfortran.1*
+
+%dir %{_libexecdir}/gcc
+%dir %{_libexecdir}/gcc/amd64-pc-netbsdelf5.1
+%dir %{_libexecdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}
+%{_libexecdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}/f951%{_exeext}
+
+# ==============================================================
+# amd64-pc-netbsdelf5.1-gcc-libgfortran
+# ==============================================================
+%package -n amd64-pc-netbsdelf5.1-gcc-libgfortran
+Summary: Fortran 95 support libraries for amd64-pc-netbsdelf5.1-gcc
+Group: Development/Tools
+Version: %{gcc_rpmvers}
+%{?_with_noarch_subpackages:BuildArch: noarch}
+License: GPL
+
+%description -n amd64-pc-netbsdelf5.1-gcc-libgfortran
+%{summary}
+
+%files -n amd64-pc-netbsdelf5.1-gcc-libgfortran -f build/files.gfortran
+%defattr(-,root,root)
+%dir %{_gcclibdir}/gcc
+%dir %{_gcclibdir}/gcc/amd64-pc-netbsdelf5.1
+%dir %{_gcclibdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}
+%if "%{gcc_version}" >= "4.2.0"
+%{_gcclibdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}/finclude
+%endif
+
+# ==============================================================
+# amd64-pc-netbsdelf5.1-gcc-objc
+# ==============================================================
+%package -n amd64-pc-netbsdelf5.1-gcc-objc
+Summary: Objective C support for amd64-pc-netbsdelf5.1-gcc
+Group: Development/Tools
+Version: %{gcc_rpmvers}
+License: GPL
+
+Requires: amd64-pc-netbsdelf5.1-gcc = %{gcc_rpmvers}-%{release}
+Requires: amd64-pc-netbsdelf5.1-gcc-libobjc = %{gcc_rpmvers}-%{release}
+
+%description -n amd64-pc-netbsdelf5.1-gcc-objc
+GCC objc compiler for amd64-pc-netbsdelf5.1.
+
+%files -n amd64-pc-netbsdelf5.1-gcc-objc
+%defattr(-,root,root)
+%dir %{_libexecdir}/gcc
+%dir %{_libexecdir}/gcc/amd64-pc-netbsdelf5.1
+%dir %{_libexecdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}
+%{_libexecdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}/cc1obj%{_exeext}
+
+# ==============================================================
+# amd64-pc-netbsdelf5.1-gcc-libobjc
+# ==============================================================
+%package -n amd64-pc-netbsdelf5.1-gcc-libobjc
+Summary: Objective C support for amd64-pc-netbsdelf5.1-gcc
+Group: Development/Tools
+Version: %{gcc_rpmvers}
+%{?_with_noarch_subpackages:BuildArch: noarch}
+License: GPL
+
+%description -n amd64-pc-netbsdelf5.1-gcc-libobjc
+Support libraries for GCC's objc compiler for amd64-pc-netbsdelf5.1.
+
+%files -n amd64-pc-netbsdelf5.1-gcc-libobjc -f build/files.objc
+%defattr(-,root,root)
+%dir %{_gcclibdir}/gcc
+%dir %{_gcclibdir}/gcc/amd64-pc-netbsdelf5.1
+%dir %{_gcclibdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}
+%dir %{_gcclibdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}/include
+%{_gcclibdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}/include/objc
+
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/netbsd5.1/x86_64/amd64-pc-netbsdelf5.1-libs.spec:1.1
--- /dev/null Mon Mar 21 08:11:54 2011
+++ rtems/contrib/crossrpms/netbsd5.1/x86_64/amd64-pc-netbsdelf5.1-libs.spec Sun Mar 20 12:11:52 2011
</font><font color='#997700'>@@ -0,0 +1,163 @@
</font><font color='#000088'>+#
+# Please send bugfixes or comments to
+#<span style="background-color: #FF0000"> </span> http://www.rtems.org/bugzilla
+#
+
+
+%ifos cygwin cygwin32 mingw mingw32
+%define _exeext .exe
+%define debug_package %{nil}
+%define _libdir %{_exec_prefix}/lib
+%else
+%define _exeext %{nil}
+%endif
+
+%ifos cygwin cygwin32
+%define optflags -O3 -pipe -march=i486 -funroll-loops
+%endif
+
+%ifos mingw mingw32
+%if %{defined _mingw32_cflags}
+%define optflags %{_mingw32_cflags}
+%else
+%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
+%endif
+%endif
+
+%if "%{_build}" != "%{_host}"
+%define _host_rpmprefix %{_host}-
+%else
+%define _host_rpmprefix %{nil}
+%endif
+
+%define netbsd_version 5.1
+%define netbsd_rpmvers %{expand:%(echo 5.1 | tr - _)}
+
+%define _use_internal_dependency_generator 0
+%define __debug_install_post %{nil}
+
+Name: amd64-pc-netbsdelf5.1
+Release: 0.20110320.0%{?dist}
+License: NetBSD
+Group: Development/Tools
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+
+Version:<span style="background-color: #FF0000"> </span> %netbsd_rpmvers
+Summary:<span style="background-color: #FF0000"> </span> amd64-pc-netbsdelf5.1 Libraries
+
+Source0: ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-5.0.2/amd64/binary/sets/base.tgz
+Source1: ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-5.0.2/amd64/binary/sets/comp.tgz
+
+%description
+amd64-pc-netbsdelf5.1 libraries.
+
+%prep
+%setup -q -c -T -n %{name}-%{version} -a 0 -a 1
+
+%build
+ # Setup sys-root (Usable for gcc >= 3.4)
+ mkdir -p amd64-pc-netbsdelf5.1/sys-root
+ %{__tar} cf - lib usr/lib usr/include | ( cd amd64-pc-netbsdelf5.1/sys-root ; %{__tar} xf -)
+
+ pushd amd64-pc-netbsdelf5.1/sys-root/usr/lib > /dev/null
+ # missing files
+ rm -f lib*_p.*
+ # not needed
+ rm -rf aout compat
+
+ # Fix up symlinks
+ find -type l -exec ls -l {} \; | \
+ while read a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aA ; do \
+ case $aA in
+ /lib* ) # link
+ rm $a8;
+ b=`basename $aA`
+ ln -s ../../lib/$b $a8
+ ;;
+ esac
+ done
+ popd > /dev/null
+
+%install
+ rm -rf $RPM_BUILD_ROOT
+ mkdir -p $RPM_BUILD_ROOT%{_prefix}
+ cp -a amd64-pc-netbsdelf5.1 $RPM_BUILD_ROOT%{_prefix}
+
+# Extract %%__os_install_post into os_install_post~
+cat << \EOF > os_install_post~
+%__os_install_post
+EOF
+
+# Generate customized brp-*scripts
+cat os_install_post~ | while read a x y; do
+case $a in
+# Prevent brp-strip* from trying to handle foreign binaries
+*/brp-strip*)
+ b=$(basename $a)
+ sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
+ chmod a+x $b
+ ;;
+esac
+done
+
+sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
+< os_install_post~ > os_install_post<span style="background-color: #FF0000"> </span>
+%define __os_install_post . ./os_install_post
+
+
+cat << EOF > %{_builddir}/%{name}-%{netbsd_rpmvers}/find-provides
+#!/bin/sh
+grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/amd64-pc-netbsdelf5.1/(lib|include|sys-root)' \
+ %{?_gcclibdir:| grep -v '^${RPM_BUILD_ROOT}%{_gcclibdir}/gcc/amd64-pc-netbsdelf5.1/'} | %__find_provides
+EOF
+chmod +x %{_builddir}/%{name}-%{netbsd_rpmvers}/find-provides
+%define __find_provides %{_builddir}/%{name}-%{netbsd_rpmvers}/find-provides
+
+cat << EOF > %{_builddir}/%{name}-%{netbsd_rpmvers}/find-requires
+#!/bin/sh
+grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/amd64-pc-netbsdelf5.1/(lib|include|sys-root)' \
+ %{?_gcclibdir:| grep -v '^${RPM_BUILD_ROOT}%{_gcclibdir}/gcc/amd64-pc-netbsdelf5.1/'} | %__find_requires
+EOF
+chmod +x %{_builddir}/%{name}-%{netbsd_rpmvers}/find-requires
+%define __find_requires %{_builddir}/%{name}-%{netbsd_rpmvers}/find-requires
+
+%ifnarch noarch
+# Extract %%__debug_install_post into debug_install_post~
+cat << \EOF > debug_install_post~
+%__debug_install_post
+EOF
+
+# Generate customized debug_install_post script
+cat debug_install_post~ | while read a x y; do
+case $a in
+# Prevent find-debuginfo.sh* from trying to handle foreign binaries
+*/find-debuginfo.sh)
+ b=$(basename $a)
+ sed -e 's,find "$RPM_BUILD_ROOT" !,find "$RPM_BUILD_ROOT"%_bindir "$RPM_BUILD_ROOT"%_libexecdir !,' $a > $b
+ chmod a+x $b
+ ;;
+esac
+done
+
+sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
+< debug_install_post~ > debug_install_post<span style="background-color: #FF0000"> </span>
+%define __debug_install_post . ./debug_install_post
+
+%endif
+
+%clean
+ rm -rf $RPM_BUILD_ROOT
+
+%package sys-root
+Group: Development/Tools
+Summary: amd64-pc-netbsdelf5.1 target files for gcc >= 3.4
+
+%description sys-root
+amd64-pc-netbsdelf5.1 target files for gcc >= 3.4
+
+%files sys-root
+%defattr(-,root,root,-)
+%dir %{_prefix}/amd64-pc-netbsdelf5.1
+%{_prefix}/amd64-pc-netbsdelf5.1/sys-root
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/netbsd5.1/x86_64/binutils-sources.add:1.1
--- /dev/null Mon Mar 21 08:11:54 2011
+++ rtems/contrib/crossrpms/netbsd5.1/x86_64/binutils-sources.add Sun Mar 20 12:11:53 2011
</font><font color='#997700'>@@ -0,0 +1,2 @@
</font><font color='#000088'>+Source0: http://ftp.gnu.org/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
+@PATCH0@
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/netbsd5.1/x86_64/gcc-sources.add:1.1
--- /dev/null Mon Mar 21 08:11:54 2011
+++ rtems/contrib/crossrpms/netbsd5.1/x86_64/gcc-sources.add Sun Mar 20 12:11:53 2011
</font><font color='#997700'>@@ -0,0 +1,35 @@
</font><font color='#000088'>+Source0:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+%if "%{gcc_version}" == "4.5.0"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
+%endif
+%{?_without_sources:NoSource: 0}
+
+%if %build_cxx
+Source1:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
+@PATCH1@
+%{?_without_sources:NoSource: 1}
+
+%endif
+%if %build_fortran
+Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
+@PATCH2@
+%{?_without_sources:NoSource: 2}
+
+%endif
+%if %build_gcj
+Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2
+@PATCH3@
+%{?_without_sources:NoSource: 3}
+
+%endif
+%if %build_gnat
+Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2
+@PATCH4@
+%{?_without_sources:NoSource: 4}
+
+%endif
+%if %build_objc
+Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
+@PATCH5@
+%{?_without_sources:NoSource: 5}
+%endif
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/netbsd5.1/x86_64/libs.add:1.1
--- /dev/null Mon Mar 21 08:11:54 2011
+++ rtems/contrib/crossrpms/netbsd5.1/x86_64/libs.add Sun Mar 20 12:11:53 2011
</font><font color='#997700'>@@ -0,0 +1,55 @@
</font><font color='#000088'>+%define netbsd_version @NETBSD_VERS@
+%define netbsd_rpmvers %{expand:%(echo @NETBSD_VERS@ | tr - _)}
+
+%define _use_internal_dependency_generator 0
+%define __debug_install_post %{nil}
+
+Name: @rpmprefix@@tool_target@
+Release: @NETBSD_RPMREL@
+License: NetBSD
+Group: Development/Tools
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+
+Version:<span style="background-color: #FF0000"> </span> %netbsd_rpmvers
+Summary:<span style="background-color: #FF0000"> </span> @tool_target@ Libraries
+
+Source0: ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-5.0.2/amd64/binary/sets/base.tgz
+Source1: ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-5.0.2/amd64/binary/sets/comp.tgz
+
+%description
+@tool_target@ libraries.
+
+%prep
+%setup -q -c -T -n %{name}-%{version} -a 0 -a 1
+
+%build
+ # Setup sys-root (Usable for gcc >= 3.4)
+ mkdir -p @tool_target@/sys-root
+ %{__tar} cf - lib usr/lib usr/include | ( cd @tool_target@/sys-root ; %{__tar} xf -)
+
+ pushd @tool_target@/sys-root/usr/lib > /dev/null
+ # missing files
+ rm -f lib*_p.*
+ # not needed
+ rm -rf aout compat
+
+ # Fix up symlinks
+ find -type l -exec ls -l {} \; | \
+ while read a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aA ; do \
+ case $aA in
+ /lib* ) # link
+ rm $a8;
+ b=`basename $aA`
+ ln -s ../../lib/$b $a8
+ ;;
+ esac
+ done
+ popd > /dev/null
+
+%install
+ rm -rf $RPM_BUILD_ROOT
+ mkdir -p $RPM_BUILD_ROOT%{_prefix}
+ cp -a @tool_target@ $RPM_BUILD_ROOT%{_prefix}
+
</font>
<font color='#006600'>diff -u /dev/null rtems/contrib/crossrpms/netbsd5.1/x86_64/target-libs.add:1.1
--- /dev/null Mon Mar 21 08:11:54 2011
+++ rtems/contrib/crossrpms/netbsd5.1/x86_64/target-libs.add Sun Mar 20 12:11:53 2011
</font><font color='#997700'>@@ -0,0 +1,11 @@
</font><font color='#000088'>+%package sys-root
+Group: Development/Tools
+Summary: @tool_target@ target files for gcc >= 3.4
+
+%description sys-root
+@tool_target@ target files for gcc >= 3.4
+
+%files sys-root
+%defattr(-,root,root,-)
+%dir %{_prefix}/@tool_target@
+%{_prefix}/@tool_target@/sys-root
</font></pre>
<p> </p>
<a name='cs11'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Preps for gcc-4.5.2.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd6.4/i586/gcc-sources.add.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>contrib/crossrpms/freebsd6.4/i586/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd7.3/i586/gcc-sources.add.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/freebsd7.3/i586/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/i586/gcc-sources.add.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/freebsd8.1/i586/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/x86_64/gcc-sources.add.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/freebsd8.1/x86_64/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.2/i586/gcc-sources.add.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/freebsd8.2/i586/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.2/x86_64/gcc-sources.add.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/freebsd8.2/x86_64/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.0.2/i386/gcc-sources.add.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>contrib/crossrpms/netbsd5.0.2/i386/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.0.2/x86_64/gcc-sources.add.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>contrib/crossrpms/netbsd5.0.2/x86_64/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/i386/gcc-sources.add.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/netbsd5.1/i386/gcc-sources.add</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/x86_64/gcc-sources.add.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/netbsd5.1/x86_64/gcc-sources.add</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/contrib/crossrpms/freebsd6.4/i586/gcc-sources.add:1.2 rtems/contrib/crossrpms/freebsd6.4/i586/gcc-sources.add:1.3
--- rtems/contrib/crossrpms/freebsd6.4/i586/gcc-sources.add:1.2 Wed Aug 26 11:55:52 2009
+++ rtems/contrib/crossrpms/freebsd6.4/i586/gcc-sources.add Mon Mar 21 03:43:54 2011
</font><font color='#997700'>@@ -1,10 +1,17 @@
</font> Source0:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
<font color='#880000'>-@PATCH0@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.5.0"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
+%endif
+%if "%{gcc_version}" == "4.5.2"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
+%endif
</font> %{?_without_sources:NoSource: 0}
%if %build_cxx
Source1:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
<font color='#880000'>-@PATCH1@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.5.2"<span style="background-color: #FF0000"> </span>
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff
+%endif
</font> %{?_without_sources:NoSource: 1}
%endif
<font color='#006600'>diff -u rtems/contrib/crossrpms/freebsd7.3/i586/gcc-sources.add:1.1 rtems/contrib/crossrpms/freebsd7.3/i586/gcc-sources.add:1.2
--- rtems/contrib/crossrpms/freebsd7.3/i586/gcc-sources.add:1.1 Thu Apr 15 21:58:45 2010
+++ rtems/contrib/crossrpms/freebsd7.3/i586/gcc-sources.add Mon Mar 21 03:43:54 2011
</font><font color='#997700'>@@ -1,10 +1,17 @@
</font> Source0:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
<font color='#880000'>-@PATCH0@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.5.0"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
+%endif
+%if "%{gcc_version}" == "4.5.2"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
+%endif
</font> %{?_without_sources:NoSource: 0}
%if %build_cxx
Source1:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
<font color='#880000'>-@PATCH1@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.5.2"<span style="background-color: #FF0000"> </span>
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff
+%endif
</font> %{?_without_sources:NoSource: 1}
%endif
<font color='#006600'>diff -u rtems/contrib/crossrpms/freebsd8.1/i586/gcc-sources.add:1.1 rtems/contrib/crossrpms/freebsd8.1/i586/gcc-sources.add:1.2
--- rtems/contrib/crossrpms/freebsd8.1/i586/gcc-sources.add:1.1 Mon Jul 26 23:37:58 2010
+++ rtems/contrib/crossrpms/freebsd8.1/i586/gcc-sources.add Mon Mar 21 03:43:54 2011
</font><font color='#997700'>@@ -1,10 +1,17 @@
</font> Source0:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
<font color='#880000'>-@PATCH0@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.5.0"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
+%endif
+%if "%{gcc_version}" == "4.5.2"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
+%endif
</font> %{?_without_sources:NoSource: 0}
%if %build_cxx
Source1:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
<font color='#880000'>-@PATCH1@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.5.2"<span style="background-color: #FF0000"> </span>
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff
+%endif
</font> %{?_without_sources:NoSource: 1}
%endif
<font color='#006600'>diff -u rtems/contrib/crossrpms/freebsd8.1/x86_64/gcc-sources.add:1.1 rtems/contrib/crossrpms/freebsd8.1/x86_64/gcc-sources.add:1.2
--- rtems/contrib/crossrpms/freebsd8.1/x86_64/gcc-sources.add:1.1 Mon Jul 26 23:37:58 2010
+++ rtems/contrib/crossrpms/freebsd8.1/x86_64/gcc-sources.add Mon Mar 21 03:43:54 2011
</font><font color='#997700'>@@ -1,10 +1,17 @@
</font> Source0:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
<font color='#880000'>-@PATCH0@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.5.0"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
+%endif
+%if "%{gcc_version}" == "4.5.2"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
+%endif
</font> %{?_without_sources:NoSource: 0}
%if %build_cxx
Source1:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
<font color='#880000'>-@PATCH1@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.5.2"<span style="background-color: #FF0000"> </span>
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff
+%endif
</font> %{?_without_sources:NoSource: 1}
%endif
<font color='#006600'>diff -u rtems/contrib/crossrpms/freebsd8.2/i586/gcc-sources.add:1.1 rtems/contrib/crossrpms/freebsd8.2/i586/gcc-sources.add:1.2
--- rtems/contrib/crossrpms/freebsd8.2/i586/gcc-sources.add:1.1 Sun Feb 27 16:01:39 2011
+++ rtems/contrib/crossrpms/freebsd8.2/i586/gcc-sources.add Mon Mar 21 03:43:54 2011
</font><font color='#997700'>@@ -1,10 +1,17 @@
</font> Source0:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
<font color='#880000'>-@PATCH0@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.5.0"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
+%endif
+%if "%{gcc_version}" == "4.5.2"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
+%endif
</font> %{?_without_sources:NoSource: 0}
%if %build_cxx
Source1:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
<font color='#880000'>-@PATCH1@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.5.2"<span style="background-color: #FF0000"> </span>
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff
+%endif
</font> %{?_without_sources:NoSource: 1}
%endif
<font color='#006600'>diff -u rtems/contrib/crossrpms/freebsd8.2/x86_64/gcc-sources.add:1.1 rtems/contrib/crossrpms/freebsd8.2/x86_64/gcc-sources.add:1.2
--- rtems/contrib/crossrpms/freebsd8.2/x86_64/gcc-sources.add:1.1 Sun Feb 27 16:01:39 2011
+++ rtems/contrib/crossrpms/freebsd8.2/x86_64/gcc-sources.add Mon Mar 21 03:43:54 2011
</font><font color='#997700'>@@ -1,10 +1,17 @@
</font> Source0:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
<font color='#880000'>-@PATCH0@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.5.0"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
+%endif
+%if "%{gcc_version}" == "4.5.2"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
+%endif
</font> %{?_without_sources:NoSource: 0}
%if %build_cxx
Source1:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
<font color='#880000'>-@PATCH1@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.5.2"<span style="background-color: #FF0000"> </span>
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff
+%endif
</font> %{?_without_sources:NoSource: 1}
%endif
<font color='#006600'>diff -u rtems/contrib/crossrpms/netbsd5.0.2/i386/gcc-sources.add:1.3 rtems/contrib/crossrpms/netbsd5.0.2/i386/gcc-sources.add:1.4
--- rtems/contrib/crossrpms/netbsd5.0.2/i386/gcc-sources.add:1.3 Wed Jun 9 02:29:01 2010
+++ rtems/contrib/crossrpms/netbsd5.0.2/i386/gcc-sources.add Mon Mar 21 03:43:54 2011
</font><font color='#997700'>@@ -2,11 +2,16 @@
</font> %if "%{gcc_version}" == "4.5.0"
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
%endif
<font color='#000088'>+%if "%{gcc_version}" == "4.5.2"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
+%endif
</font> %{?_without_sources:NoSource: 0}
%if %build_cxx
Source1:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
<font color='#880000'>-@PATCH1@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.5.2"<span style="background-color: #FF0000"> </span>
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff
+%endif
</font> %{?_without_sources:NoSource: 1}
%endif
<font color='#006600'>diff -u rtems/contrib/crossrpms/netbsd5.0.2/x86_64/gcc-sources.add:1.2 rtems/contrib/crossrpms/netbsd5.0.2/x86_64/gcc-sources.add:1.3
--- rtems/contrib/crossrpms/netbsd5.0.2/x86_64/gcc-sources.add:1.2 Wed Jun 9 02:29:01 2010
+++ rtems/contrib/crossrpms/netbsd5.0.2/x86_64/gcc-sources.add Mon Mar 21 03:43:54 2011
</font><font color='#997700'>@@ -2,11 +2,16 @@
</font> %if "%{gcc_version}" == "4.5.0"
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
%endif
<font color='#000088'>+%if "%{gcc_version}" == "4.5.2"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
+%endif
</font> %{?_without_sources:NoSource: 0}
%if %build_cxx
Source1:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
<font color='#880000'>-@PATCH1@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.5.2"<span style="background-color: #FF0000"> </span>
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff
+%endif
</font> %{?_without_sources:NoSource: 1}
%endif
<font color='#006600'>diff -u rtems/contrib/crossrpms/netbsd5.1/i386/gcc-sources.add:1.1 rtems/contrib/crossrpms/netbsd5.1/i386/gcc-sources.add:1.2
--- rtems/contrib/crossrpms/netbsd5.1/i386/gcc-sources.add:1.1 Sun Mar 20 12:11:52 2011
+++ rtems/contrib/crossrpms/netbsd5.1/i386/gcc-sources.add Mon Mar 21 03:43:54 2011
</font><font color='#997700'>@@ -2,11 +2,16 @@
</font> %if "%{gcc_version}" == "4.5.0"
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
%endif
<font color='#000088'>+%if "%{gcc_version}" == "4.5.2"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
+%endif
</font> %{?_without_sources:NoSource: 0}
%if %build_cxx
Source1:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
<font color='#880000'>-@PATCH1@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.5.2"<span style="background-color: #FF0000"> </span>
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff
+%endif
</font> %{?_without_sources:NoSource: 1}
%endif
<font color='#006600'>diff -u rtems/contrib/crossrpms/netbsd5.1/x86_64/gcc-sources.add:1.1 rtems/contrib/crossrpms/netbsd5.1/x86_64/gcc-sources.add:1.2
--- rtems/contrib/crossrpms/netbsd5.1/x86_64/gcc-sources.add:1.1 Sun Mar 20 12:11:53 2011
+++ rtems/contrib/crossrpms/netbsd5.1/x86_64/gcc-sources.add Mon Mar 21 03:43:54 2011
</font><font color='#997700'>@@ -2,11 +2,16 @@
</font> %if "%{gcc_version}" == "4.5.0"
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
%endif
<font color='#000088'>+%if "%{gcc_version}" == "4.5.2"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
+%endif
</font> %{?_without_sources:NoSource: 0}
%if %build_cxx
Source1:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
<font color='#880000'>-@PATCH1@
</font><font color='#000088'>+%if "%{gcc_version}" == "4.5.2"<span style="background-color: #FF0000"> </span>
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff
+%endif
</font> %{?_without_sources:NoSource: 1}
%endif
</pre>
<p> </p>
<a name='cs12'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>GCC_VERS = 4.5.2.
GCC_RPMREL = 0.20110321.1.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd6.4/i586/Makefile.am.diff?r1=text&tr1=1.16&r2=text&tr2=1.17&diff_format=h">M</a></td><td width='1%'>1.17</td><td width='100%'>contrib/crossrpms/freebsd6.4/i586/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd7.3/i586/Makefile.am.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>contrib/crossrpms/freebsd7.3/i586/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/i586/Makefile.am.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>contrib/crossrpms/freebsd8.1/i586/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/x86_64/Makefile.am.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>contrib/crossrpms/freebsd8.1/x86_64/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.2/i586/Makefile.am.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>contrib/crossrpms/freebsd8.2/i586/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.2/x86_64/Makefile.am.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>contrib/crossrpms/freebsd8.2/x86_64/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.0.2/i386/Makefile.am.diff?r1=text&tr1=1.12&r2=text&tr2=1.13&diff_format=h">M</a></td><td width='1%'>1.13</td><td width='100%'>contrib/crossrpms/netbsd5.0.2/i386/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.0.2/x86_64/Makefile.am.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>contrib/crossrpms/netbsd5.0.2/x86_64/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/i386/Makefile.am.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/netbsd5.1/i386/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/x86_64/Makefile.am.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/netbsd5.1/x86_64/Makefile.am</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/contrib/crossrpms/freebsd6.4/i586/Makefile.am:1.16 rtems/contrib/crossrpms/freebsd6.4/i586/Makefile.am:1.17
--- rtems/contrib/crossrpms/freebsd6.4/i586/Makefile.am:1.16 Wed Mar 9 22:30:29 2011
+++ rtems/contrib/crossrpms/freebsd6.4/i586/Makefile.am Mon Mar 21 03:47:07 2011
</font><font color='#997700'>@@ -16,8 +16,8 @@
</font> include ../binutils.am
BINUTILS_OPTS +=
<font color='#880000'>-GCC_VERS = 4.5.0
</font><font color='#000088'>+GCC_VERS = 4.5.2
</font> GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 0.20110310.0
</font><font color='#000088'>+GCC_RPMREL = 0.20110321.1
</font> include ../gcc.am
GCC_OPTS += --languages=cxx,fortran,objc
<font color='#006600'>diff -u rtems/contrib/crossrpms/freebsd7.3/i586/Makefile.am:1.7 rtems/contrib/crossrpms/freebsd7.3/i586/Makefile.am:1.8
--- rtems/contrib/crossrpms/freebsd7.3/i586/Makefile.am:1.7 Wed Mar 9 22:39:06 2011
+++ rtems/contrib/crossrpms/freebsd7.3/i586/Makefile.am Mon Mar 21 03:47:07 2011
</font><font color='#997700'>@@ -16,8 +16,8 @@
</font> include ../binutils.am
BINUTILS_OPTS +=
<font color='#880000'>-GCC_VERS = 4.5.0
</font><font color='#000088'>+GCC_VERS = 4.5.2
</font> GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 0.20110310.0
</font><font color='#000088'>+GCC_RPMREL = 0.20110321.1
</font> include ../gcc.am
GCC_OPTS += --languages=cxx,fortran,objc
<font color='#006600'>diff -u rtems/contrib/crossrpms/freebsd8.1/i586/Makefile.am:1.4 rtems/contrib/crossrpms/freebsd8.1/i586/Makefile.am:1.5
--- rtems/contrib/crossrpms/freebsd8.1/i586/Makefile.am:1.4 Wed Mar 9 22:39:06 2011
+++ rtems/contrib/crossrpms/freebsd8.1/i586/Makefile.am Mon Mar 21 03:47:08 2011
</font><font color='#997700'>@@ -16,8 +16,8 @@
</font> include ../binutils.am
BINUTILS_OPTS +=
<font color='#880000'>-GCC_VERS = 4.5.0
</font><font color='#000088'>+GCC_VERS = 4.5.2
</font> GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 0.20110310.0
</font><font color='#000088'>+GCC_RPMREL = 0.20110321.1
</font> include ../gcc.am
GCC_OPTS += --languages=cxx,fortran,objc
<font color='#006600'>diff -u rtems/contrib/crossrpms/freebsd8.1/x86_64/Makefile.am:1.4 rtems/contrib/crossrpms/freebsd8.1/x86_64/Makefile.am:1.5
--- rtems/contrib/crossrpms/freebsd8.1/x86_64/Makefile.am:1.4 Wed Mar 9 22:39:06 2011
+++ rtems/contrib/crossrpms/freebsd8.1/x86_64/Makefile.am Mon Mar 21 03:47:08 2011
</font><font color='#997700'>@@ -16,8 +16,8 @@
</font> include ../binutils.am
BINUTILS_OPTS +=
<font color='#880000'>-GCC_VERS = 4.5.0
</font><font color='#000088'>+GCC_VERS = 4.5.2
</font> GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 0.20110310.0
</font><font color='#000088'>+GCC_RPMREL = 0.20110321.1
</font> include ../gcc.am
GCC_OPTS += --languages=cxx,fortran,objc
<font color='#006600'>diff -u rtems/contrib/crossrpms/freebsd8.2/i586/Makefile.am:1.2 rtems/contrib/crossrpms/freebsd8.2/i586/Makefile.am:1.3
--- rtems/contrib/crossrpms/freebsd8.2/i586/Makefile.am:1.2 Wed Mar 9 22:39:06 2011
+++ rtems/contrib/crossrpms/freebsd8.2/i586/Makefile.am Mon Mar 21 03:47:08 2011
</font><font color='#997700'>@@ -16,8 +16,8 @@
</font> include ../binutils.am
BINUTILS_OPTS +=
<font color='#880000'>-GCC_VERS = 4.5.0
</font><font color='#000088'>+GCC_VERS = 4.5.2
</font> GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 0.20110310.0
</font><font color='#000088'>+GCC_RPMREL = 0.20110321.1
</font> include ../gcc.am
GCC_OPTS += --languages=cxx,fortran,objc
<font color='#006600'>diff -u rtems/contrib/crossrpms/freebsd8.2/x86_64/Makefile.am:1.2 rtems/contrib/crossrpms/freebsd8.2/x86_64/Makefile.am:1.3
--- rtems/contrib/crossrpms/freebsd8.2/x86_64/Makefile.am:1.2 Wed Mar 9 22:39:06 2011
+++ rtems/contrib/crossrpms/freebsd8.2/x86_64/Makefile.am Mon Mar 21 03:47:08 2011
</font><font color='#997700'>@@ -16,8 +16,8 @@
</font> include ../binutils.am
BINUTILS_OPTS +=
<font color='#880000'>-GCC_VERS = 4.5.0
</font><font color='#000088'>+GCC_VERS = 4.5.2
</font> GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 0.20110310.0
</font><font color='#000088'>+GCC_RPMREL = 0.20110321.1
</font> include ../gcc.am
GCC_OPTS += --languages=cxx,fortran,objc
<font color='#006600'>diff -u rtems/contrib/crossrpms/netbsd5.0.2/i386/Makefile.am:1.12 rtems/contrib/crossrpms/netbsd5.0.2/i386/Makefile.am:1.13
--- rtems/contrib/crossrpms/netbsd5.0.2/i386/Makefile.am:1.12 Thu Mar 10 00:52:30 2011
+++ rtems/contrib/crossrpms/netbsd5.0.2/i386/Makefile.am Mon Mar 21 03:47:08 2011
</font><font color='#997700'>@@ -16,8 +16,8 @@
</font> include ../binutils.am
BINUTILS_OPTS +=
<font color='#880000'>-GCC_VERS = 4.5.0
</font><font color='#000088'>+GCC_VERS = 4.5.2
</font> GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 0.20110310.0
</font><font color='#000088'>+GCC_RPMREL = 0.20110321.1
</font> include ../gcc.am
GCC_OPTS += --languages=c,cxx,fortran,objc
<font color='#006600'>diff -u rtems/contrib/crossrpms/netbsd5.0.2/x86_64/Makefile.am:1.7 rtems/contrib/crossrpms/netbsd5.0.2/x86_64/Makefile.am:1.8
--- rtems/contrib/crossrpms/netbsd5.0.2/x86_64/Makefile.am:1.7 Thu Mar 10 00:52:30 2011
+++ rtems/contrib/crossrpms/netbsd5.0.2/x86_64/Makefile.am Mon Mar 21 03:47:08 2011
</font><font color='#997700'>@@ -16,8 +16,8 @@
</font> include ../binutils.am
BINUTILS_OPTS +=
<font color='#880000'>-GCC_VERS = 4.5.0
</font><font color='#000088'>+GCC_VERS = 4.5.2
</font> GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 0.20110310.0
</font><font color='#000088'>+GCC_RPMREL = 0.20110321.1
</font> include ../gcc.am
GCC_OPTS += --languages=c,cxx,fortran,objc
<font color='#006600'>diff -u rtems/contrib/crossrpms/netbsd5.1/i386/Makefile.am:1.1 rtems/contrib/crossrpms/netbsd5.1/i386/Makefile.am:1.2
--- rtems/contrib/crossrpms/netbsd5.1/i386/Makefile.am:1.1 Sun Mar 20 12:11:52 2011
+++ rtems/contrib/crossrpms/netbsd5.1/i386/Makefile.am Mon Mar 21 03:47:08 2011
</font><font color='#997700'>@@ -16,8 +16,8 @@
</font> include ../binutils.am
BINUTILS_OPTS +=
<font color='#880000'>-GCC_VERS = 4.5.0
</font><font color='#000088'>+GCC_VERS = 4.5.2
</font> GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 0.20110320.0
</font><font color='#000088'>+GCC_RPMREL = 0.20110321.1
</font> include ../gcc.am
GCC_OPTS += --languages=c,cxx,fortran,objc
<font color='#006600'>diff -u rtems/contrib/crossrpms/netbsd5.1/x86_64/Makefile.am:1.1 rtems/contrib/crossrpms/netbsd5.1/x86_64/Makefile.am:1.2
--- rtems/contrib/crossrpms/netbsd5.1/x86_64/Makefile.am:1.1 Sun Mar 20 12:11:52 2011
+++ rtems/contrib/crossrpms/netbsd5.1/x86_64/Makefile.am Mon Mar 21 03:47:08 2011
</font><font color='#997700'>@@ -16,8 +16,8 @@
</font> include ../binutils.am
BINUTILS_OPTS +=
<font color='#880000'>-GCC_VERS = 4.5.0
</font><font color='#000088'>+GCC_VERS = 4.5.2
</font> GCC_PKGVERS = $(GCC_VERS)
<font color='#880000'>-GCC_RPMREL = 0.20110320.0
</font><font color='#000088'>+GCC_RPMREL = 0.20110321.1
</font> include ../gcc.am
GCC_OPTS += --languages=c,cxx,fortran,objc
</pre>
<p> </p>
<a name='cs13'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Regenerate.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd6.4/i586/i586-pc-freebsd6.4-gcc.spec.diff?r1=text&tr1=1.13&r2=text&tr2=1.14&diff_format=h">M</a></td><td width='1%'>1.14</td><td width='100%'>contrib/crossrpms/freebsd6.4/i586/i586-pc-freebsd6.4-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd7.3/i586/i586-pc-freebsd7.3-gcc.spec.diff?r1=text&tr1=1.8&r2=text&tr2=1.9&diff_format=h">M</a></td><td width='1%'>1.9</td><td width='100%'>contrib/crossrpms/freebsd7.3/i586/i586-pc-freebsd7.3-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/i586/i586-pc-freebsd8.1-gcc.spec.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>contrib/crossrpms/freebsd8.1/i586/i586-pc-freebsd8.1-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/x86_64/amd64-pc-freebsd8.1-gcc.spec.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>contrib/crossrpms/freebsd8.1/x86_64/amd64-pc-freebsd8.1-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.2/i586/i586-pc-freebsd8.2-gcc.spec.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>contrib/crossrpms/freebsd8.2/i586/i586-pc-freebsd8.2-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.2/x86_64/amd64-pc-freebsd8.2-gcc.spec.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>contrib/crossrpms/freebsd8.2/x86_64/amd64-pc-freebsd8.2-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.0.2/i386/i386-pc-netbsdelf5.0.2-gcc.spec.diff?r1=text&tr1=1.12&r2=text&tr2=1.13&diff_format=h">M</a></td><td width='1%'>1.13</td><td width='100%'>contrib/crossrpms/netbsd5.0.2/i386/i386-pc-netbsdelf5.0.2-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.0.2/x86_64/amd64-pc-netbsdelf5.0.2-gcc.spec.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>contrib/crossrpms/netbsd5.0.2/x86_64/amd64-pc-netbsdelf5.0.2-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/i386/i386-pc-netbsdelf5.1-gcc.spec.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/netbsd5.1/i386/i386-pc-netbsdelf5.1-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/netbsd5.1/x86_64/amd64-pc-netbsdelf5.1-gcc.spec.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>contrib/crossrpms/netbsd5.1/x86_64/amd64-pc-netbsdelf5.1-gcc.spec</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/zlib/preinstall.am.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>cpukit/zlib/preinstall.am</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/contrib/crossrpms/freebsd6.4/i586/i586-pc-freebsd6.4-gcc.spec:1.13 rtems/contrib/crossrpms/freebsd6.4/i586/i586-pc-freebsd6.4-gcc.spec:1.14
--- rtems/contrib/crossrpms/freebsd6.4/i586/i586-pc-freebsd6.4-gcc.spec:1.13 Wed Mar 9 22:30:41 2011
+++ rtems/contrib/crossrpms/freebsd6.4/i586/i586-pc-freebsd6.4-gcc.spec Mon Mar 21 03:48:28 2011
</font><font color='#997700'>@@ -31,9 +31,9 @@
</font> %endif
<font color='#880000'>-%define gcc_pkgvers 4.5.0
-%define gcc_version 4.5.0
-%define gcc_rpmvers %{expand:%(echo "4.5.0" | tr - _ )}
</font><font color='#000088'>+%define gcc_pkgvers 4.5.2
+%define gcc_version 4.5.2
+%define gcc_rpmvers %{expand:%(echo "4.5.2" | tr - _ )}
</font>
Name:<span style="background-color: #FF0000"> </span> i586-pc-freebsd6.4-gcc
<font color='#997700'>@@ -41,7 +41,7 @@
</font>
Group: <span style="background-color: #FF0000"> </span> Development/Tools
Version: %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000"> </span> 0.20110310.0%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000"> </span> 0.20110321.1%{?dist}
</font> License:<span style="background-color: #FF0000"> </span> GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -243,9 +243,18 @@
</font> %global _gcclibdir %{_prefix}/lib
Source0:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
<font color='#000088'>+%if "%{gcc_version}" == "4.5.0"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
+%endif
+%if "%{gcc_version}" == "4.5.2"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
+%endif
</font> %{?_without_sources:NoSource: 0}
Source1:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
<font color='#000088'>+%if "%{gcc_version}" == "4.5.2"<span style="background-color: #FF0000"> </span>
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff
+%endif
</font> %{?_without_sources:NoSource: 1}
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
<font color='#997700'>@@ -339,6 +348,9 @@
</font>
languages="c"
languages="$languages,c++"
<font color='#000088'>+ case i586-pc-freebsd6.4 in
+ *-rtems4.11) optargs="$optargs --enable-libstdcxx-time";;
+ esac
</font> languages="$languages,fortran"
languages="$languages,objc"
%if "%{_build}" != "%{_host}"
<font color='#006600'>diff -u rtems/contrib/crossrpms/freebsd7.3/i586/i586-pc-freebsd7.3-gcc.spec:1.8 rtems/contrib/crossrpms/freebsd7.3/i586/i586-pc-freebsd7.3-gcc.spec:1.9
--- rtems/contrib/crossrpms/freebsd7.3/i586/i586-pc-freebsd7.3-gcc.spec:1.8 Wed Mar 9 22:39:28 2011
+++ rtems/contrib/crossrpms/freebsd7.3/i586/i586-pc-freebsd7.3-gcc.spec Mon Mar 21 03:48:28 2011
</font><font color='#997700'>@@ -31,9 +31,9 @@
</font> %endif
<font color='#880000'>-%define gcc_pkgvers 4.5.0
-%define gcc_version 4.5.0
-%define gcc_rpmvers %{expand:%(echo "4.5.0" | tr - _ )}
</font><font color='#000088'>+%define gcc_pkgvers 4.5.2
+%define gcc_version 4.5.2
+%define gcc_rpmvers %{expand:%(echo "4.5.2" | tr - _ )}
</font>
Name:<span style="background-color: #FF0000"> </span> i586-pc-freebsd7.3-gcc
<font color='#997700'>@@ -41,7 +41,7 @@
</font>
Group: <span style="background-color: #FF0000"> </span> Development/Tools
Version: %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000"> </span> 0.20110310.0%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000"> </span> 0.20110321.1%{?dist}
</font> License:<span style="background-color: #FF0000"> </span> GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -243,9 +243,18 @@
</font> %global _gcclibdir %{_prefix}/lib
Source0:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
<font color='#000088'>+%if "%{gcc_version}" == "4.5.0"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
+%endif
+%if "%{gcc_version}" == "4.5.2"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
+%endif
</font> %{?_without_sources:NoSource: 0}
Source1:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
<font color='#000088'>+%if "%{gcc_version}" == "4.5.2"<span style="background-color: #FF0000"> </span>
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff
+%endif
</font> %{?_without_sources:NoSource: 1}
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
<font color='#997700'>@@ -339,6 +348,9 @@
</font>
languages="c"
languages="$languages,c++"
<font color='#000088'>+ case i586-pc-freebsd7.3 in
+ *-rtems4.11) optargs="$optargs --enable-libstdcxx-time";;
+ esac
</font> languages="$languages,fortran"
languages="$languages,objc"
%if "%{_build}" != "%{_host}"
<font color='#006600'>diff -u rtems/contrib/crossrpms/freebsd8.1/i586/i586-pc-freebsd8.1-gcc.spec:1.4 rtems/contrib/crossrpms/freebsd8.1/i586/i586-pc-freebsd8.1-gcc.spec:1.5
--- rtems/contrib/crossrpms/freebsd8.1/i586/i586-pc-freebsd8.1-gcc.spec:1.4 Wed Mar 9 22:39:28 2011
+++ rtems/contrib/crossrpms/freebsd8.1/i586/i586-pc-freebsd8.1-gcc.spec Mon Mar 21 03:48:28 2011
</font><font color='#997700'>@@ -31,9 +31,9 @@
</font> %endif
<font color='#880000'>-%define gcc_pkgvers 4.5.0
-%define gcc_version 4.5.0
-%define gcc_rpmvers %{expand:%(echo "4.5.0" | tr - _ )}
</font><font color='#000088'>+%define gcc_pkgvers 4.5.2
+%define gcc_version 4.5.2
+%define gcc_rpmvers %{expand:%(echo "4.5.2" | tr - _ )}
</font>
Name:<span style="background-color: #FF0000"> </span> i586-pc-freebsd8.1-gcc
<font color='#997700'>@@ -41,7 +41,7 @@
</font>
Group: <span style="background-color: #FF0000"> </span> Development/Tools
Version: %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000"> </span> 0.20110310.0%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000"> </span> 0.20110321.1%{?dist}
</font> License:<span style="background-color: #FF0000"> </span> GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -243,9 +243,18 @@
</font> %global _gcclibdir %{_prefix}/lib
Source0:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
<font color='#000088'>+%if "%{gcc_version}" == "4.5.0"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
+%endif
+%if "%{gcc_version}" == "4.5.2"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
+%endif
</font> %{?_without_sources:NoSource: 0}
Source1:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
<font color='#000088'>+%if "%{gcc_version}" == "4.5.2"<span style="background-color: #FF0000"> </span>
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff
+%endif
</font> %{?_without_sources:NoSource: 1}
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
<font color='#997700'>@@ -339,6 +348,9 @@
</font>
languages="c"
languages="$languages,c++"
<font color='#000088'>+ case i586-pc-freebsd8.1 in
+ *-rtems4.11) optargs="$optargs --enable-libstdcxx-time";;
+ esac
</font> languages="$languages,fortran"
languages="$languages,objc"
%if "%{_build}" != "%{_host}"
<font color='#006600'>diff -u rtems/contrib/crossrpms/freebsd8.1/x86_64/amd64-pc-freebsd8.1-gcc.spec:1.4 rtems/contrib/crossrpms/freebsd8.1/x86_64/amd64-pc-freebsd8.1-gcc.spec:1.5
--- rtems/contrib/crossrpms/freebsd8.1/x86_64/amd64-pc-freebsd8.1-gcc.spec:1.4 Wed Mar 9 22:39:36 2011
+++ rtems/contrib/crossrpms/freebsd8.1/x86_64/amd64-pc-freebsd8.1-gcc.spec Mon Mar 21 03:48:28 2011
</font><font color='#997700'>@@ -31,9 +31,9 @@
</font> %endif
<font color='#880000'>-%define gcc_pkgvers 4.5.0
-%define gcc_version 4.5.0
-%define gcc_rpmvers %{expand:%(echo "4.5.0" | tr - _ )}
</font><font color='#000088'>+%define gcc_pkgvers 4.5.2
+%define gcc_version 4.5.2
+%define gcc_rpmvers %{expand:%(echo "4.5.2" | tr - _ )}
</font>
Name:<span style="background-color: #FF0000"> </span> amd64-pc-freebsd8.1-gcc
<font color='#997700'>@@ -41,7 +41,7 @@
</font>
Group: <span style="background-color: #FF0000"> </span> Development/Tools
Version: %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000"> </span> 0.20110310.0%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000"> </span> 0.20110321.1%{?dist}
</font> License:<span style="background-color: #FF0000"> </span> GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -243,9 +243,18 @@
</font> %global _gcclibdir %{_prefix}/lib
Source0:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
<font color='#000088'>+%if "%{gcc_version}" == "4.5.0"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
+%endif
+%if "%{gcc_version}" == "4.5.2"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
+%endif
</font> %{?_without_sources:NoSource: 0}
Source1:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
<font color='#000088'>+%if "%{gcc_version}" == "4.5.2"<span style="background-color: #FF0000"> </span>
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff
+%endif
</font> %{?_without_sources:NoSource: 1}
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
<font color='#997700'>@@ -339,6 +348,9 @@
</font>
languages="c"
languages="$languages,c++"
<font color='#000088'>+ case amd64-pc-freebsd8.1 in
+ *-rtems4.11) optargs="$optargs --enable-libstdcxx-time";;
+ esac
</font> languages="$languages,fortran"
languages="$languages,objc"
%if "%{_build}" != "%{_host}"
<font color='#006600'>diff -u rtems/contrib/crossrpms/freebsd8.2/i586/i586-pc-freebsd8.2-gcc.spec:1.2 rtems/contrib/crossrpms/freebsd8.2/i586/i586-pc-freebsd8.2-gcc.spec:1.3
--- rtems/contrib/crossrpms/freebsd8.2/i586/i586-pc-freebsd8.2-gcc.spec:1.2 Wed Mar 9 22:39:28 2011
+++ rtems/contrib/crossrpms/freebsd8.2/i586/i586-pc-freebsd8.2-gcc.spec Mon Mar 21 03:48:28 2011
</font><font color='#997700'>@@ -31,9 +31,9 @@
</font> %endif
<font color='#880000'>-%define gcc_pkgvers 4.5.0
-%define gcc_version 4.5.0
-%define gcc_rpmvers %{expand:%(echo "4.5.0" | tr - _ )}
</font><font color='#000088'>+%define gcc_pkgvers 4.5.2
+%define gcc_version 4.5.2
+%define gcc_rpmvers %{expand:%(echo "4.5.2" | tr - _ )}
</font>
Name:<span style="background-color: #FF0000"> </span> i586-pc-freebsd8.2-gcc
<font color='#997700'>@@ -41,7 +41,7 @@
</font>
Group: <span style="background-color: #FF0000"> </span> Development/Tools
Version: %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000"> </span> 0.20110310.0%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000"> </span> 0.20110321.1%{?dist}
</font> License:<span style="background-color: #FF0000"> </span> GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -243,9 +243,18 @@
</font> %global _gcclibdir %{_prefix}/lib
Source0:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
<font color='#000088'>+%if "%{gcc_version}" == "4.5.0"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
+%endif
+%if "%{gcc_version}" == "4.5.2"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
+%endif
</font> %{?_without_sources:NoSource: 0}
Source1:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
<font color='#000088'>+%if "%{gcc_version}" == "4.5.2"<span style="background-color: #FF0000"> </span>
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff
+%endif
</font> %{?_without_sources:NoSource: 1}
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
<font color='#997700'>@@ -339,6 +348,9 @@
</font>
languages="c"
languages="$languages,c++"
<font color='#000088'>+ case i586-pc-freebsd8.2 in
+ *-rtems4.11) optargs="$optargs --enable-libstdcxx-time";;
+ esac
</font> languages="$languages,fortran"
languages="$languages,objc"
%if "%{_build}" != "%{_host}"
<font color='#006600'>diff -u rtems/contrib/crossrpms/freebsd8.2/x86_64/amd64-pc-freebsd8.2-gcc.spec:1.2 rtems/contrib/crossrpms/freebsd8.2/x86_64/amd64-pc-freebsd8.2-gcc.spec:1.3
--- rtems/contrib/crossrpms/freebsd8.2/x86_64/amd64-pc-freebsd8.2-gcc.spec:1.2 Thu Mar 10 01:03:20 2011
+++ rtems/contrib/crossrpms/freebsd8.2/x86_64/amd64-pc-freebsd8.2-gcc.spec Mon Mar 21 03:48:28 2011
</font><font color='#997700'>@@ -31,9 +31,9 @@
</font> %endif
<font color='#880000'>-%define gcc_pkgvers 4.5.0
-%define gcc_version 4.5.0
-%define gcc_rpmvers %{expand:%(echo "4.5.0" | tr - _ )}
</font><font color='#000088'>+%define gcc_pkgvers 4.5.2
+%define gcc_version 4.5.2
+%define gcc_rpmvers %{expand:%(echo "4.5.2" | tr - _ )}
</font>
Name:<span style="background-color: #FF0000"> </span> amd64-pc-freebsd8.2-gcc
<font color='#997700'>@@ -41,7 +41,7 @@
</font>
Group: <span style="background-color: #FF0000"> </span> Development/Tools
Version: %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000"> </span> 0.20110310.0%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000"> </span> 0.20110321.1%{?dist}
</font> License:<span style="background-color: #FF0000"> </span> GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -243,9 +243,18 @@
</font> %global _gcclibdir %{_prefix}/lib
Source0:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
<font color='#000088'>+%if "%{gcc_version}" == "4.5.0"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
+%endif
+%if "%{gcc_version}" == "4.5.2"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
+%endif
</font> %{?_without_sources:NoSource: 0}
Source1:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
<font color='#000088'>+%if "%{gcc_version}" == "4.5.2"<span style="background-color: #FF0000"> </span>
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff
+%endif
</font> %{?_without_sources:NoSource: 1}
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
<font color='#997700'>@@ -339,6 +348,9 @@
</font>
languages="c"
languages="$languages,c++"
<font color='#000088'>+ case amd64-pc-freebsd8.2 in
+ *-rtems4.11) optargs="$optargs --enable-libstdcxx-time";;
+ esac
</font> languages="$languages,fortran"
languages="$languages,objc"
%if "%{_build}" != "%{_host}"
<font color='#006600'>diff -u rtems/contrib/crossrpms/netbsd5.0.2/i386/i386-pc-netbsdelf5.0.2-gcc.spec:1.12 rtems/contrib/crossrpms/netbsd5.0.2/i386/i386-pc-netbsdelf5.0.2-gcc.spec:1.13
--- rtems/contrib/crossrpms/netbsd5.0.2/i386/i386-pc-netbsdelf5.0.2-gcc.spec:1.12 Wed Mar 9 23:22:06 2011
+++ rtems/contrib/crossrpms/netbsd5.0.2/i386/i386-pc-netbsdelf5.0.2-gcc.spec Mon Mar 21 03:48:28 2011
</font><font color='#997700'>@@ -31,9 +31,9 @@
</font> %endif
<font color='#880000'>-%define gcc_pkgvers 4.5.0
-%define gcc_version 4.5.0
-%define gcc_rpmvers %{expand:%(echo "4.5.0" | tr - _ )}
</font><font color='#000088'>+%define gcc_pkgvers 4.5.2
+%define gcc_version 4.5.2
+%define gcc_rpmvers %{expand:%(echo "4.5.2" | tr - _ )}
</font>
Name:<span style="background-color: #FF0000"> </span> i386-pc-netbsdelf5.0.2-gcc
<font color='#997700'>@@ -41,7 +41,7 @@
</font>
Group: <span style="background-color: #FF0000"> </span> Development/Tools
Version: %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000"> </span> 0.20110310.0%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000"> </span> 0.20110321.1%{?dist}
</font> License:<span style="background-color: #FF0000"> </span> GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -246,9 +246,15 @@
</font> %if "%{gcc_version}" == "4.5.0"
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
%endif
<font color='#000088'>+%if "%{gcc_version}" == "4.5.2"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
+%endif
</font> %{?_without_sources:NoSource: 0}
Source1:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
<font color='#000088'>+%if "%{gcc_version}" == "4.5.2"<span style="background-color: #FF0000"> </span>
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff
+%endif
</font> %{?_without_sources:NoSource: 1}
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
<font color='#997700'>@@ -342,6 +348,9 @@
</font>
languages="c"
languages="$languages,c++"
<font color='#000088'>+ case i386-pc-netbsdelf5.0.2 in
+ *-rtems4.11) optargs="$optargs --enable-libstdcxx-time";;
+ esac
</font> languages="$languages,fortran"
languages="$languages,objc"
%if "%{_build}" != "%{_host}"
<font color='#006600'>diff -u rtems/contrib/crossrpms/netbsd5.0.2/x86_64/amd64-pc-netbsdelf5.0.2-gcc.spec:1.6 rtems/contrib/crossrpms/netbsd5.0.2/x86_64/amd64-pc-netbsdelf5.0.2-gcc.spec:1.7
--- rtems/contrib/crossrpms/netbsd5.0.2/x86_64/amd64-pc-netbsdelf5.0.2-gcc.spec:1.6 Wed Mar 9 23:22:06 2011
+++ rtems/contrib/crossrpms/netbsd5.0.2/x86_64/amd64-pc-netbsdelf5.0.2-gcc.spec Mon Mar 21 03:48:28 2011
</font><font color='#997700'>@@ -31,9 +31,9 @@
</font> %endif
<font color='#880000'>-%define gcc_pkgvers 4.5.0
-%define gcc_version 4.5.0
-%define gcc_rpmvers %{expand:%(echo "4.5.0" | tr - _ )}
</font><font color='#000088'>+%define gcc_pkgvers 4.5.2
+%define gcc_version 4.5.2
+%define gcc_rpmvers %{expand:%(echo "4.5.2" | tr - _ )}
</font>
Name:<span style="background-color: #FF0000"> </span> amd64-pc-netbsdelf5.0.2-gcc
<font color='#997700'>@@ -41,7 +41,7 @@
</font>
Group: <span style="background-color: #FF0000"> </span> Development/Tools
Version: %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000"> </span> 0.20110310.0%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000"> </span> 0.20110321.1%{?dist}
</font> License:<span style="background-color: #FF0000"> </span> GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -246,9 +246,15 @@
</font> %if "%{gcc_version}" == "4.5.0"
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
%endif
<font color='#000088'>+%if "%{gcc_version}" == "4.5.2"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
+%endif
</font> %{?_without_sources:NoSource: 0}
Source1:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
<font color='#000088'>+%if "%{gcc_version}" == "4.5.2"<span style="background-color: #FF0000"> </span>
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff
+%endif
</font> %{?_without_sources:NoSource: 1}
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
<font color='#997700'>@@ -342,6 +348,9 @@
</font>
languages="c"
languages="$languages,c++"
<font color='#000088'>+ case amd64-pc-netbsdelf5.0.2 in
+ *-rtems4.11) optargs="$optargs --enable-libstdcxx-time";;
+ esac
</font> languages="$languages,fortran"
languages="$languages,objc"
%if "%{_build}" != "%{_host}"
<font color='#006600'>diff -u rtems/contrib/crossrpms/netbsd5.1/i386/i386-pc-netbsdelf5.1-gcc.spec:1.1 rtems/contrib/crossrpms/netbsd5.1/i386/i386-pc-netbsdelf5.1-gcc.spec:1.2
--- rtems/contrib/crossrpms/netbsd5.1/i386/i386-pc-netbsdelf5.1-gcc.spec:1.1 Sun Mar 20 12:11:52 2011
+++ rtems/contrib/crossrpms/netbsd5.1/i386/i386-pc-netbsdelf5.1-gcc.spec Mon Mar 21 03:48:28 2011
</font><font color='#997700'>@@ -31,9 +31,9 @@
</font> %endif
<font color='#880000'>-%define gcc_pkgvers 4.5.0
-%define gcc_version 4.5.0
-%define gcc_rpmvers %{expand:%(echo "4.5.0" | tr - _ )}
</font><font color='#000088'>+%define gcc_pkgvers 4.5.2
+%define gcc_version 4.5.2
+%define gcc_rpmvers %{expand:%(echo "4.5.2" | tr - _ )}
</font>
Name:<span style="background-color: #FF0000"> </span> i386-pc-netbsdelf5.1-gcc
<font color='#997700'>@@ -41,7 +41,7 @@
</font>
Group: <span style="background-color: #FF0000"> </span> Development/Tools
Version: %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000"> </span> 0.20110320.0%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000"> </span> 0.20110321.1%{?dist}
</font> License:<span style="background-color: #FF0000"> </span> GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -246,9 +246,15 @@
</font> %if "%{gcc_version}" == "4.5.0"
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
%endif
<font color='#000088'>+%if "%{gcc_version}" == "4.5.2"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
+%endif
</font> %{?_without_sources:NoSource: 0}
Source1:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
<font color='#000088'>+%if "%{gcc_version}" == "4.5.2"<span style="background-color: #FF0000"> </span>
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff
+%endif
</font> %{?_without_sources:NoSource: 1}
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
<font color='#006600'>diff -u rtems/contrib/crossrpms/netbsd5.1/x86_64/amd64-pc-netbsdelf5.1-gcc.spec:1.1 rtems/contrib/crossrpms/netbsd5.1/x86_64/amd64-pc-netbsdelf5.1-gcc.spec:1.2
--- rtems/contrib/crossrpms/netbsd5.1/x86_64/amd64-pc-netbsdelf5.1-gcc.spec:1.1 Sun Mar 20 12:11:52 2011
+++ rtems/contrib/crossrpms/netbsd5.1/x86_64/amd64-pc-netbsdelf5.1-gcc.spec Mon Mar 21 03:48:28 2011
</font><font color='#997700'>@@ -31,9 +31,9 @@
</font> %endif
<font color='#880000'>-%define gcc_pkgvers 4.5.0
-%define gcc_version 4.5.0
-%define gcc_rpmvers %{expand:%(echo "4.5.0" | tr - _ )}
</font><font color='#000088'>+%define gcc_pkgvers 4.5.2
+%define gcc_version 4.5.2
+%define gcc_rpmvers %{expand:%(echo "4.5.2" | tr - _ )}
</font>
Name:<span style="background-color: #FF0000"> </span> amd64-pc-netbsdelf5.1-gcc
<font color='#997700'>@@ -41,7 +41,7 @@
</font>
Group: <span style="background-color: #FF0000"> </span> Development/Tools
Version: %{gcc_rpmvers}
<font color='#880000'>-Release:<span style="background-color: #FF0000"> </span> 0.20110320.0%{?dist}
</font><font color='#000088'>+Release:<span style="background-color: #FF0000"> </span> 0.20110321.1%{?dist}
</font> License:<span style="background-color: #FF0000"> </span> GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
<font color='#997700'>@@ -246,9 +246,15 @@
</font> %if "%{gcc_version}" == "4.5.0"
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff
%endif
<font color='#000088'>+%if "%{gcc_version}" == "4.5.2"
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff
+%endif
</font> %{?_without_sources:NoSource: 0}
Source1:<span style="background-color: #FF0000"> </span> ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
<font color='#000088'>+%if "%{gcc_version}" == "4.5.2"<span style="background-color: #FF0000"> </span>
+Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff
+%endif
</font> %{?_without_sources:NoSource: 1}
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
<font color='#006600'>diff -u rtems/cpukit/zlib/preinstall.am:1.7 rtems/cpukit/zlib/preinstall.am:1.8
--- rtems/cpukit/zlib/preinstall.am:1.7 Mon Jan 8 02:43:28 2007
+++ rtems/cpukit/zlib/preinstall.am Sat Mar 19 02:44:05 2011
</font><font color='#997700'>@@ -11,7 +11,7 @@
</font> all-local: $(TMPINSTALL_FILES)
TMPINSTALL_FILES =
<font color='#880000'>-CLEANFILES = $(TMPINSTALL_FILES)
</font><font color='#000088'>+CLEANFILES += $(TMPINSTALL_FILES)
</font>
all-am: $(PREINSTALL_FILES)
</pre>
<p> </p>
<a name='cs14'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Abandon freebsd8.1
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/Makefile.am.diff?r1=text&tr1=1.41&r2=text&tr2=1.42&diff_format=h">M</a></td><td width='1%'>1.42</td><td width='100%'>contrib/crossrpms/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/configure.ac.diff?r1=text&tr1=1.82&r2=text&tr2=1.83&diff_format=h">M</a></td><td width='1%'>1.83</td><td width='100%'>contrib/crossrpms/configure.ac</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/contrib/crossrpms/Makefile.am:1.41 rtems/contrib/crossrpms/Makefile.am:1.42
--- rtems/contrib/crossrpms/Makefile.am:1.41 Sun Mar 20 12:09:47 2011
+++ rtems/contrib/crossrpms/Makefile.am Mon Mar 21 06:17:26 2011
</font><font color='#997700'>@@ -9,7 +9,6 @@
</font> DIST_SUBDIRS = cygwin
DIST_SUBDIRS += freebsd6.4
DIST_SUBDIRS += freebsd7.3
<font color='#880000'>-DIST_SUBDIRS += freebsd8.1
</font> DIST_SUBDIRS += freebsd8.2
DIST_SUBDIRS += mingw32
DIST_SUBDIRS += netbsd5.0.2
<font color='#006600'>diff -u rtems/contrib/crossrpms/configure.ac:1.82 rtems/contrib/crossrpms/configure.ac:1.83
--- rtems/contrib/crossrpms/configure.ac:1.82 Sun Mar 20 12:09:47 2011
+++ rtems/contrib/crossrpms/configure.ac Mon Mar 21 06:17:26 2011
</font><font color='#997700'>@@ -147,10 +147,6 @@
</font> AC_CONFIG_FILES([freebsd7.3/Makefile])
AC_CONFIG_FILES([freebsd7.3/i586/Makefile])
<font color='#880000'>-AC_CONFIG_FILES([freebsd8.1/Makefile])
-AC_CONFIG_FILES([freebsd8.1/i586/Makefile])
-AC_CONFIG_FILES([freebsd8.1/x86_64/Makefile])
-
</font> AC_CONFIG_FILES([freebsd8.2/Makefile])
AC_CONFIG_FILES([freebsd8.2/i586/Makefile])
AC_CONFIG_FILES([freebsd8.2/x86_64/Makefile])
</pre>
<p> </p>
<a name='cs15'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Abandon.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/.cvsignore?rev=1.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1</font></td><td width='100%'><font color="#880000">contrib/crossrpms/freebsd8.1/.cvsignore</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/Makefile.am?rev=1.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1</font></td><td width='100%'><font color="#880000">contrib/crossrpms/freebsd8.1/Makefile.am</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/binutils.am?rev=1.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1</font></td><td width='100%'><font color="#880000">contrib/crossrpms/freebsd8.1/binutils.am</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/gcc-prep.add?rev=1.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1</font></td><td width='100%'><font color="#880000">contrib/crossrpms/freebsd8.1/gcc-prep.add</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/gcc.am?rev=1.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1</font></td><td width='100%'><font color="#880000">contrib/crossrpms/freebsd8.1/gcc.am</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/i586/.cvsignore?rev=1.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1</font></td><td width='100%'><font color="#880000">contrib/crossrpms/freebsd8.1/i586/.cvsignore</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/i586/Makefile.am?rev=1.5&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.5</font></td><td width='100%'><font color="#880000">contrib/crossrpms/freebsd8.1/i586/Makefile.am</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/i586/binutils-sources.add?rev=1.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1</font></td><td width='100%'><font color="#880000">contrib/crossrpms/freebsd8.1/i586/binutils-sources.add</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/i586/gcc-sources.add?rev=1.2&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.2</font></td><td width='100%'><font color="#880000">contrib/crossrpms/freebsd8.1/i586/gcc-sources.add</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/i586/i586-pc-freebsd8.1-binutils.spec?rev=1.2&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.2</font></td><td width='100%'><font color="#880000">contrib/crossrpms/freebsd8.1/i586/i586-pc-freebsd8.1-binutils.spec</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/i586/i586-pc-freebsd8.1-gcc.spec?rev=1.5&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.5</font></td><td width='100%'><font color="#880000">contrib/crossrpms/freebsd8.1/i586/i586-pc-freebsd8.1-gcc.spec</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/i586/i586-pc-freebsd8.1-libs.spec?rev=1.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1</font></td><td width='100%'><font color="#880000">contrib/crossrpms/freebsd8.1/i586/i586-pc-freebsd8.1-libs.spec</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/i586/libs.add?rev=1.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1</font></td><td width='100%'><font color="#880000">contrib/crossrpms/freebsd8.1/i586/libs.add</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/i586/target-libs.add?rev=1.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1</font></td><td width='100%'><font color="#880000">contrib/crossrpms/freebsd8.1/i586/target-libs.add</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/libs.am?rev=1.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1</font></td><td width='100%'><font color="#880000">contrib/crossrpms/freebsd8.1/libs.am</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/x86_64/.cvsignore?rev=1.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1</font></td><td width='100%'><font color="#880000">contrib/crossrpms/freebsd8.1/x86_64/.cvsignore</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/x86_64/Makefile.am?rev=1.5&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.5</font></td><td width='100%'><font color="#880000">contrib/crossrpms/freebsd8.1/x86_64/Makefile.am</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/x86_64/amd64-pc-freebsd8.1-binutils.spec?rev=1.2&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.2</font></td><td width='100%'><font color="#880000">contrib/crossrpms/freebsd8.1/x86_64/amd64-pc-freebsd8.1-binutils.spec</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/x86_64/amd64-pc-freebsd8.1-gcc.spec?rev=1.5&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.5</font></td><td width='100%'><font color="#880000">contrib/crossrpms/freebsd8.1/x86_64/amd64-pc-freebsd8.1-gcc.spec</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/x86_64/amd64-pc-freebsd8.1-libs.spec?rev=1.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1</font></td><td width='100%'><font color="#880000">contrib/crossrpms/freebsd8.1/x86_64/amd64-pc-freebsd8.1-libs.spec</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/x86_64/binutils-sources.add?rev=1.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1</font></td><td width='100%'><font color="#880000">contrib/crossrpms/freebsd8.1/x86_64/binutils-sources.add</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/x86_64/gcc-sources.add?rev=1.2&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.2</font></td><td width='100%'><font color="#880000">contrib/crossrpms/freebsd8.1/x86_64/gcc-sources.add</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/x86_64/libs.add?rev=1.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1</font></td><td width='100%'><font color="#880000">contrib/crossrpms/freebsd8.1/x86_64/libs.add</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/contrib/crossrpms/freebsd8.1/x86_64/target-libs.add?rev=1.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1</font></td><td width='100%'><font color="#880000">contrib/crossrpms/freebsd8.1/x86_64/target-libs.add</font></td></tr>
</table>
<p> </p>
<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>