pkgsrc/cross/avr-gcc/patches/patch-ab
mef 70ada8ee50 Bump avr-gcc from 4.4.1 to 4.5.3
(pkgsrc)
Removing:
 patches/patch-aa
   (was not to install: install-subdir at libiberty)
 patches/patch-ac
   (was not to install tree-inline.o cppdefault.o for Mac OS X,
    equivalent target does not have these files for now)
 patches/patch-gcc_toplev.h
   Upstream corrected the problem as:
   -extern inline int
   +static inline int

Adding:
 patch-gcc_config_avr_driver-avr_c
   To fix the problem like:
   error: non-void function 'avr_device_to_arch' should return a value [-Wreturn-type]
 patch-libiberty_Makefile.in
   Not install libiberty.a
   to avoid duplication (conflict) with other cross tool-chain (mef@).

(upstream)
For the changes from 4.4.1 to 4.5, see following page.
  http://gcc.gnu.org/gcc-4.5/changes.html
2013-08-07 03:11:35 +00:00

18 lines
608 B
Text

$NetBSD: patch-ab,v 1.3 2013/08/07 03:11:35 mef Exp $
See Makefile for following part. Honor ${TOOLS_PATH.sed}
SUBST_CLASSES+= sed
--- fixincludes/fixincl.x.orig 2009-08-27 00:05:13 +0300
+++ fixincludes/fixincl.x 2009-08-27 00:05:32 +0300
@@ -36,9 +36,7 @@
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef SED_PROGRAM
-#define SED_PROGRAM "/usr/bin/sed"
-#endif
+#define SED_PROGRAM "@SED@"
static char const sed_cmd_z[] = SED_PROGRAM;
/* * * * * * * * * * * * * * * * * * * * * * * * * *