aboutsummaryrefslogtreecommitdiff
path: root/graphics/yafaray/files
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/yafaray/files')
-rw-r--r--graphics/yafaray/files/patch-SConstruct14
-rw-r--r--graphics/yafaray/files/patch-freebsd-settings.py32
-rw-r--r--graphics/yafaray/files/patch-src::loader::gram_loader.h13
-rw-r--r--graphics/yafaray/files/patch-src_yafraycore_ccthreads.h12
-rw-r--r--graphics/yafaray/files/patch-src_yafraycore_threadedscene.cc13
-rw-r--r--graphics/yafaray/files/patch-src_yafraycore_y_alloc.h39
6 files changed, 0 insertions, 123 deletions
diff --git a/graphics/yafaray/files/patch-SConstruct b/graphics/yafaray/files/patch-SConstruct
deleted file mode 100644
index fade40439216..000000000000
--- a/graphics/yafaray/files/patch-SConstruct
+++ /dev/null
@@ -1,14 +0,0 @@
---- SConstruct.orig 2006-06-20 21:24:00.000000000 +0400
-+++ SConstruct 2009-11-04 20:56:07.000000000 +0300
-@@ -8,6 +8,11 @@
- ficheros = {
- 'darwin' : 'darwin-settings',
- 'linux2' : 'linux-settings',
-+'freebsd5' : 'freebsd-settings',
-+'freebsd6' : 'freebsd-settings',
-+'freebsd7' : 'freebsd-settings',
-+'freebsd8' : 'freebsd-settings',
-+'freebsd9' : 'freebsd-settings',
- 'win32' : 'win32-settings',
- 'sunos5' : 'sunos5-settings'
- }
diff --git a/graphics/yafaray/files/patch-freebsd-settings.py b/graphics/yafaray/files/patch-freebsd-settings.py
deleted file mode 100644
index 454943db3bb7..000000000000
--- a/graphics/yafaray/files/patch-freebsd-settings.py
+++ /dev/null
@@ -1,32 +0,0 @@
---- freebsd-settings.py.orig Sat Sep 23 00:21:17 2006
-+++ freebsd-settings.py Sat Sep 23 00:21:29 2006
-@@ -10,6 +10,7 @@
- global prefix
- prefix = args.get('prefix','/usr/local')
-
-+def get_include(args): return prefix+"/usr/local/include"
- def get_libpath(args): return prefix+"/lib"
- def get_pluginpath(args): return prefix+"/lib/yafray"
- def get_binpath(args): return prefix+"/bin"
-@@ -46,9 +47,9 @@
- class jpeg(globalinfo.library):
- C_ID = 'JPEG'
-
-- def present(args): return os.path.exists("/usr/include/jpeglib.h")
-- def get_include(args): return []
-- def get_libpath(args): return []
-+ def present(args): return os.path.exists("/usr/local/include/jpeglib.h")
-+ def get_include(args): return ['/usr/local/include']
-+ def get_libpath(args): return ['/usr/local/lib']
- def get_libs(args): return ['jpeg']
-
- class pthread(globalinfo.library):
-@@ -73,7 +74,7 @@
- def present(args): return True
- def get_include(args): return []
- def get_libpath(args): return []
-- def get_libs(args): return ['dl']
-+ def get_libs(args): return ['']
-
- def derive_shared_env(common_env):
- return common_env.Copy()
diff --git a/graphics/yafaray/files/patch-src::loader::gram_loader.h b/graphics/yafaray/files/patch-src::loader::gram_loader.h
deleted file mode 100644
index 2f43ae477901..000000000000
--- a/graphics/yafaray/files/patch-src::loader::gram_loader.h
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/loader/gram_loader.h.orig Thu Sep 30 14:48:47 2004
-+++ src/loader/gram_loader.h Thu Sep 30 14:49:18 2004
-@@ -22,6 +22,10 @@
- #ifndef __GRAML_H
- #define __GRAML_H
-
-+#include <iostream>
-+
-+using namespace std;
-+
- #include "gram_lex.h"
-
- struct sym_t
diff --git a/graphics/yafaray/files/patch-src_yafraycore_ccthreads.h b/graphics/yafaray/files/patch-src_yafraycore_ccthreads.h
deleted file mode 100644
index 082cf1d35429..000000000000
--- a/graphics/yafaray/files/patch-src_yafraycore_ccthreads.h
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/yafraycore/ccthreads.h.orig 2007-07-02 17:04:18.000000000 -0400
-+++ src/yafraycore/ccthreads.h 2007-07-02 17:04:33.000000000 -0400
-@@ -81,9 +81,7 @@
- virtual void body()=0;
- void run();
- void wait();
-- int getId() {return (int)id;};
- pthread_t getPid() {return id;};
-- int getSelf() {return (int)pthread_self();};
- bool isRunning()const {return running;};
- protected:
- bool running;
diff --git a/graphics/yafaray/files/patch-src_yafraycore_threadedscene.cc b/graphics/yafaray/files/patch-src_yafraycore_threadedscene.cc
deleted file mode 100644
index fa5e770f96a6..000000000000
--- a/graphics/yafaray/files/patch-src_yafraycore_threadedscene.cc
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/yafraycore/threadedscene.cc.orig Mon Jul 4 11:01:46 2005
-+++ src/yafraycore/threadedscene.cc Sat Sep 23 00:16:35 2006
-@@ -35,6 +35,10 @@
- #include <semaphore.h>
- #include<map>
-
-+#ifdef __FreeBSD__
-+#include<sys/time.h>
-+#endif
-+
- sem_t pstop;
-
-
diff --git a/graphics/yafaray/files/patch-src_yafraycore_y_alloc.h b/graphics/yafaray/files/patch-src_yafraycore_y_alloc.h
deleted file mode 100644
index 25b0823c6c25..000000000000
--- a/graphics/yafaray/files/patch-src_yafraycore_y_alloc.h
+++ /dev/null
@@ -1,39 +0,0 @@
---- src/yafraycore/y_alloc.h.orig Thu Jul 13 12:35:02 2006
-+++ src/yafraycore/y_alloc.h Tue Oct 17 14:55:47 2006
-@@ -5,7 +5,7 @@
- #include<config.h>
- #endif
-
--#ifdef __APPLE__
-+#if defined(__APPLE__) || defined (__FreeBSD__)
- #include <stdlib.h>
- #else
- #include <malloc.h>
-@@ -13,6 +13,10 @@
- #include <vector>
- #include <algorithm>
-
-+#if defined(__FreeBSD__)
-+#include <sys/param.h>
-+#endif
-+
- __BEGIN_YAFRAY
-
- typedef unsigned int u_int32;
-@@ -26,6 +30,16 @@
- // however, malloc is supposed to return at least SSE2 compatible alignment, which has to be enough.
- // alternative would be valloc, but i have no good info on its effects.
- return malloc(size);
-+#elif defined(__FreeBSD__)
-+#if (__FreeBSD_version < 700014)
-+ return malloc(size);
-+#else
-+ void *ret;
-+ if (posix_memalign(&ret, bound, size) != 0)
-+ return (NULL);
-+ else
-+ return (ret);
-+#endif
- #else
- return memalign(bound, size);
- #endif