Date: Thu, 22 Nov 2007 16:20:40 +0100 From: "Pietro Cerutti" <gahr@gahr.ch> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/118200: [patch] misc/birthday fix build on sparc64 Message-ID: <1195744840.26872@gahrtop.localhost> Resent-Message-ID: <200711221530.lAMFU1Oa067304@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 118200 >Category: ports >Synopsis: [patch] misc/birthday fix build on sparc64 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 22 15:30:00 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Pietro Cerutti >Release: FreeBSD 8.0-CURRENT i386 >Organization: >Environment: System: FreeBSD 8.0-CURRENT #12: Tue Nov 20 17:46:40 CET 2007 root@gahrtop.localhost:/usr/obj/usr/src/sys/MSI1034 >Description: makemake.c doesn't explicitly return (0) from main, thus the OS assumes an error... >How-To-Repeat: cd /usr/ports/misc/birthday && make >Fix: --- _birthday.diff begins here --- --- /dev/null 2007-11-22 16:11:00.000000000 +0100 +++ files/patch-makemake.c 2007-11-22 16:18:20.000000000 +0100 @@ -0,0 +1,20 @@ +--- makemake.c.orig 2007-11-22 16:13:14.000000000 +0100 ++++ makemake.c 2007-11-22 16:13:25.000000000 +0100 +@@ -17,7 +17,7 @@ + { "UNIX", "ifeq (", ",", ")", "else", "endif" } + }; + +-main(int argc, char *argv[]) ++int main(int argc, char *argv[]) + { + enum {DOS=0,UNIX=1} os; + char buf[256]; +@@ -51,6 +51,8 @@ + } else + printf("%s", buf); + } ++ ++ return (0); + } + + --- _birthday.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1195744840.26872>