svn commit: r378962 - head/lang/urweb/files

Koop Mast kwm at FreeBSD.org
Sat Feb 14 13:58:07 UTC 2015


Author: kwm
Date: Sat Feb 14 13:58:06 2015
New Revision: 378962
URL: https://svnweb.freebsd.org/changeset/ports/378962
QAT: https://qat.redports.org/buildarchive/r378962/

Log:
  Fix the build with clang 3.5 by using the suggested function.
  
  PR:		196124
  Submitted by:	dim@
  Approved by:	maintainer

Added:
  head/lang/urweb/files/
  head/lang/urweb/files/patch-src__c__urweb.c   (contents, props changed)

Added: head/lang/urweb/files/patch-src__c__urweb.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/urweb/files/patch-src__c__urweb.c	Sat Feb 14 13:58:06 2015	(r378962)
@@ -0,0 +1,11 @@
+--- src/c/urweb.c.orig	2014-07-04 15:32:47.000000000 +0200
++++ src/c/urweb.c	2014-12-19 01:22:02.000000000 +0100
+@@ -4204,7 +4204,7 @@ uw_Basis_int uw_Basis_rand(uw_context ct
+   pthread_mutex_unlock(&rand_mutex);
+ 
+   if (r)
+-    return abs(ret);
++    return llabs(ret);
+   else
+     uw_error(ctx, FATAL, "Random number generation failed");
+ }


More information about the svn-ports-head mailing list