[MacPorts] #35333: agrep: error: non-void function 'asearch1' should return a value

MacPorts noreply at macports.org
Sun Jul 29 13:11:57 PDT 2012


#35333: agrep: error: non-void function 'asearch1' should return a value
------------------------------------+---------------------------------------
 Reporter:  david.s.nunn@…          |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  2.1.2                                
 Keywords:  clang                   |        Port:  agrep                                
------------------------------------+---------------------------------------

Comment(by david.s.nunn@…):

 If you're desperate (like me):
 {{{
 edit
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_agrep/agrep/work/agrep-2.04/Makefile
   by adding "  -Wno-return-type" to the CFLAGS line.
 Then:
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_agrep/agrep/work/agrep-2.04;
 [sudo] make;
 [sudo] cp agrep /usr/local/bin/;

 Resulting agrep seems to work fine
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/35333#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list