Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Mar 2013 21:20:37 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r315574 - head/devel/avr-gcc/files
Message-ID:  <201303292120.r2TLKbSR043100@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri Mar 29 21:20:37 2013
New Revision: 315574
URL: http://svnweb.freebsd.org/changeset/ports/315574

Log:
  Fix build with clang
  
  PR:		ports/176961
  Submitted by:	myself
  Approved by:	maintainer timeout

Added:
  head/devel/avr-gcc/files/patch-gcc-config-avr-driver-avr.c   (contents, props changed)

Added: head/devel/avr-gcc/files/patch-gcc-config-avr-driver-avr.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/avr-gcc/files/patch-gcc-config-avr-driver-avr.c	Fri Mar 29 21:20:37 2013	(r315574)
@@ -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]);
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303292120.r2TLKbSR043100>