diff options
author | pawel <pawel@FreeBSD.org> | 2013-03-30 05:20:37 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2013-03-30 05:20:37 +0800 |
commit | 7a00974e60f9a66643df363f5d13d19494a0caa5 (patch) | |
tree | d1f9043374b5487b20480271e8beb2b757e50c1e /devel/avr-gcc/files | |
parent | 7a08a544bda65af14164c7af516617b7b5062e30 (diff) | |
download | freebsd-ports-gnome-7a00974e60f9a66643df363f5d13d19494a0caa5.tar.gz freebsd-ports-gnome-7a00974e60f9a66643df363f5d13d19494a0caa5.tar.zst freebsd-ports-gnome-7a00974e60f9a66643df363f5d13d19494a0caa5.zip |
Fix build with clang
PR: ports/176961
Submitted by: myself
Approved by: maintainer timeout
Diffstat (limited to 'devel/avr-gcc/files')
-rw-r--r-- | devel/avr-gcc/files/patch-gcc-config-avr-driver-avr.c | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/devel/avr-gcc/files/patch-gcc-config-avr-driver-avr.c b/devel/avr-gcc/files/patch-gcc-config-avr-driver-avr.c new file mode 100644 index 000000000000..02515571007d --- /dev/null +++ b/devel/avr-gcc/files/patch-gcc-config-avr-driver-avr.c @@ -0,0 +1,38 @@ +--- gcc/config/avr/driver-avr.c.orig 2013-03-14 16:26:36.000000000 +0100 ++++ gcc/config/avr/driver-avr.c 2013-03-14 16:28:52.000000000 +0100 +@@ -55,7 +55,7 @@ + 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 @@ + char data_section_start_str[16]; + + if (0 == argc) +- return; ++ return NULL; + + avr_set_current_device (argv[0]); + +@@ -93,7 +93,7 @@ + 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 @@ + avr_device_to_devicelib (int argc, const char **argv) + { + if (0 == argc) +- return; ++ return NULL; + + avr_set_current_device (argv[0]); + |