--- newlib-1.18.0.orig/debian/copyright +++ newlib-1.18.0/debian/copyright @@ -0,0 +1,778 @@ +This package was Debianised by Shaun Jackman on +Sat, 13 Nov 2004 11:59:20 -0800. + +This package was downloaded from http://sources.redhat.com/newlib/. + +Upstream Authors: +newlib@sources.redhat.com +Jeff Johnston +Tom Fitzsimmons + +The newlib subdirectory is a collection of software from several sources. +Each file may have its own copyright/license that is embedded in the source +file. + +This list documents those licenses which are more restrictive than +a BSD-like license or require the copyright notice +to be duplicated in documentation and/or other materials associated with +the distribution. Certain licenses documented here only apply to +specific targets. Certain clauses only apply if you are building the +code as part of your binary. + +Note that this list may omit certain licenses that +only pertain to the copying/modifying of the individual source code. +If you are distributing the source code, then you do not need to +worry about these omitted licenses, so long as you do not modify the +copyright information already in place. + +Parts of this work are licensed under the terms of the GNU General +Public License. On Debian systems, the complete text of this license +can be found in /usr/share/common-licenses/GPL. + +Parts of this work are licensed under the terms of the GNU Library +General Public License. On Debian systems, the complete text of this +license be found in /usr/share/common-licenses/LGPL. + +(1) University of California, Berkeley + +[1a] + +Copyright (c) 1990 The Regents of the University of California. +All rights reserved. + +Redistribution and use in source and binary forms are permitted +provided that the above copyright notice and this paragraph are +duplicated in all such forms and that any documentation, +and other materials related to such distribution and use +acknowledge that the software was developed +by the University of California, Berkeley. The name of the +University may not be used to endorse or promote products derived +from this software without specific prior written permission. +THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +[1b] + +Copyright (c) 1990 The Regents of the University of California. +All rights reserved. + +Redistribution and use in source and binary forms are permitted +provided that the above copyright notice and this paragraph are +duplicated in all such forms and that any documentation, +advertising materials, and other materials related to such +distribution and use acknowledge that the software was developed +by the University of California, Berkeley. The name of the +University may not be used to endorse or promote products derived +from this software without specific prior written permission. +THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +[1c] + +Copyright (c) 1981, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 +The Regents of the University of California. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. +4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + +[1d] + +Copyright (c) 1988, 1990, 1993 Regents of the University of California. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + +[1e] + +Copyright (c) 1982, 1986, 1989, 1991, 1993, 1994 +The Regents of the University of California. All rights reserved. +(c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. +4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + +[1f] + +Copyright (c) 1987, 1988, 2000 Regents of the University of California. +All rights reserved. + +Redistribution and use in source and binary forms are permitted +provided that: (1) source distributions retain this entire copyright +notice and comment, and (2) distributions including binaries display +the following acknowledgement: ``This product includes software +developed by the University of California, Berkeley and its contributors'' +in the documentation or other materials provided with the distribution +and in all advertising materials mentioning features or use of this +software. Neither the name of the University nor the names of its +contributors may be used to endorse or promote products derived +from this software without specific prior written permission. +THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +------------------------------------------------------------- + Please note that in some of the above alternate licenses, there is a + statement regarding that acknowledgement must be made in any + advertising materials for products using the code. This restriction + no longer applies due to the following license change: + + ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change + + In some cases the defunct clause has been removed in modified newlib code and + in some cases, the clause has been left as-is. +------------------------------------------------------------- + +(2) Cygwin (cygwin targets only) + +Copyright 2001 Red Hat, Inc. + +This software is a copyrighted work licensed under the terms of the +Cygwin license. Please consult the file "CYGWIN_LICENSE" for +details. + +(3) David M. Gay at AT&T + +The author of this software is David M. Gay. + +Copyright (c) 1991 by AT&T. + +Permission to use, copy, modify, and distribute this software for any +purpose without fee is hereby granted, provided that this entire notice +is included in all copies of any software which is or includes a copy +or modification of this software and in all copies of the supporting +documentation for such software. + +THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED +WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR AT&T MAKES ANY +REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY +OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. + +(4) Advanced Micro Devices + +Copyright 1989, 1990 Advanced Micro Devices, Inc. + +This software is the property of Advanced Micro Devices, Inc (AMD) which +specifically grants the user the right to modify, use and distribute this +software provided this notice is not removed or altered. All other rights +are reserved by AMD. + +AMD MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS +SOFTWARE. IN NO EVENT SHALL AMD BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL +DAMAGES IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, OR +USE OF THIS SOFTWARE. + +So that all may benefit from your experience, please report any problems +or suggestions about this software to the 29K Technical Support Center at +800-29-29-AMD (800-292-9263) in the USA, or 0800-89-1131 in the UK, or +0031-11-1129 in Japan, toll free. The direct dial number is 512-462-4118. + +Advanced Micro Devices, Inc. +29K Support Products +Mail Stop 573 +5900 E. Ben White Blvd. +Austin, TX 78741 +800-292-9263 + +(5) C.W. Sandmann + +Copyright (C) 1993 C.W. Sandmann + +This file may be freely distributed as long as the author's name remains. + +(6) Eric Backus + +(C) Copyright 1992 Eric Backus + +This software may be used freely so long as this copyright notice is +left intact. There is no warrantee on this software. + +(7) Sun Microsystems + +Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. + +Developed at SunPro, a Sun Microsystems, Inc. business. +Permission to use, copy, modify, and distribute this +software is freely granted, provided that this notice +is preserved. + +(8) Hewlett Packard + +(c) Copyright 1986 HEWLETT-PACKARD COMPANY + +To anyone who acknowledges that this file is provided "AS IS" +without any express or implied warranty: + permission to use, copy, modify, and distribute this file +for any purpose is hereby granted without fee, provided that +the above copyright notice and this notice appears in all +copies, and that the name of Hewlett-Packard Company not be +used in advertising or publicity pertaining to distribution +of the software without specific, written prior permission. +Hewlett-Packard Company makes no representations about the +suitability of this software for any purpose. + +(9) Hans-Peter Nilsson + +Copyright (C) 2001 Hans-Peter Nilsson + +Permission to use, copy, modify, and distribute this software is +freely granted, provided that the above copyright notice, this notice +and the following disclaimer are preserved with no changes. + +THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. + +(10) Stephane Carrez (m68hc11-elf/m68hc12-elf targets only) + +Copyright (C) 1999, 2000, 2001, 2002 Stephane Carrez (stcarrez@nerim.fr) + +The authors hereby grant permission to use, copy, modify, distribute, +and license this software and its documentation for any purpose, provided +that existing copyright notices are retained in all copies and that this +notice is included verbatim in any distributions. No written agreement, +license, or royalty fee is required for any of the authorized uses. +Modifications to this software may be copyrighted by their authors +and need not follow the licensing terms described here, provided that +the new terms are clearly indicated on the first page of each file where +they apply. + +(11) Christopher G. Demetriou + +Copyright (c) 2001 Christopher G. Demetriou +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +(12) SuperH, Inc. + +Copyright 2002 SuperH, Inc. All rights reserved + +This software is the property of SuperH, Inc (SuperH) which specifically +grants the user the right to modify, use and distribute this software +provided this notice is not removed or altered. All other rights are +reserved by SuperH. + +SUPERH MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO +THIS SOFTWARE. IN NO EVENT SHALL SUPERH BE LIABLE FOR INDIRECT, SPECIAL, +INCIDENTAL OR CONSEQUENTIAL DAMAGES IN CONNECTION WITH OR ARISING FROM +THE FURNISHING, PERFORMANCE, OR USE OF THIS SOFTWARE. + +So that all may benefit from your experience, please report any problems +or suggestions about this software to the SuperH Support Center via +e-mail at softwaresupport@superh.com . + +SuperH, Inc. +405 River Oaks Parkway +San Jose +CA 95134 +USA + +(13) Royal Institute of Technology + +Copyright (c) 1999 Kungliga Tekniska Hgskolan +(Royal Institute of Technology, Stockholm, Sweden). +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of KTH nor the names of its contributors may be + used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS ``AS IS'' AND ANY +EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +(14) Alexey Zelkin + +Copyright (c) 2000, 2001 Alexey Zelkin +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + +(15) Andrey A. Chernov + +Copyright (C) 1997 by Andrey A. Chernov, Moscow, Russia. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + +(16) FreeBSD + +Copyright (c) 1997-2002 FreeBSD Project. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + +(17) S. L. Moshier + +Author: S. L. Moshier. + +Copyright (c) 1984,2000 S.L. Moshier + +Permission to use, copy, modify, and distribute this software for any +purpose without fee is hereby granted, provided that this entire notice +is included in all copies of any software which is or includes a copy +or modification of this software and in all copies of the supporting +documentation for such software. + +THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED +WARRANTY. IN PARTICULAR, THE AUTHOR MAKES NO REPRESENTATION +OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS +SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. + +(18) Citrus Project + +Copyright (c)1999 Citrus Project, +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + +(19) Todd C. Miller + +Copyright (c) 1998 Todd C. Miller +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL +THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +(20) DJ Delorie (i386) + +Copyright (C) 1991 DJ Delorie +All rights reserved. + +Redistribution and use in source and binary forms is permitted +provided that the above copyright notice and following paragraph are +duplicated in all such forms. + +This file is distributed WITHOUT ANY WARRANTY; without even the implied +warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +(21) Free Software Foundation LGPL License (*-linux* targets only) + + Copyright (C) 1990-1999, 2000, 2001 + Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Mark Kettenis , 1997. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + 02110-1301 USA + +(22) Xavier Leroy LGPL License (i[3456]86-*-linux* targets only) + +Copyright (C) 1996 Xavier Leroy (Xavier.Leroy@inria.fr) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public License +as published by the Free Software Foundation; either version 2 +of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Library General Public License for more details. + +(23) Intel (i960) + +Copyright (c) 1993 Intel Corporation + +Intel hereby grants you permission to copy, modify, and distribute this +software and its documentation. Intel grants this permission provided +that the above copyright notice appears in all copies and that both the +copyright notice and this permission notice appear in supporting +documentation. In addition, Intel grants this permission provided that +you prominently mark as "not part of the original" any modifications +made to this software or documentation, and that the name of Intel +Corporation not be used in advertising or publicity pertaining to +distribution of the software or the documentation without specific, +written prior permission. + +Intel Corporation provides this AS IS, WITHOUT ANY WARRANTY, EXPRESS OR +IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY +OR FITNESS FOR A PARTICULAR PURPOSE. Intel makes no guarantee or +representations regarding the use of, or the results of the use of, +the software and documentation in terms of correctness, accuracy, +reliability, currentness, or otherwise; and you rely on the software, +documentation and results solely at your own risk. + +IN NO EVENT SHALL INTEL BE LIABLE FOR ANY LOSS OF USE, LOSS OF BUSINESS, +LOSS OF PROFITS, INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES +OF ANY KIND. IN NO EVENT SHALL INTEL'S TOTAL LIABILITY EXCEED THE SUM +PAID TO INTEL FOR THE PRODUCT LICENSED HEREUNDER. + +(24) Hewlett-Packard (hppa targets only) + +(c) Copyright 1986 HEWLETT-PACKARD COMPANY + +To anyone who acknowledges that this file is provided "AS IS" +without any express or implied warranty: + permission to use, copy, modify, and distribute this file +for any purpose is hereby granted without fee, provided that +the above copyright notice and this notice appears in all +copies, and that the name of Hewlett-Packard Company not be +used in advertising or publicity pertaining to distribution +of the software without specific, written prior permission. +Hewlett-Packard Company makes no representations about the +suitability of this software for any purpose. + +(25) Henry Spencer (only *-linux targets) + +Copyright 1992, 1993, 1994 Henry Spencer. All rights reserved. +This software is not subject to any license of the American Telephone +and Telegraph Company or of the Regents of the University of California. + +Permission is granted to anyone to use this software for any purpose on +any computer system, and to alter it and redistribute it, subject +to the following restrictions: + +1. The author is not responsible for the consequences of use of this + software, no matter how awful, even if they arise from flaws in it. + +2. The origin of this software must not be misrepresented, either by + explicit claim or by omission. Since few users ever read sources, + credits must appear in the documentation. + +3. Altered versions must be plainly marked as such, and must not be + misrepresented as being the original software. Since few users + ever read sources, credits must appear in the documentation. + +4. This notice may not be removed or altered. + +(26) Mike Barcroft + +Copyright (c) 2001 Mike Barcroft +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + +(27) Konstantin Chuguev (--enable-newlib-iconv) + +Copyright (c) 1999, 2000 + Konstantin Chuguev. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + + iconv (Charset Conversion Library) v2.0 + +(27) Artem Bityuckiy (--enable-newlib-iconv) + +Copyright (c) 2003, Artem B. Bityuckiy, SoftMine Corporation. +Rights transferred to Franklin Electronic Publishers. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + +(28) Red Hat Incorporated + +Unless otherwise stated in each remaining newlib file, the remaining +files in the newlib subdirectory default to the following copyright. +It should be noted that Red Hat Incorporated now owns copyrights +belonging to Cygnus Solutions and Cygnus Support. + +Copyright (c) 1994, 1997, 2001, 2002, 2003, 2004 Red Hat Incorporated. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + The name of Red Hat Incorporated may not be used to endorse + or promote products derived from this software without specific + prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --- newlib-1.18.0.orig/debian/changelog +++ newlib-1.18.0/debian/changelog @@ -0,0 +1,378 @@ +newlib (1.18.0-6.2ubuntu1) quantal-proposed; urgency=low + + * Merge with Debian; remaining changes: + - Don't build newlib-m68hc1x from this source on Ubuntu and derivatives, + - Don't build-depend on gcc-m68hc1x. + - Define __THROWNL in order to be able to preprocess a current + ; since newlib doesn't currently define __THROW in terms of + __attribute__ ((__leaf__)), a definition equivalent to __THROW is good + enough for now. + * Fix FTBFS, adding missing NULL definitions. + * Export DEB_HOST_MULTIARCH, used by the patched upstream build system. + + -- Matthias Klose Tue, 25 Sep 2012 14:25:53 +0200 + +newlib (1.18.0-6.2) unstable; urgency=low + + * Non-maintainer upload. + * Fix "FTBFS: cannot find the library `sys/linux/liblinux.la' or + unhandled argument `sys/linux/liblinux.la'": add patch from Ubuntu: + [ Wookey ] + * Fix build to work with co-installable (multiarched) linux-libc-dev + headers. LP: #750585. + [ Steve Langasek ] + * add a versioned build-dependency on linux-libc-dev and dpkg-dev for the + hard-coded multiarch paths. + (And adjust versions for linux-libc-dev and dpkg-dev.) + (Closes: #654257) + * Update lintian-override syntax (thanks, Salvatore Bonaccorso). + + -- gregor herrmann Sun, 29 Jan 2012 19:59:54 +0100 + +newlib (1.18.0-6.1ubuntu3) precise; urgency=low + + * Define __THROWNL in order to be able to preprocess a current + ; since newlib doesn't currently define __THROW in terms of + __attribute__ ((__leaf__)), a definition equivalent to __THROW is good + enough for now (LP: #935533). + + -- Colin Watson Mon, 26 Mar 2012 10:36:29 +0100 + +newlib (1.18.0-6.1ubuntu2) precise; urgency=low + + * No-change rebuild against current pkgbinarymangler to fix broken + md5sums. (see LP #875466) + + -- Martin Pitt Wed, 29 Feb 2012 08:50:14 +0100 + +newlib (1.18.0-6.1ubuntu1) oneiric; urgency=low + + * Merge from Debian unstable. Remaining changes: + - Don't build newlib-m68hc1x from this source on Ubuntu and derivatives, + - Don't build-depend on gcc-m68hc1x. + - Fix build to work with co-installable (multiarched) linux-libc-dev + headers. + - add a versioned build-dependency on linux-libc-dev and dpkg-dev for + the hard-coded multiarch paths. + * Dropped changes, merged in Debian: + - Build-depend on lzma + + -- Steve Langasek Sat, 04 Jun 2011 04:24:45 +0000 + +newlib (1.18.0-6.1) unstable; urgency=medium + + * Non-maintainer upload. + * Add Build-Depends on lzma as it is explicitly used in debian/rules causing + FTBFS if missing (Closes: #598277, #608378). Thanks to Loic Minier and + Jakub Wilk. + * Remove Matthias Klose from Uploaders as requested on + #debian-release on IRC. + + -- Salvatore Bonaccorso Thu, 30 Dec 2010 22:43:59 +0100 + +newlib (1.18.0-6ubuntu2) natty; urgency=low + + [ Wookey ] + * Fix build to work with co-installable (multiarched) linux-libc-dev + headers. LP: #750585. + + [ Steve Langasek ] + * add a versioned build-dependency on linux-libc-dev and dpkg-dev for the + hard-coded multiarch paths. + + -- Steve Langasek Mon, 11 Apr 2011 02:06:42 -0700 + +newlib (1.18.0-6ubuntu1) natty; urgency=low + + * Change the way we disable newlib-m68hc1x to be less intrusive. + * Merge with Debian; drop special spu configure args since the new Debian + handling should be good enough; remaining changes: + - Build-depend on lzma as it's used explicitly in rules; fixes FTBFS. + - Don't build newlib-m68hc1x from this source on Ubuntu and derivatives, + don't build-depend on gcc-m68hc1x. + + -- Loïc Minier Wed, 13 Oct 2010 18:05:22 +0200 + +newlib (1.18.0-6) unstable; urgency=low + + * Restrict libnewlib-dev to amd64 armel i386 ia64 powerpc sparc. + * Bump Standards-Version to 3.9.1. + + -- Arthur Loiret Sun, 01 Aug 2010 13:38:04 +0000 + +newlib (1.18.0-5) unstable; urgency=low + + * Make libnewlib-dev Depends on libnewlib0 on i386 only. Closes: #573765. + + -- Arthur Loiret Sun, 18 Apr 2010 12:28:23 +0000 + +newlib (1.18.0-4) unstable; urgency=low + + * Backport from Ubuntu: + - Build with -fno-stack-protector -U_FORTIFY_SOURCE. + - 61_newlib_arm_include.patch, 62_long_double_infinity.patch: Add. + + -- Arthur Loiret Fri, 26 Feb 2010 21:51:50 +0000 + +newlib (1.18.0-3) unstable; urgency=low + + * debian/rules: Don't set CC in spu configure flags. + + -- Arthur Loiret Thu, 25 Feb 2010 14:20:00 +0000 + +newlib (1.18.0-2) unstable; urgency=low + + * Build the shared lib on i386 only. + * Bump Standards-Version to 3.8.4. + + -- Arthur Loiret Wed, 24 Feb 2010 18:25:37 +0000 + +newlib (1.18.0-1ubuntu3) maverick; urgency=low + + * Build-depend on lzma as it's used explicitly in rules; fixes FTBFS. + + -- Loïc Minier Tue, 28 Sep 2010 01:22:25 +0200 + +newlib (1.18.0-1ubuntu2) lucid; urgency=low + + * Really build with -fno-stack-protector -U_FORTIFY_SOURCE. + + -- Matthias Klose Wed, 24 Feb 2010 19:11:46 +0100 + +newlib (1.18.0-1ubuntu1) lucid; urgency=low + + * Merge with Debian; remaining changes: + - Don't build newlib-m68hc1x from this source. + - debian/rules: Redefine confargs_spu. + - Fix build failure on armel. + - Build with -fno-stack-protector -U_FORTIFY_SOURCE. + * Use the long double infinity version from 1.17 to fix build + failure on powerpc. + + -- Matthias Klose Wed, 24 Feb 2010 17:45:22 +0100 + +newlib (1.18.0-1) unstable; urgency=low + + * New upstream release. + - Don't put a tarball in the tarball anymore. Closes: #538563. + - Don't build newlib-mingw32 anymore. Closes: #542269. + * debian/rules: Update accordingly. + * debian/control: + - Bump Standards-Version to 3.8.3. + - Fix newlib-m68hc1x's short description. Closes: #556962. + + -- Arthur Loiret Tue, 23 Feb 2010 18:37:09 +0000 + +newlib (1.17.0-3) unstable; urgency=low + + * debian/rules: Fix mingw32 prefix. Closes: #528027. + + -- Arthur Loiret Sat, 15 Aug 2009 09:54:51 +0000 + +newlib (1.17.0-2) unstable; urgency=low + + * Disable parallel build (fails for the spu build). + * Configure the spu build with --host=powerpc-linux-gnu, not =spu. + + -- Matthias Klose Wed, 22 Apr 2009 11:33:03 +0100 + +newlib (1.17.0-1) unstable; urgency=low + + * New upstream release. + * Merge from Ubuntu (Loic Minier): Closes: #513595. + - Use quilt to apply debian/patches; build-dep on quilt. + - New patch, 60_newlib-libgloss-eabi, set objtype to elf for + armel/arm-linux-gnueabi; fixes installation for this target. + Run autoreconf -fi && rm -rf autom4te.cache. + - Install debian/patches/* in /usr/src/newlib/patches. + * Build m68hc1x and win32 versions in arch-indep target. + * Improve packages description. Closes: #511635. + * Fix configure flags. + + -- Arthur Loiret Mon, 13 Apr 2009 14:33:01 +0000 + +newlib (1.17.0-0ubuntu5) karmic; urgency=low + + * Fix build failure, build with -fno-stack-protector -U_FORTIFY_SOURCE. + + -- Matthias Klose Sat, 10 Oct 2009 15:25:04 +0200 + +newlib (1.17.0-0ubuntu4) jaunty; urgency=low + + * Revert "some improvements" introduced in 1.16.0-3, breaking the + spu build. newlib-spu is now configured and built as in version + 1.16.0-2 and before. LP: #352721. + * Remove build dependency on newlib-spu not needed anymore. + + -- Matthias Klose Tue, 07 Apr 2009 14:28:38 +0200 + +newlib (1.17.0-0ubuntu3) jaunty; urgency=low + + * Disable parallel build (fixes build failures on i386 and lpia, + unexpectedly built on amd64 with -j2). + * Fix build failure on armel. + + -- Matthias Klose Mon, 23 Mar 2009 12:58:42 +0100 + +newlib (1.17.0-0ubuntu2) jaunty; urgency=low + + * Build-depend on newlib-spu on powerpc, needed by the configure check. + + -- Matthias Klose Mon, 23 Mar 2009 11:10:40 +0100 + +newlib (1.17.0-0ubuntu1) jaunty; urgency=low + + * New upstream release + + -- Loic Minier Sun, 08 Feb 2009 20:38:16 +0100 + +newlib (1.16.0+cvs20081207-1ubuntu2) jaunty; urgency=low + + * Use quilt to apply debian/patches; build-dep on quilt. + * New patch, 60_newlib-libgloss-eabi, set objtype to elf for + armel/arm-linux-gnueabi; fixes installation for this target. Run + autoreconf -fi && rm -rf autom4te.cache. + * Install debian/patches/* in /usr/src/newlib/patches. + + -- Loic Minier Fri, 30 Jan 2009 16:24:28 +0100 + +newlib (1.16.0+cvs20081207-1ubuntu1) jaunty; urgency=low + + * Don't build newlib-m68hc1x and newlib-mingw32 from this source; these + should be built from a separate source package. + * Don't use parallel make in debian/rules, only for the build targets. + + -- Matthias Klose Mon, 22 Dec 2008 14:09:45 +0100 + +newlib (1.16.0+cvs20081207-1) unstable; urgency=low + + * Upload to unstable. + * New upstream snapshot, taken from CVS 20081207. + - Update overrides files. + * debian/control: Update Matthias's mail address. + * debian/rules: + - Don't run parallel build by default. + - Fix configure for targets. + + -- Arthur Loiret Sun, 07 Dec 2008 15:45:47 +0000 + +newlib (1.16.0-2.1) unstable; urgency=low + + * NMU. + * newlib-spu: Add a symlink for the gcc-snapshot sysroot. + + -- Matthias Klose Sun, 16 Nov 2008 18:10:24 +0100 + +newlib (1.16.0-3) experimental; urgency=low + + * Upload to experimental. + * Build a newlib-m68hc1x and a newlib-mingw32 package: + - newlib-m68hc1x Recommends gcc-m68hc1x. + - newlib-mingw32 Recommends mingw32. + - Install m68hc1x in /usr/m68hc11/. + - Install mingw32 in /usr/lib/newlib/i586-mingw32msvc/. + * newlib-m68hc1x.overrides, newlib-mingw32.overrides: Add. + * Build again main libnewlib0 and libnewlib-dev packages: + - Install in /usr/lib/newlib/. + * debian/control: + - Add new packages. + - Make newlib-spu Recommends gcc-spu. + - Bump Standards-Version to 3.8.0. + * debian/rules: + - Update for new packages. + - Support DEB_BUILD_OPTIONS=parallel=n. + - Depect cpu number and run parallel build by default. + - Some improvements. + * debian/watch: Add. + + -- Arthur Loiret Wed, 09 Jul 2008 14:09:00 +0000 + +newlib (1.16.0-2) unstable; urgency=low + + * debian/control: + - Build-Depends on spu packages only on [powerpc ppc64]. Closes: #474894 + - Build-Depends on texinfo to fix FTBFS (Andreas Jochens). Closes: #475569 + * debian/rules: Only build spu package on powerpc ppc64. + + -- Arthur Loiret Mon, 14 Apr 2008 10:01:57 +0000 + +newlib (1.16.0-1) unstable; urgency=low + + * New upload, we need newlib for Cell/spu targets. + This source package will also replace newlib-m68hc1x. + * Binary packages built: newlib-spu, newlib-source. + * Based on Matthias Klose's work in Ubuntu on the spu toolchain. + + -- Arthur Loiret Tue, 01 Apr 2008 13:29:08 +0000 + +newlib (1.14.0-2) unstable; urgency=low + + * Add texinfo to the build dependencies. Closes: #354198. + + -- Shaun Jackman Fri, 24 Feb 2006 14:33:19 -0700 + +newlib (1.14.0-1) unstable; urgency=low + + * New upstream release. + * Remove gcc-3.3 dependency. + * Add a watch file. + * Update policy version to 3.6.2.2. No changes necessary. + * Upstream patch on 2005-09-08 by Jeff Johnston to + libc/sys/linux/argp/argp-fs-xinl.c closes: #336704. + * Fix "the (in)famous INSTALL = ../ bug." thanks to Paolo Bonzini. + * Update the FSF address. + * Ignore the lintian warning package-name-doesnt-match-sonames. + + -- Shaun Jackman Sun, 15 Jan 2006 22:16:44 -0700 + +newlib (1.13.0-2) unstable; urgency=low + + * Remove gcc (<< 4:4.0.0) from Build-Depends. + Add gcc-3.3 to Build-Depends. Closes: #324370. + + -- Shaun Jackman Tue, 23 Aug 2005 14:51:05 -0700 + +newlib (1.13.0-1) unstable; urgency=low + + * New upstream release. + * Disable multilib. Closes: #318553. + * Add gcc (<< 4:4.0.0) to Build-Depends. + + -- Shaun Jackman Tue, 16 Aug 2005 17:33:47 -0700 + +newlib (1.12.0.20041202-5) unstable; urgency=low + + * Set the architecture of the source package to i386. Closes: #309509. + * Add basename, dirname, lchown, and ttyname. + * Fix a bug in tzset. + + -- Shaun Jackman Wed, 18 May 2005 13:15:17 -0700 + +newlib (1.12.0.20041202-4) unstable; urgency=low + + * Add libltdl3-dev to the build dependencies. Closes: #290372. + * Change the architecture to i386 only. Closes: #289688. Currently, only the + i386 is supported for the Linux target. Other machines need to be added to + newlib/libc/sys/linux/machine, which contains some low level assembler. + + -- Shaun Jackman Fri, 14 Jan 2005 11:29:44 -0800 + +newlib (1.12.0.20041202-3) unstable; urgency=low + + * libthread_db.so.1 is not created on amd64 with gcc-4.0, although I'm not + sure why. Closes: #289688. + + -- Shaun Jackman Mon, 10 Jan 2005 08:39:19 -0800 + +newlib (1.12.0.20041202-2) unstable; urgency=low + + * Add a pkg-config file. + + -- Shaun Jackman Mon, 6 Dec 2004 11:50:05 -0800 + +newlib (1.12.0.20041202-1) unstable; urgency=low + + * Initial release (closes: #284005). + + -- Shaun Jackman Sat, 13 Nov 2004 11:59:20 -0800 + --- newlib-1.18.0.orig/debian/compat +++ newlib-1.18.0/debian/compat @@ -0,0 +1 @@ +6 --- newlib-1.18.0.orig/debian/control +++ newlib-1.18.0/debian/control @@ -0,0 +1,69 @@ +Source: newlib +Section: devel +Priority: extra +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Arthur Loiret +Build-Depends: debhelper (>= 6), quilt (>= 0.40), texinfo, binutils-spu [powerpc ppc64], gcc-spu [powerpc ppc64], lzma, dpkg-dev (>= 1.16.0~ubuntu4), linux-libc-dev (>= 2.6.38-8.42) +Standards-Version: 3.9.1 + +Package: libnewlib0 +Section: libs +Architecture: i386 +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: newlib C library (runtime) + Newlib is a C library intended for use on embedded systems. It is a + conglomeration of several library parts, all under free software + licenses that make them easily usable on embedded products. + . + This package contains the newlib runtime library. + +Package: libnewlib-dev +Section: libdevel +Architecture: amd64 armel i386 ia64 powerpc sparc +Depends: libnewlib0 (= ${binary:Version}) [i386], ${shlibs:Depends}, ${misc:Depends} +Conflicts: libnewlib0 (<< 1.18.0-5) [!i386] +Replaces: libnewlib0 (<< 1.18.0-5) [!i386] +Description: newlib C library (devel) + Newlib is a C library intended for use on embedded systems. It is a + conglomeration of several library parts, all under free software + licenses that make them easily usable on embedded products. + . + This package contains the newlib headers and static library. + +Package: newlib-spu +Architecture: powerpc ppc64 +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: gcc-spu +Provides: spu-newlib +Conflicts: spu-newlib +Replaces: spu-newlib +Description: newlib C library (Cell/BE SPU) + Newlib is a C library intended for use on embedded systems. It is a + conglomeration of several library parts, all under free software + licenses that make them easily usable on embedded products. + . + This package contains the newlib library compiled for spu targets. + +# disabled in rules for Ubuntu and derivatives +Package: newlib-m68hc1x +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: gcc-m68hc1x +Description: newlib C library (Motorola 68HC11/12) + Newlib is a C library intended for use on embedded systems. It is a + conglomeration of several library parts, all under free software + licenses that make them easily usable on embedded products. + . + This package contains the newlib library compiled for m68hc11/12 targets. + +Package: newlib-source +Architecture: all +Recommends: tar (>= 1.16), lzma +Depends: ${misc:Depends} +Description: newlib C library (source) + Newlib is a C library intended for use on embedded systems. It is a + conglomeration of several library parts, all under free software + licenses that make them easily usable on embedded products. + . + This package contains the newlib library source tarball. + --- newlib-1.18.0.orig/debian/watch +++ newlib-1.18.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +ftp://sources.redhat.com/pub/newlib/newlib-(.*)\.tar\.gz --- newlib-1.18.0.orig/debian/newlib-spu.links +++ newlib-1.18.0/debian/newlib-spu.links @@ -0,0 +1 @@ +usr/spu /usr/lib/gcc-snapshot/spu --- newlib-1.18.0.orig/debian/newlib-spu.overrides +++ newlib-1.18.0/debian/newlib-spu.overrides @@ -0,0 +1,104 @@ +newlib-spu: non-standard-dir-in-usr usr/spu/ +newlib-spu: file-in-unusual-dir usr/spu/include/_ansi.h +newlib-spu: file-in-unusual-dir usr/spu/include/_syslist.h +newlib-spu: file-in-unusual-dir usr/spu/include/alloca.h +newlib-spu: file-in-unusual-dir usr/spu/include/ar.h +newlib-spu: file-in-unusual-dir usr/spu/include/argz.h +newlib-spu: file-in-unusual-dir usr/spu/include/assert.h +newlib-spu: file-in-unusual-dir usr/spu/include/ctype.h +newlib-spu: file-in-unusual-dir usr/spu/include/dirent.h +newlib-spu: file-in-unusual-dir usr/spu/include/envz.h +newlib-spu: file-in-unusual-dir usr/spu/include/errno.h +newlib-spu: file-in-unusual-dir usr/spu/include/fastmath.h +newlib-spu: file-in-unusual-dir usr/spu/include/fcntl.h +newlib-spu: file-in-unusual-dir usr/spu/include/fenv.h +newlib-spu: file-in-unusual-dir usr/spu/include/getopt.h +newlib-spu: file-in-unusual-dir usr/spu/include/grp.h +newlib-spu: file-in-unusual-dir usr/spu/include/iconv.h +newlib-spu: file-in-unusual-dir usr/spu/include/ieeefp.h +newlib-spu: file-in-unusual-dir usr/spu/include/inttypes.h +newlib-spu: file-in-unusual-dir usr/spu/include/langinfo.h +newlib-spu: file-in-unusual-dir usr/spu/include/libgen.h +newlib-spu: file-in-unusual-dir usr/spu/include/limits.h +newlib-spu: file-in-unusual-dir usr/spu/include/locale.h +newlib-spu: file-in-unusual-dir usr/spu/include/machine/_default_types.h +newlib-spu: file-in-unusual-dir usr/spu/include/machine/_types.h +newlib-spu: file-in-unusual-dir usr/spu/include/machine/ansi.h +newlib-spu: file-in-unusual-dir usr/spu/include/machine/endian.h +newlib-spu: file-in-unusual-dir usr/spu/include/machine/fastmath.h +newlib-spu: file-in-unusual-dir usr/spu/include/machine/ieeefp.h +newlib-spu: file-in-unusual-dir usr/spu/include/machine/malloc.h +newlib-spu: file-in-unusual-dir usr/spu/include/machine/param.h +newlib-spu: file-in-unusual-dir usr/spu/include/machine/setjmp-dj.h +newlib-spu: file-in-unusual-dir usr/spu/include/machine/setjmp.h +newlib-spu: file-in-unusual-dir usr/spu/include/machine/stdlib.h +newlib-spu: file-in-unusual-dir usr/spu/include/machine/termios.h +newlib-spu: file-in-unusual-dir usr/spu/include/machine/time.h +newlib-spu: file-in-unusual-dir usr/spu/include/machine/types.h +newlib-spu: file-in-unusual-dir usr/spu/include/malloc.h +newlib-spu: file-in-unusual-dir usr/spu/include/math.h +newlib-spu: file-in-unusual-dir usr/spu/include/newlib.h +newlib-spu: file-in-unusual-dir usr/spu/include/paths.h +newlib-spu: file-in-unusual-dir usr/spu/include/process.h +newlib-spu: file-in-unusual-dir usr/spu/include/pthread.h +newlib-spu: file-in-unusual-dir usr/spu/include/pwd.h +newlib-spu: file-in-unusual-dir usr/spu/include/reent.h +newlib-spu: file-in-unusual-dir usr/spu/include/regdef.h +newlib-spu: file-in-unusual-dir usr/spu/include/sched.h +newlib-spu: file-in-unusual-dir usr/spu/include/search.h +newlib-spu: file-in-unusual-dir usr/spu/include/setjmp.h +newlib-spu: file-in-unusual-dir usr/spu/include/signal.h +newlib-spu: file-in-unusual-dir usr/spu/include/stdint.h +newlib-spu: file-in-unusual-dir usr/spu/include/stdio.h +newlib-spu: file-in-unusual-dir usr/spu/include/stdlib.h +newlib-spu: file-in-unusual-dir usr/spu/include/string.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/_default_fcntl.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/_types.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/cdefs.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/config.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/custom_file.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/dirent.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/errno.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/fcntl.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/features.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/fenv.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/file.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/iconvnls.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/lock.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/param.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/queue.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/reent.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/resource.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/sched.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/signal.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/stat.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/stdio.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/string.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/syscall.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/syslimits.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/time.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/timeb.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/times.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/types.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/uio.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/unistd.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/utime.h +newlib-spu: file-in-unusual-dir usr/spu/include/sys/wait.h +newlib-spu: file-in-unusual-dir usr/spu/include/tar.h +newlib-spu: file-in-unusual-dir usr/spu/include/termios.h +newlib-spu: file-in-unusual-dir usr/spu/include/time.h +newlib-spu: file-in-unusual-dir usr/spu/include/unctrl.h +newlib-spu: file-in-unusual-dir usr/spu/include/unistd.h +newlib-spu: file-in-unusual-dir usr/spu/include/utime.h +newlib-spu: file-in-unusual-dir usr/spu/include/utmp.h +newlib-spu: file-in-unusual-dir usr/spu/include/wchar.h +newlib-spu: file-in-unusual-dir usr/spu/include/wctype.h +newlib-spu: file-in-unusual-dir usr/spu/lib/crt1.o +newlib-spu: file-in-unusual-dir usr/spu/lib/crt2.o +newlib-spu: file-in-unusual-dir usr/spu/lib/crti.o +newlib-spu: file-in-unusual-dir usr/spu/lib/crtn.o +newlib-spu: file-in-unusual-dir usr/spu/lib/libc.a +newlib-spu: file-in-unusual-dir usr/spu/lib/libg.a +newlib-spu: file-in-unusual-dir usr/spu/lib/libgloss.a +newlib-spu: file-in-unusual-dir usr/spu/lib/libm.a +newlib-spu: file-in-unusual-dir usr/spu/lib/libnosys.a --- newlib-1.18.0.orig/debian/libnewlib0.overrides +++ newlib-1.18.0/debian/libnewlib0.overrides @@ -0,0 +1,10 @@ +libnewlib0: shlib-with-executable-stack usr/lib/newlib/i486-linux-gnu/lib/libc-newlib.so.0.0.0 +libnewlib0: shlib-with-executable-stack usr/lib/newlib/i486-linux-gnu/lib/libm-newlib.so.0.0.0 +libnewlib0: shlib-with-executable-stack usr/lib/newlib/i486-linux-gnu/lib/libpthread-newlib.so.0.0.0 +libnewlib0: shared-lib-without-dependency-information usr/lib/newlib/i486-linux-gnu/lib/libc-newlib.so.0.0.0 +libnewlib0: shared-lib-without-dependency-information usr/lib/newlib/i486-linux-gnu/lib/libm-newlib.so.0.0.0 +libnewlib0: shared-lib-without-dependency-information usr/lib/newlib/i486-linux-gnu/lib/libpthread-newlib.so.0.0.0 +libnewlib0: shared-lib-without-dependency-information usr/lib/newlib/i486-linux-gnu/lib/libthread_db-newlib.so.0.0.0 +libnewlib0: binary-or-shlib-defines-rpath usr/lib/newlib/lib/newlib/EUC-JP.so.0.0.0 /usr/lib/newlib/i486-linux-gnu/lib +libnewlib0: library-not-linked-against-libc usr/lib/newlib/lib/newlib/EUC-JP.so.0.0.0 +libnewlib0: missing-depends-line --- newlib-1.18.0.orig/debian/newlib-m68hc1x.overrides +++ newlib-1.18.0/debian/newlib-m68hc1x.overrides @@ -0,0 +1,102 @@ +newlib-m68hc1x: non-standard-dir-in-usr usr/m68hc11/ +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/_ansi.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/_syslist.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/alloca.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/ar.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/argz.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/assert.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/ctype.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/dirent.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/envlock.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/envz.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/errno.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/fastmath.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/fcntl.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/fnmatch.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/getopt.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/glob.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/grp.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/iconv.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/ieeefp.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/inttypes.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/langinfo.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/libgen.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/limits.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/locale.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/machine/_default_types.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/machine/_types.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/machine/ansi.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/machine/endian.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/machine/fastmath.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/machine/ieeefp.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/machine/malloc.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/machine/param.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/machine/setjmp-dj.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/machine/setjmp.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/machine/stdlib.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/machine/termios.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/machine/time.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/machine/types.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/malloc.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/math.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/newlib.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/paths.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/process.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/pthread.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/pwd.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/reent.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/regdef.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/regex.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sched.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/search.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/setjmp.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/signal.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/stdint.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/stdio.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/stdlib.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/string.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/_default_fcntl.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/_types.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/cdefs.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/config.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/custom_file.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/dirent.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/errno.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/fcntl.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/features.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/file.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/iconvnls.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/lock.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/param.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/queue.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/reent.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/resource.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/sched.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/signal.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/stat.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/stdio.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/string.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/syslimits.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/time.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/timeb.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/times.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/types.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/unistd.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/utime.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/sys/wait.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/tar.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/termios.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/time.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/unctrl.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/unistd.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/utime.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/utmp.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/wchar.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/wctype.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/include/wordexp.h +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/lib/libc.a +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/lib/libg.a +newlib-m68hc1x: file-in-unusual-dir usr/m68hc11/lib/libm.a +newlib-m68hc1x: arch-independent-package-contains-binary-or-object usr/m68hc11/lib/libc.a +newlib-m68hc1x: arch-independent-package-contains-binary-or-object usr/m68hc11/lib/libg.a +newlib-m68hc1x: arch-independent-package-contains-binary-or-object usr/m68hc11/lib/libm.a --- newlib-1.18.0.orig/debian/rules +++ newlib-1.18.0/debian/rules @@ -0,0 +1,276 @@ +#!/usr/bin/make -f + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +export DEB_HOST_MULTIARCH + +version := $(shell dpkg-parsechangelog | grep ^Version | sed -e 's/^Version: //') +uversion := $(shell echo $(version) | cut -d '-' -f1) +destdir := $(CURDIR) + +MAKE := $(MAKE) -j1 # parallel build broken + +packages := # nothing +ifneq (,$(filter $(DEB_HOST_ARCH),amd64 armel i386 ia64 powerpc sparc)) + packages += dev + ifneq (,$(filter $(DEB_HOST_ARCH),i386)) + packages += lib + endif +endif +ifneq (,$(filter $(DEB_HOST_ARCH),powerpc ppc64)) + packages += spu +endif + +ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo 1),1) +export DH_OPTIONS += -Nnewlib-m68hc1x +else +cross_packages := m68hc1x +endif + +all_packages := $(packages) +all_packages += src # arch-all packages + +all_packages_arch := lib dev spu +all_packages_indep := src $(cross_packages) +packages_arch := $(filter $(all_packages),$(all_packages_arch)) +packages_indep := $(all_packages_indep) + +p_lib := libnewlib0 +p_dev := libnewlib-dev +p_src := newlib-source + +p_spu := newlib-spu +p_m68hc1x := newlib-m68hc1x + +$(foreach x,$(filter p_%,$(.VARIABLES)),$(eval \ + d_$(patsubst p_%,%,$(x)) := $(strip debian/$($(x))))) + +target_lib := $(DEB_HOST_GNU_TYPE) +target_spu := spu +target_m68hc1x := m68hc11 + +host_lib := $(target_lib) +host_spu := powerpc-linux-gnu +host_m68hc1x := $(target_m68hc1x) + +confargs_lib := --prefix=/usr/lib/newlib --with-newlib \ + --build=$(DEB_BUILD_GNU_TYPE) --host=$(host_lib) \ + --target=$(target_lib) --program-prefix=$(target_lib)- \ + --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \ + --enable-shared --disable-multilib --enable-threads --enable-nls \ + --with-system-zlib + +confargs_m68hc1x := --prefix=/usr --with-newlib \ + --build=$(DEB_BUILD_GNU_TYPE) --host=$(host_m68hc1x) \ + --target=$(target_m68hc1x) --program-prefix=$(target_m68hc1x)- \ + --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \ + --disable-shared --disable-multilib --disable-threads --disable-nls \ + +confargs_spu = --prefix=/usr --with-newlib \ + --build=$(DEB_BUILD_GNU_TYPE) --host=$(host_spu) \ + --target=$(target_spu) --program-prefix=$(target_spu)- \ + --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info \ + --disable-shared --disable-multilib --disable-threads --disable-nls \ + --with-system-zlib + +confargs_lib += \ + CC=$(target_lib)-gcc \ + CFLAGS='-g -O2 -fno-stack-protector -U_FORTIFY_SOURCE' + +confargs_m68hc1x += \ + CC=$(target_m68hc1x)-gcc \ + CFLAGS='-g -O2 -U_FORTIFY_SOURCE' + +confargs_spu += \ + CFLAGS='-g -O2 -fno-stack-protector -U_FORTIFY_SOURCE' + +patch_stamp := patch-stamp +configure_stamp := configure-stamp +build_stamp := build-stamp +install_stamp := install-stamp +binary_stamp := binary-stamp + +QUILT_STAMPFN := $(patch_stamp) +include /usr/share/quilt/quilt.make + +configure: $(addprefix $(configure_stamp)-,$(packages)) +$(configure_stamp)-dev: $(configure_stamp)-lib + touch $@ + +$(configure_stamp)-spu: $(patch_stamp) + dh_testdir + rm -rf build-spu + mkdir -p build-spu + cd build-spu && \ + ../configure $(confargs_spu) + touch $@ + +$(configure_stamp)-%: $(patch_stamp) + dh_testdir + rm -rf build-$* && \ + mkdir -p build-$*/$(target_$*) + cd build-$* && \ + ../configure $(confargs_$*) + if ! test -d build-$*/$(target_$*)/newlib ; \ + then mkdir -p build-$*/$(target_$*)/newlib && \ + cd build-$*/$(target_$*)/newlib && \ + ../../../newlib/configure $(confargs_$*) ; \ + fi +# mkdir build-$*/$(target_$*)/libgloss +# cd build-$*/$(target_$*)/libgloss && \ + ../../../newlib/configure $(confargs_$*) + touch $@ + +build: $(addprefix $(build_stamp)-,$(packages)) +$(build_stamp)-dev: $(build_stamp)-lib + touch $@ + +$(build_stamp)-spu: $(configure_stamp)-spu + dh_testdir + @echo SPU build + $(MAKE) -C build-spu + touch $@ + +$(build_stamp)-%: $(configure_stamp)-% + dh_testdir + cd build-$* && \ + $(MAKE) $(NJOBS) + if ! test -f build-$*/$(target_$*)/newlib/libc.a ; \ + then cd build-$*/$(target_$*)/newlib && \ + $(MAKE) $(NJOBS) ; \ + fi +# cd build-$*/$(target_$*)/libgloss && \ + $(MAKE) + touch $@ + +install: $(addprefix $(install_stamp)-,$(packages)) + +$(install_stamp)-spu: $(build_stamp)-spu + dh_testdir + dh_testroot + @echo SPU install + rm -rf $(d_spu) && mkdir $(d_spu) + $(MAKE) -C build-spu install DESTDIR=$(destdir)/$(d_spu) + find $(d_spu) -type d -empty -delete + [ ! -f debian/$(p_spu).overrides ] || \ + install -D -p -o root -g root -m 644 $(destdir)/debian/$(p_spu).overrides \ + $(destdir)/$(d_spu)/usr/share/lintian/overrides/$(p_spu) + rm -rf $(d_spu)/share/ $(d_spu)/usr/share/info/ + touch $@ + +$(install_stamp)-%: $(build_stamp)-% + dh_testdir + dh_testroot + rm -rf $(d_$*) && mkdir $(d_$*) + cd build-$* && \ + $(MAKE) install DESTDIR=$(destdir)/$(d_$*) + if ! test -d $(destdir)/$(d_$*)/usr/$(target_$*) ; \ + then cd build-$*/$(target_$*)/newlib && \ + $(MAKE) install DESTDIR=$(destdir)/$(d_$*) ; \ + fi +# cd build-$*/$(target_$*)/libgloss && \ + $(MAKE) install DESTDIR=$(destdir)/$(d_$*) + find $(d_$*) -type d -empty -delete + [ ! -f debian/$(p_$*).overrides ] || \ + install -D -p -o root -g root -m 644 $(destdir)/debian/$(p_$*).overrides \ + $(destdir)/$(d_$*)/usr/share/lintian/overrides/$(p_$*) + rm -rf $(d_$*)/share/ $(d_$*)/usr/share/info/ + touch $@ + +$(install_stamp)-dev: $(install_stamp)-lib + touch $@ +$(install_stamp)-lib: $(build_stamp)-lib + dh_testdir + dh_testroot + rm -rf $(d_lib) && mkdir $(d_lib) + rm -rf $(d_dev) && mkdir $(d_dev) + cd build-lib && \ + $(MAKE) install DESTDIR=$(destdir)/$(d_lib) + cd build-lib/$(target_lib)/newlib && \ + $(MAKE) install DESTDIR=$(destdir)/$(d_lib) + mkdir -p $(d_dev)/usr/lib/newlib/$(target_lib) + mv $(d_lib)/usr/lib/newlib/$(target_lib)/include \ + $(d_dev)/usr/lib/newlib/$(target_lib)/ + mkdir -p $(d_dev)/usr/lib/newlib/$(target_lib)/lib + find $(d_lib)/usr/lib/newlib/$(target_lib)/lib \ + ! -type d ! -name "*.so.*" -exec mv {} \ + $(d_dev)/usr/lib/newlib/$(target_lib)/lib/ \; + mkdir -p $(d_dev)/usr/lib/newlib/lib/newlib + if test -d $(d_lib)/usr/lib/newlib/lib/newlib ; then \ + find $(d_lib)/usr/lib/newlib/lib/newlib \ + ! -type d ! -name "*.so.*" -exec mv {} \ + $(d_dev)/usr/lib/newlib/lib/newlib/ \; ; \ + fi + rm -rf $(d_lib)/share/ $(d_lib)/usr/share/info/ + rm -rf $(d_dev)/share/ $(d_dev)/usr/share/info/ + [ ! -f debian/$(p_lib).overrides ] || \ + install -D -p -o root -g root -m 644 $(destdir)/debian/$(p_lib).overrides \ + $(destdir)/$(d_lib)/usr/share/lintian/overrides/$(p_lib) + [ ! -f debian/$(p_dev).overrides ] || \ + install -D -p -o root -g root -m 644 $(destdir)/debian/$(p_dev).overrides \ + $(destdir)/$(d_dev)/usr/share/lintian/overrides/$(p_dev) + find $(d_lib) -type d -empty -delete + find $(d_dev) -type d -empty -delete + touch $@ + +$(install_stamp)-source: + dh_testdir + dh_testroot + rm -rf $(d_src) + mkdir -p $(d_src)/usr/src/newlib + cp ../newlib_$(uversion).orig.tar.gz $(d_src)/usr/src/newlib/newlib-$(uversion).tar.gz + gunzip $(d_src)/usr/src/newlib/newlib-$(uversion).tar.gz + lzma $(d_src)/usr/src/newlib/newlib-$(uversion).tar + mkdir -p $(d_src)/usr/src/newlib/patches + cp debian/patches/* $(d_src)/usr/src/newlib/patches + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -rf build* *-stamp* + rm -rf $(foreach package,$(all_packages_arch),$(d_$(package))) + rm -rf $(foreach package,$(all_packages_indep),$(d_$(package))) + dh_clean + +binary-arch: $(addprefix $(binary_stamp)-,$(packages_arch)) +binary-indep: $(addprefix $(binary_stamp)-,$(packages_indep)) +$(binary_stamp)-%: $(install_stamp)-% + @echo Building package: $(p_$*) + dh_testdir + dh_testroot + dh_installchangelogs -p$(p_$*) + dh_installdocs -p$(p_$*) + dh_installexamples -p$(p_$*) + dh_installman -p$(p_$*) + dh_installmime -p$(p_$*) + dh_install -p$(p_$*) + dh_link -p$(p_$*) + dh_strip -p$(p_$*) + dh_compress -p$(p_$*) + dh_fixperms -p$(p_$*) + dh_installdeb -p$(p_$*) + dh_shlibdeps -p$(p_$*) + dh_gencontrol -p$(p_$*) + dh_md5sums -p$(p_$*) + dh_builddeb -p$(p_$*) + touch $@ + +$(binary_stamp)-src: $(install_stamp)-source + dh_testdir -p$(p_src) + dh_testroot -p$(p_src) + dh_installchangelogs -p$(p_src) + dh_installdocs -p$(p_src) + dh_link -p$(p_src) + dh_compress -p$(p_src) + dh_fixperms -p$(p_src) + dh_installdeb -p$(p_src) + dh_gencontrol -p$(p_src) + dh_md5sums -p$(p_src) + dh_builddeb -p$(p_src) + touch $@ + +binary: binary-arch binary-indep +.PHONY: configure build install binary binary-indep binary-arch --- newlib-1.18.0.orig/debian/patches/60_newlib-libgloss-eabi.patch +++ newlib-1.18.0/debian/patches/60_newlib-libgloss-eabi.patch @@ -0,0 +1,25 @@ +Set objtype to elf for armel/arm-linux-gnueabi; fixes installation for this +target. Run autoreconf -fi && rm -rf autom4te.cache. + +--- a/libgloss/arm/configure.in ++++ b/libgloss/arm/configure.in +@@ -49,7 +49,7 @@ AC_PROG_RANLIB + LIB_AM_PROG_AS + + case "${target}" in +- *-*-elf | *-*-eabi) ++ *-*-elf | *-*-eabi | *-*-gnueabi) + objtype=elf- + ;; + *-*-coff) +--- a/libgloss/arm/configure ++++ b/libgloss/arm/configure +@@ -2540,7 +2540,7 @@ test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS + + + case "${target}" in +- *-*-elf | *-*-eabi) ++ *-*-elf | *-*-eabi | *-*-gnueabi) + objtype=elf- + ;; + *-*-coff) --- newlib-1.18.0.orig/debian/patches/66_thrownl.patch +++ newlib-1.18.0/debian/patches/66_thrownl.patch @@ -0,0 +1,29 @@ +Index: b/newlib/libc/sys/linux/sys/cdefs.h +=================================================================== +--- a/newlib/libc/sys/linux/sys/cdefs.h ++++ b/newlib/libc/sys/linux/sys/cdefs.h +@@ -45,13 +45,16 @@ + the -fexceptions options for C code as well. */ + # if !defined __cplusplus && __GNUC_PREREQ (3, 3) + # define __THROW __attribute__ ((__nothrow__)) ++# define __THROWNL __attribute__ ((__nothrow__)) + # define __NTH(fct) __attribute__ ((__nothrow__)) fct + # else + # if defined __cplusplus && __GNUC_PREREQ (2,8) + # define __THROW throw () ++# define __THROWNL throw () + # define __NTH(fct) fct throw () + # else + # define __THROW ++# define __THROWNL + # define __NTH(fct) fct + # endif + # endif +@@ -61,6 +64,7 @@ + # define __inline /* No inline functions. */ + + # define __THROW ++# define __THROWNL + # define __NTH(fct) fct + + # define __const const --- newlib-1.18.0.orig/debian/patches/65_multiarch-headers.patch +++ newlib-1.18.0/debian/patches/65_multiarch-headers.patch @@ -0,0 +1,26 @@ +Index: newlib-1.18.0/newlib/libc/sys/linux/Makefile.am +=================================================================== +--- newlib-1.18.0.orig/newlib/libc/sys/linux/Makefile.am 2011-04-07 12:39:43.000000000 +0000 ++++ newlib-1.18.0/newlib/libc/sys/linux/Makefile.am 2011-04-07 12:39:47.000000000 +0000 +@@ -169,7 +169,7 @@ + + # This will handle both /usr/src/linux-2.4/include/asm/signal.h (in Red Hat Linux 7.1) + # and also /usr/src/linux/include/asm/signal.h in older versions of Red Hat Linux +-SIGNAL_H = /usr/include/asm/signal.h ++SIGNAL_H = /usr/include/$(DEB_HOST_MULTIARCH)/asm/signal.h + + liblinux_la_LDFLAGS = -Xcompiler -nostdlib + +Index: newlib-1.18.0/newlib/libc/sys/linux/Makefile.in +=================================================================== +--- newlib-1.18.0.orig/newlib/libc/sys/linux/Makefile.in 2011-04-07 12:57:39.000000000 +0000 ++++ newlib-1.18.0/newlib/libc/sys/linux/Makefile.in 2011-04-07 12:57:07.000000000 +0000 +@@ -484,7 +484,7 @@ + + # This will handle both /usr/src/linux-2.4/include/asm/signal.h (in Red Hat Linux 7.1) + # and also /usr/src/linux/include/asm/signal.h in older versions of Red Hat Linux +-SIGNAL_H = /usr/include/asm/signal.h ++SIGNAL_H = /usr/include/$(DEB_HOST_MULTIARCH)/asm/signal.h + liblinux_la_LDFLAGS = -Xcompiler -nostdlib + ADD_OBJS = \ + $(LINUX_MACH_LIB) --- newlib-1.18.0.orig/debian/patches/61_newlib_arm_include.patch +++ newlib-1.18.0/debian/patches/61_newlib_arm_include.patch @@ -0,0 +1,22 @@ +--- a/newlib/libc/sys/arm/Makefile.am ++++ b/newlib/libc/sys/arm/Makefile.am +@@ -2,7 +2,7 @@ + + AUTOMAKE_OPTIONS = cygnus + +-INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) ++INCLUDES = -I$(newlib_basedir)/libc/include $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) + + AM_CCASFLAGS = $(INCLUDES) + +--- a/newlib/libc/sys/arm/Makefile.in ++++ b/newlib/libc/sys/arm/Makefile.in +@@ -179,7 +179,7 @@ + sysconfdir = @sysconfdir@ + target_alias = @target_alias@ + AUTOMAKE_OPTIONS = cygnus +-INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) ++INCLUDES = -I$(newlib_basedir)/libc/include $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) + AM_CCASFLAGS = $(INCLUDES) + noinst_LIBRARIES = lib.a + @MAY_SUPPLY_SYSCALLS_FALSE@extra_objs = --- newlib-1.18.0.orig/debian/patches/62_long_double_infinity.patch +++ newlib-1.18.0/debian/patches/62_long_double_infinity.patch @@ -0,0 +1,25 @@ +--- a/newlib/libm/common/s_infconst.c ++++ b/newlib/libm/common/s_infconst.c +@@ -17,5 +17,21 @@ + + /* Long double version of infinity. */ + #if defined(_HAVE_LONG_DOUBLE) +-const union __ldmath __infinityld[1] = { { LDBL_MAX+LDBL_MAX } }; ++#ifdef __IEEE_BIG_ENDIAN ++ #if LDBL_MANT_DIG == 24 ++const union __ldmath __infinityld[1] = {{{0x7f800000, 0, 0, 0}}}; ++ #elif LDBL_MANT_DIG == 53 ++const union __ldmath __infinityld[1] = {{{0x7ff00000, 0, 0, 0}}}; ++ #else ++const union __ldmath __infinityld[1] = {{{0x7fff0000, 0, 0, 0}}}; ++#endif /* LDBL_MANT_DIG size */ ++#else /* __IEEE_LITTLE_ENDIAN */ ++ #if LDBL_MANT_DIG == 24 ++const union __ldmath __infinityld[1] = {{{0x7f800000, 0, 0, 0}}}; ++ #elif LDBL_MANT_DIG == 53 ++const union __ldmath __infinityld[1] = {{{0, 0x7ff00000, 0, 0}}}; ++ #else ++const union __ldmath __infinityld[1] = {{{0, 0x80000000, 0x00007fff, 0}}}; ++#endif /* LDBL_MANT_DIG size */ ++#endif /* __IEEE_LITTLE_ENDIAN */ + #endif --- newlib-1.18.0.orig/debian/patches/series +++ newlib-1.18.0/debian/patches/series @@ -0,0 +1,6 @@ +60_newlib-libgloss-eabi.patch +61_newlib_arm_include.patch +62_long_double_infinity.patch +65_multiarch-headers.patch +66_thrownl.patch +99_missing_null_defs.patch --- newlib-1.18.0.orig/debian/patches/99_missing_null_defs.patch +++ newlib-1.18.0/debian/patches/99_missing_null_defs.patch @@ -0,0 +1,134 @@ +Index: newlib-1.18.0/newlib/libc/posix/execl.c +=================================================================== +--- newlib-1.18.0.orig/newlib/libc/posix/execl.c 2012-09-25 13:01:04.535153500 +0000 ++++ newlib-1.18.0/newlib/libc/posix/execl.c 2012-09-25 13:01:05.339153518 +0000 +@@ -34,6 +34,10 @@ + + #endif + ++#ifndef NULL ++#define NULL 0 ++#endif ++ + { + int i; + va_list args; +Index: newlib-1.18.0/newlib/libc/posix/execle.c +=================================================================== +--- newlib-1.18.0.orig/newlib/libc/posix/execle.c 2012-09-25 13:01:04.535153500 +0000 ++++ newlib-1.18.0/newlib/libc/posix/execle.c 2012-09-25 13:01:05.339153518 +0000 +@@ -12,6 +12,10 @@ + + #include + ++#ifndef NULL ++#define NULL 0 ++#endif ++ + int + _DEFUN(execle, (path, arg0, ...), + _CONST char *path _AND +Index: newlib-1.18.0/newlib/libc/posix/execlp.c +=================================================================== +--- newlib-1.18.0.orig/newlib/libc/posix/execlp.c 2012-09-25 13:01:04.535153500 +0000 ++++ newlib-1.18.0/newlib/libc/posix/execlp.c 2012-09-25 13:01:05.339153518 +0000 +@@ -12,6 +12,10 @@ + + #include + ++#ifndef NULL ++#define NULL 0 ++#endif ++ + int + _DEFUN(execlp, (path, arg0, ...), + _CONST char *path _AND +Index: newlib-1.18.0/newlib/libc/time/time.c +=================================================================== +--- newlib-1.18.0.orig/newlib/libc/time/time.c 2007-07-06 16:56:30.000000000 +0000 ++++ newlib-1.18.0/newlib/libc/time/time.c 2012-09-25 13:07:18.791161720 +0000 +@@ -37,6 +37,10 @@ + #include + #include + ++#ifndef NULL ++#define NULL 0 ++#endif ++ + time_t + _DEFUN (time, (t), + time_t * t) +Index: newlib-1.18.0/newlib/libc/sys/linux/process.c +=================================================================== +--- newlib-1.18.0.orig/newlib/libc/sys/linux/process.c 2002-08-26 18:56:08.000000000 +0000 ++++ newlib-1.18.0/newlib/libc/sys/linux/process.c 2012-09-25 13:09:00.351164937 +0000 +@@ -7,6 +7,9 @@ + #include + #include + ++#ifndef NULL ++#define NULL 0 ++#endif + + #define __NR__exit __NR_exit + #define __NR__execve __NR_execve +Index: newlib-1.18.0/newlib/libc/sys/linux/sig.c +=================================================================== +--- newlib-1.18.0.orig/newlib/libc/sys/linux/sig.c 2002-08-26 18:56:08.000000000 +0000 ++++ newlib-1.18.0/newlib/libc/sys/linux/sig.c 2012-09-25 13:13:46.287170617 +0000 +@@ -8,6 +8,10 @@ + #include + #include + ++#ifndef NULL ++#define NULL 0 ++#endif ++ + /* avoid name space pollution */ + #define __NR___sgetmask __NR_sgetmask + #define __NR___ssetmask __NR_ssetmask +Index: newlib-1.18.0/newlib/libc/sys/linux/siglongjmp.c +=================================================================== +--- newlib-1.18.0.orig/newlib/libc/sys/linux/siglongjmp.c 2002-05-17 23:39:38.000000000 +0000 ++++ newlib-1.18.0/newlib/libc/sys/linux/siglongjmp.c 2012-09-25 13:15:13.859172347 +0000 +@@ -7,6 +7,10 @@ + #include + #include + ++#ifndef NULL ++#define NULL 0 ++#endif ++ + void + __libc_siglongjmp (sigjmp_buf env, int val) + { +Index: newlib-1.18.0/newlib/libc/sys/linux/getlogin.c +=================================================================== +--- newlib-1.18.0.orig/newlib/libc/sys/linux/getlogin.c 2003-11-07 23:47:05.000000000 +0000 ++++ newlib-1.18.0/newlib/libc/sys/linux/getlogin.c 2012-09-25 13:15:59.787173400 +0000 +@@ -2,6 +2,10 @@ + #include + #include + ++#ifndef NULL ++#define NULL 0 ++#endif ++ + char * + _DEFUN_VOID (getlogin) + { +Index: newlib-1.18.0/newlib/libc/sys/linux/getpwent.c +=================================================================== +--- newlib-1.18.0.orig/newlib/libc/sys/linux/getpwent.c 2005-05-12 22:06:25.000000000 +0000 ++++ newlib-1.18.0/newlib/libc/sys/linux/getpwent.c 2012-09-25 13:16:41.883181396 +0000 +@@ -2,6 +2,10 @@ + #include + #include + ++#ifndef NULL ++#define NULL 0 ++#endif ++ + struct passwd * + _DEFUN (getpwnam, (name), + _CONST char *name)