svn commit: r315469 - head/devel/dev86/files
Martin Wilke
miwi at FreeBSD.org
Thu Mar 28 13:58:06 UTC 2013
Author: miwi
Date: Thu Mar 28 13:58:05 2013
New Revision: 315469
URL: http://svnweb.freebsd.org/changeset/ports/315469
Log:
- Fix build with clang
PR: 174240
Submitted by: Keith White <kwhite at uottawa.ca>
Approved by: maintainer
Added:
head/devel/dev86/files/patch-as__genlist.c (contents, props changed)
Added: head/devel/dev86/files/patch-as__genlist.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/dev86/files/patch-as__genlist.c Thu Mar 28 13:58:05 2013 (r315469)
@@ -0,0 +1,11 @@
+--- as/genlist.c.orig 2001-06-23 22:13:19.000000000 +0200
++++ as/genlist.c 2013-03-10 18:40:54.000000000 +0100
+@@ -119,7 +119,7 @@ register char *where;
+ power = 5; /* actually 1 more than power */
+ do
+ {
+- for (digit = '0', power_of_10 = (powers_of_10 - 1)[power];
++ for (digit = '0', power_of_10 = powers_of_10[power - 1];
+ num >= power_of_10; num -= power_of_10)
+ ++digit;
+ if (power <= width)
More information about the svn-ports-all
mailing list