diff options
author | lme <lme@FreeBSD.org> | 2007-07-14 19:01:35 +0800 |
---|---|---|
committer | lme <lme@FreeBSD.org> | 2007-07-14 19:01:35 +0800 |
commit | d0734ff8f0de39a31985dce543eb807536e325b9 (patch) | |
tree | e31ae0bafddd142655bc2c5ca113f4693dd44422 /www/udmsearch | |
parent | 04d22f061f8186a3936641e24c6bd56964b3157c (diff) | |
download | freebsd-ports-gnome-d0734ff8f0de39a31985dce543eb807536e325b9.tar.gz freebsd-ports-gnome-d0734ff8f0de39a31985dce543eb807536e325b9.tar.zst freebsd-ports-gnome-d0734ff8f0de39a31985dce543eb807536e325b9.zip |
Fix build with gcc 4.2
Approved by: miwi (mentor)
Diffstat (limited to 'www/udmsearch')
-rw-r--r-- | www/udmsearch/files/patch-src-udmutils.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/udmsearch/files/patch-src-udmutils.c b/www/udmsearch/files/patch-src-udmutils.c new file mode 100644 index 000000000000..a93abaa08d34 --- /dev/null +++ b/www/udmsearch/files/patch-src-udmutils.c @@ -0,0 +1,11 @@ +--- src/udmutils.c.orig 2007-07-14 12:51:12.000000000 +0200 ++++ src/udmutils.c 2007-07-14 12:51:29.000000000 +0200 +@@ -724,7 +724,7 @@ + tmp[i++]='0'; + else while (num != 0){ + tmp[i++] = digits[(unsigned long) num % (unsigned) base]; +- (unsigned long) num /= (unsigned) base; ++ num /= (unsigned) base; + } + if (i > precision) + precision = i; |