ports/103765: [PATCH] emulators/klh10: fix build with gcc41
trasz
trasz at pin.if.uz.zgora.pl
Thu Sep 28 16:40:28 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list