svn commit: r310757 - head/graphics/hugin/files

Vasil Dimov vd at FreeBSD.org
Mon Jan 21 09:23:34 UTC 2013


Author: vd
Date: Mon Jan 21 09:23:33 2013
New Revision: 310757
URL: http://svnweb.freebsd.org/changeset/ports/310757

Log:
  Make graphics/hugin compilable with clang.
  
  PR:		ports/175427
  Submitted by:	Rainer Hurling <rhurlin at gwdg.de>

Added:
  head/graphics/hugin/files/patch-src__foreign__flann__util__logger.h   (contents, props changed)
  head/graphics/hugin/files/patch-src__foreign__zthread__include__zthread__Guard.h   (contents, props changed)

Added: head/graphics/hugin/files/patch-src__foreign__flann__util__logger.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/hugin/files/patch-src__foreign__flann__util__logger.h	Mon Jan 21 09:23:33 2013	(r310757)
@@ -0,0 +1,10 @@
+--- src/foreign/flann/util/logger.h.orig	2013-01-18 09:26:49.000000000 +0200
++++ src/foreign/flann/util/logger.h	2013-01-18 09:26:20.000000000 +0200
+@@ -32,6 +32,7 @@
+ #define LOGGER_H
+ 
+ #include <cstdio>
++#include <stdarg.h>
+ #include "flann/general.h"
+ 
+ namespace flann

Added: head/graphics/hugin/files/patch-src__foreign__zthread__include__zthread__Guard.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/hugin/files/patch-src__foreign__zthread__include__zthread__Guard.h	Mon Jan 21 09:23:33 2013	(r310757)
@@ -0,0 +1,30 @@
+--- src/foreign/zthread/include/zthread/Guard.h.orig      2011-12-02 18:02:37.253022000 +0100
++++ src/foreign/zthread/include/zthread/Guard.h    2013-01-18 19:08:14.000000000 +0100
+@@ -108,7 +108,7 @@
+   }
+ 
+   template <class LockType>
+-  static void createScope(LockHolder<LockType>& l, unsigned long ms) {
++  static bool createScope(LockHolder<LockType>& l, unsigned long ms) {
+ 
+     if(Scope1::createScope(l, ms))
+       if(!Scope2::createScope(l, ms)) {
+@@ -428,8 +428,8 @@
+   template <class U, class V>
+   Guard(Guard<U, V>& g) : LockHolder<LockType>(g) {
+ 
+-    LockingPolicy::shareScope(*this, extract(g));
+-    
++    LockingPolicy::shareScope(*this, this->extract(g));
++
+   }
+ 
+   /**
+@@ -458,7 +458,7 @@
+   template <class U, class V>
+   Guard(Guard<U, V>& g, LockType& lock) : LockHolder<LockType>(lock) {
+ 
+-    LockingPolicy::transferScope(*this, extract(g));
++    LockingPolicy::transferScope(*this, this->extract(g));
+ 
+   }


More information about the svn-ports-all mailing list