70ada8ee50
(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
42 lines
1.1 KiB
Text
42 lines
1.1 KiB
Text
$NetBSD: patch-gcc_config_avr_driver-avr_c,v 1.1 2013/08/07 03:11:35 mef Exp $
|
|
|
|
gcc-4.5.3/gcc/config/avr/driver-avr.c:58:5: error: non-void function 'avr_device_to_arch' should return a value [-Wreturn-type]
|
|
|
|
--- gcc/config/avr/driver-avr.c.orig 2009-06-24 04:14:11.000000000 +0900
|
|
+++ gcc/config/avr/driver-avr.c 2013-07-04 17:47:24.000000000 +0900
|
|
@@ -55,7 +55,7 @@ const char *
|
|
avr_device_to_arch (int argc, const char **argv)
|
|
{
|
|
if (0 == argc)
|
|
- return;
|
|
+ return NULL;
|
|
|
|
avr_set_current_device (argv[0]);
|
|
|
|
@@ -71,7 +71,7 @@ avr_device_to_data_start (int argc, cons
|
|
char data_section_start_str[16];
|
|
|
|
if (0 == argc)
|
|
- return;
|
|
+ return NULL;
|
|
|
|
avr_set_current_device (argv[0]);
|
|
|
|
@@ -93,7 +93,7 @@ const char *
|
|
avr_device_to_startfiles (int argc, const char **argv)
|
|
{
|
|
if (0 == argc)
|
|
- return;
|
|
+ return NULL;
|
|
|
|
avr_set_current_device (argv[0]);
|
|
|
|
@@ -106,7 +106,7 @@ const char *
|
|
avr_device_to_devicelib (int argc, const char **argv)
|
|
{
|
|
if (0 == argc)
|
|
- return;
|
|
+ return NULL;
|
|
|
|
avr_set_current_device (argv[0]);
|
|
|