Date: Thu, 28 Sep 2006 18:34:23 +0200 (CEST) From: trasz <trasz@pin.if.uz.zgora.pl> To: FreeBSD-gnats-submit@FreeBSD.org Cc: kstailey@yahoo.com Subject: ports/103765: [PATCH] emulators/klh10: fix build with gcc41 Message-ID: <20060928163423.D32B439DB8@pin.if.uz.zgora.pl> Resent-Message-ID: <200609281640.k8SGeScf062326@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 103765 >Category: ports >Synopsis: [PATCH] emulators/klh10: fix build with gcc41 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Sep 28 16:40:27 GMT 2006 >Closed-Date: >Last-Modified: >Originator: trasz >Release: FreeBSD 6.1-RELEASE i386 >Organization: >Environment: System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat Jun 3 01:12:10 CEST >Description: Fix build with gcc41, see http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.7.2006092721/klh10-2.0a.log. Also fix makefile to respect $CC. Added file(s): - files/patch-src-Makefile.mk - files/patch-src-kn10ops.c Port maintainer (kstailey@yahoo.com) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- klh10-2.0a.patch begins here --- diff -ruN --exclude=CVS /usr/ports/emulators/klh10/files/patch-src-Makefile.mk /home/trasz/klh10/files/patch-src-Makefile.mk --- /usr/ports/emulators/klh10/files/patch-src-Makefile.mk Thu Jan 1 01:00:00 1970 +++ /home/trasz/klh10/files/patch-src-Makefile.mk Thu Sep 28 18:28:22 2006 @@ -0,0 +1,10 @@ +--- src/Makefile.mk.orig Thu Sep 28 18:05:30 2006 ++++ src/Makefile.mk Thu Sep 28 18:05:41 2006 +@@ -44,7 +44,6 @@ + + # Generic compile/link flags + # Suitable for plain vanilla Unix but normally overridden. +-CC = cc + CFLAGS = -c -I. -I$(SRC) + CFLAGS_AUX = + CFLAGS_LINT = diff -ruN --exclude=CVS /usr/ports/emulators/klh10/files/patch-src-kn10ops.c /home/trasz/klh10/files/patch-src-kn10ops.c --- /usr/ports/emulators/klh10/files/patch-src-kn10ops.c Thu Jan 1 01:00:00 1970 +++ /home/trasz/klh10/files/patch-src-kn10ops.c Thu Sep 28 18:28:22 2006 @@ -0,0 +1,11 @@ +--- src/kn10ops.c.orig Thu Sep 28 17:58:10 2006 ++++ src/kn10ops.c Thu Sep 28 17:59:21 2006 +@@ -3238,7 +3238,7 @@ + register dw10_t d, + register int nmagbits) + { +- register qw10_t qw; ++ qw10_t qw; + dw10_t quot; + register int qbit; + --- klh10-2.0a.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060928163423.D32B439DB8>