summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-06-15 03:54:43 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-06-15 03:54:43 +0000
commit8cb859d5823370e30846c07b682925bcc560d968 (patch)
tree58e17a83eb3aab66636a12ec3a0235c744e7b5ab /media-gfx/pixie/files
parentFix use invocation (diff)
downloadhistorical-8cb859d5823370e30846c07b682925bcc560d968.tar.gz
historical-8cb859d5823370e30846c07b682925bcc560d968.tar.bz2
historical-8cb859d5823370e30846c07b682925bcc560d968.zip
Version bump. gcc3.4 fixes, -fPIC fixes... amd64 compilation fixes (but doesn't run right).
Diffstat (limited to 'media-gfx/pixie/files')
-rw-r--r--media-gfx/pixie/files/digest-pixie-1.3.111
-rw-r--r--media-gfx/pixie/files/pixie-1.3.11-Makefile.patch14
-rw-r--r--media-gfx/pixie/files/pixie-1.3.11-gcc3.4.patch169
-rw-r--r--media-gfx/pixie/files/pixie-1.3.11-gentoo.patch13
-rw-r--r--media-gfx/pixie/files/pixie-1.3.11-math.patch12
-rw-r--r--media-gfx/pixie/files/pixie-1.3.11-pic.patch12
6 files changed, 221 insertions, 0 deletions
diff --git a/media-gfx/pixie/files/digest-pixie-1.3.11 b/media-gfx/pixie/files/digest-pixie-1.3.11
new file mode 100644
index 000000000000..5e0cb445616e
--- /dev/null
+++ b/media-gfx/pixie/files/digest-pixie-1.3.11
@@ -0,0 +1 @@
+MD5 4c0935f1f0fefeaaa303d6e1a5c1f7ac Pixie-src-1.3.11.tgz 4925938
diff --git a/media-gfx/pixie/files/pixie-1.3.11-Makefile.patch b/media-gfx/pixie/files/pixie-1.3.11-Makefile.patch
new file mode 100644
index 000000000000..6c69c3940829
--- /dev/null
+++ b/media-gfx/pixie/files/pixie-1.3.11-Makefile.patch
@@ -0,0 +1,14 @@
+diff -Naur Pixie.orig/Makefile.am Pixie.Makefile/Makefile.am
+--- Pixie.orig/Makefile.am 2004-06-13 20:00:09.000000000 -0700
++++ Pixie.Makefile/Makefile.am 2004-06-14 18:33:41.169944272 -0700
+@@ -11,8 +11,8 @@
+ cp -rf $(srcdir)/shaders $(distdir)
+
+ install-data-local:
+- cp -rf $(srcdir)/doc $(prefix)
+- cp -rf $(srcdir)/shaders $(prefix)
++ cp -rf $(srcdir)/doc $(DESTDIR)$(prefix)
++ cp -rf $(srcdir)/shaders $(DESTDIR)$(prefix)
+
+
+
diff --git a/media-gfx/pixie/files/pixie-1.3.11-gcc3.4.patch b/media-gfx/pixie/files/pixie-1.3.11-gcc3.4.patch
new file mode 100644
index 000000000000..cd28046d2b0d
--- /dev/null
+++ b/media-gfx/pixie/files/pixie-1.3.11-gcc3.4.patch
@@ -0,0 +1,169 @@
+diff -Naur Pixie.orig/src/common/containers.h Pixie.gcc34/src/common/containers.h
+--- Pixie.orig/src/common/containers.h 2004-06-13 20:00:09.000000000 -0700
++++ Pixie.gcc34/src/common/containers.h 2004-06-14 19:02:34.133763870 -0700
+@@ -53,13 +53,13 @@
+ virtual ~CDictionary() { }
+
+ // inserts an entity into the dictionary
+- virtual void insert(keyType,valType) = NULL;
++ virtual void insert(keyType,valType) = 0;
+ // return 1 if the entity is found in the dictionary
+- virtual int find(keyType,valType &) const = NULL;
++ virtual int find(keyType,valType &) const = 0;
+ // return 1 if the entity is found in the dictionary and erase it
+- virtual int erase(keyType,valType &) = NULL;
++ virtual int erase(keyType,valType &) = 0;
+ // Delete the dictionary including everything in it
+- virtual void destroy() = NULL;
++ virtual void destroy() = 0;
+ };
+
+ ///////////////////////////////////////////////////////////////////////
+diff -Naur Pixie.orig/src/framebuffer/framebuffer.h Pixie.gcc34/src/framebuffer/framebuffer.h
+--- Pixie.orig/src/framebuffer/framebuffer.h 2004-06-13 20:00:09.000000000 -0700
++++ Pixie.gcc34/src/framebuffer/framebuffer.h 2004-06-14 19:01:19.992178690 -0700
+@@ -50,8 +50,8 @@
+ char *name; // Name of the display
+ char *samples; // Samples for the display
+
+- virtual int data(int,int,int,int,float *) = NULL; // Store data
+- virtual void finish() = NULL; // Finish displaying the data
++ virtual int data(int,int,int,int,float *) = 0; // Store data
++ virtual void finish() = 0; // Finish displaying the data
+
+ void clampData(int,int,float *); // Clamp the data so that everything is between 0 and 1
+ };
+diff -Naur Pixie.orig/src/ri/cache.h Pixie.gcc34/src/ri/cache.h
+--- Pixie.orig/src/ri/cache.h 2004-06-13 20:00:06.000000000 -0700
++++ Pixie.gcc34/src/ri/cache.h 2004-06-14 19:02:59.297550257 -0700
+@@ -52,8 +52,8 @@
+ CCache(const char *,unsigned int);
+ ~CCache();
+
+- virtual void lookup(float *,const float *,const float *,const CGlobalIllumLookup *) = NULL;
+- virtual void cachesample(float *,const float *,const float *,float) = NULL;
++ virtual void lookup(float *,const float *,const float *,const CGlobalIllumLookup *) = 0;
++ virtual void cachesample(float *,const float *,const float *,float) = 0;
+ virtual void finalize(const CGlobalIllumLookup *) { }
+
+ protected:
+diff -Naur Pixie.orig/src/ri/hierarchy.h Pixie.gcc34/src/ri/hierarchy.h
+--- Pixie.orig/src/ri/hierarchy.h 2004-06-13 20:00:06.000000000 -0700
++++ Pixie.gcc34/src/ri/hierarchy.h 2004-06-14 19:04:02.661940051 -0700
+@@ -49,9 +49,9 @@
+ // Date last edited : 3/18/2002
+ class CTracable {
+ public:
+- virtual void bound(float *,float *) const = NULL;
+- virtual void intersect(CRay *) = NULL;
+- virtual int intersect(const float *,const float *) const = NULL;
++ virtual void bound(float *,float *) const = 0;
++ virtual void intersect(CRay *) = 0;
++ virtual int intersect(const float *,const float *) const = 0;
+
+ int ID;
+ };
+diff -Naur Pixie.orig/src/ri/reyes.h Pixie.gcc34/src/ri/reyes.h
+--- Pixie.orig/src/ri/reyes.h 2004-06-13 20:00:07.000000000 -0700
++++ Pixie.gcc34/src/ri/reyes.h 2004-06-14 19:03:21.869770596 -0700
+@@ -123,10 +123,10 @@
+ void renderFrame(); // Right after world end to force rendering of the entire frame
+
+ // The following functions must be overriden by the child rasterizer
+- virtual void rasterBegin(int,int,int,int) = NULL;
+- virtual void rasterDrawPrimitives(TRasterPrimitive *,int)= NULL;
+- virtual int rasterProbeTri(TRasterPrimitive *) = NULL;
+- virtual void rasterEnd(float *) = NULL;
++ virtual void rasterBegin(int,int,int,int) = 0;
++ virtual void rasterDrawPrimitives(TRasterPrimitive *,int)= 0;
++ virtual int rasterProbeTri(TRasterPrimitive *) = 0;
++ virtual void rasterEnd(float *) = 0;
+
+
+ void drawObject(CObject *,const float *,const float *); // Draw an object
+diff -Naur Pixie.orig/src/ri/shader.h Pixie.gcc34/src/ri/shader.h
+--- Pixie.orig/src/ri/shader.h 2004-06-13 20:00:07.000000000 -0700
++++ Pixie.gcc34/src/ri/shader.h 2004-06-14 19:03:45.208862524 -0700
+@@ -211,7 +211,7 @@
+ // Date last edited : 3/23/2003
+ class CGatherVariable {
+ public:
+- virtual void record(int,CGatherRay **,float **varying) = NULL;
++ virtual void record(int,CGatherRay **,float **varying) = 0;
+
+ CGatherVariable *next; // The next item in the linked list
+ int shade; // TRUE if this variable requires shading
+@@ -395,12 +395,12 @@
+ void detach() { refCount--; if (refCount == 0) delete this; }
+ void check() { if (refCount == 0) delete this; }
+
+- virtual void illuminate(CShadingContext *) = NULL;
+- virtual void setParameters(int,char **,void **) = NULL;
+- virtual int getParameter(const char *,void *) = NULL;
+- virtual void execute(CShadingContext *) = NULL;
+- virtual unsigned int requiredParameters() = NULL;
+- virtual const char *getName() = NULL;
++ virtual void illuminate(CShadingContext *) = 0;
++ virtual void setParameters(int,char **,void **) = 0;
++ virtual int getParameter(const char *,void *) = 0;
++ virtual void execute(CShadingContext *) = 0;
++ virtual unsigned int requiredParameters() = 0;
++ virtual const char *getName() = 0;
+
+ int refCount; // The refcount to manage the clones
+ CXform *xform;
+diff -Naur Pixie.orig/src/ri/shading.h Pixie.gcc34/src/ri/shading.h
+--- Pixie.orig/src/ri/shading.h 2004-06-13 20:00:07.000000000 -0700
++++ Pixie.gcc34/src/ri/shading.h 2004-06-14 19:04:38.863878128 -0700
+@@ -176,10 +176,10 @@
+ int depth; // The transparency depth of the bundle
+ CShaderInstance *postShader; // The shader to execute after the raytrace
+
+- virtual int postTraceAction() = NULL; // The function to be called after the rays are traced
+- virtual void postShade(int,CRay **,float **) = NULL; // The function that's called with the shade results
+- virtual void postShade(int,CRay **) = NULL; // The function that's called with the rays that don't intersect anything
+- virtual void post() = NULL; // The function that's called after each pass
++ virtual int postTraceAction() = 0; // The function to be called after the rays are traced
++ virtual void postShade(int,CRay **,float **) = 0; // The function that's called with the shade results
++ virtual void postShade(int,CRay **) = 0; // The function that's called with the rays that don't intersect anything
++ virtual void post() = 0; // The function that's called after each pass
+ };
+
+
+@@ -201,17 +201,17 @@
+ void beginWorld(); // We're starting to specify geometry
+ void endWorld(); // We're done specifying geometry
+
+- virtual void renderFrame() = NULL; // Right after world end to force rendering of the entire frame
++ virtual void renderFrame() = 0; // Right after world end to force rendering of the entire frame
+
+ // Delayed rendering functions
+- virtual void drawObject(CObject *,const float *,const float *) = NULL;
+- virtual void drawTriangle(CObject *,const float *,const float *,const float *) = NULL;
+- virtual void drawQuad(CObject *,const float *,const float *,const float *,const float *) = NULL;
++ virtual void drawObject(CObject *,const float *,const float *) = 0;
++ virtual void drawTriangle(CObject *,const float *,const float *,const float *) = 0;
++ virtual void drawQuad(CObject *,const float *,const float *,const float *,const float *) = 0;
+
+ // Primitive creation functions
+- virtual void drawGrid(CSurface *,int,int,float,float,float,float) = NULL;
+- virtual void drawRibbon(CSurface *,int,float,float) = NULL;
+- virtual void drawPoints(CSurface *,int) = NULL;
++ virtual void drawGrid(CSurface *,int,int,float,float,float,float) = 0;
++ virtual void drawRibbon(CSurface *,int,float,float) = 0;
++ virtual void drawPoints(CSurface *,int) = 0;
+
+ // Some shading functions
+ CShadingState *currentShadingState; // The current shading state
+diff -Naur Pixie.orig/src/ri/texture.h Pixie.gcc34/src/ri/texture.h
+--- Pixie.orig/src/ri/texture.h 2004-06-13 20:00:08.000000000 -0700
++++ Pixie.gcc34/src/ri/texture.h 2004-06-14 19:04:53.404443347 -0700
+@@ -83,7 +83,7 @@
+ int fileWidth,fileHeight; // The physical size in the file
+ protected:
+ // This function must be overriden by the child class
+- virtual void lookupPixel(float *,int,int,const CTextureLookup *) = NULL; // Lookup 4 pixel values
++ virtual void lookupPixel(float *,int,int,const CTextureLookup *) = 0; // Lookup 4 pixel values
+ };
+
+
diff --git a/media-gfx/pixie/files/pixie-1.3.11-gentoo.patch b/media-gfx/pixie/files/pixie-1.3.11-gentoo.patch
new file mode 100644
index 000000000000..58a9753f6c4a
--- /dev/null
+++ b/media-gfx/pixie/files/pixie-1.3.11-gentoo.patch
@@ -0,0 +1,13 @@
+diff -Naur Pixie.Makefile/Makefile.am Pixie.gentoo/Makefile.am
+--- Pixie.Makefile/Makefile.am 2004-06-14 18:33:41.169944272 -0700
++++ Pixie.gentoo/Makefile.am 2004-06-14 18:33:00.459761090 -0700
+@@ -1,9 +1,5 @@
+ SUBDIRS = src
+
+-topdir = $(prefix)
+-
+-top_DATA = README AUTHORS LICENSE COPYING
+-
+ EXTRA_DIST = Pixie.dsw Pixie.ncb Pixie.opt DEVNOTES LICENSE makeclean.bat makeinst.bat tutorials win32inst
+
+ dist-hook:
diff --git a/media-gfx/pixie/files/pixie-1.3.11-math.patch b/media-gfx/pixie/files/pixie-1.3.11-math.patch
new file mode 100644
index 000000000000..0da001ef1f3f
--- /dev/null
+++ b/media-gfx/pixie/files/pixie-1.3.11-math.patch
@@ -0,0 +1,12 @@
+diff -Naur Pixie.orig/src/common/global.h Pixie.math/src/common/global.h
+--- Pixie.orig/src/common/global.h 2004-06-13 20:00:09.000000000 -0700
++++ Pixie.math/src/common/global.h 2004-06-14 18:32:42.702734459 -0700
+@@ -47,6 +47,8 @@
+ #ifndef GLOBAL_H
+ #define GLOBAL_H
+
++#include <math.h>
++
+ // The Pixie version
+ #define VERSION_RELEASE 1
+ #define VERSION_BETA 3
diff --git a/media-gfx/pixie/files/pixie-1.3.11-pic.patch b/media-gfx/pixie/files/pixie-1.3.11-pic.patch
new file mode 100644
index 000000000000..81ec5fcc5bc3
--- /dev/null
+++ b/media-gfx/pixie/files/pixie-1.3.11-pic.patch
@@ -0,0 +1,12 @@
+diff -Naur Pixie.orig/src/common/Makefile.am Pixie.amd64/src/common/Makefile.am
+--- Pixie.orig/src/common/Makefile.am 2004-06-13 20:00:09.000000000 -0700
++++ Pixie.amd64/src/common/Makefile.am 2004-06-14 18:59:50.884099612 -0700
+@@ -1,6 +1,8 @@
+ noinst_LIBRARIES = libcommon.a
+
+ libcommon_a_SOURCES = algebra.cpp os.cpp memoryman.cpp
++libcommon_a_CFLAGS = -fPIC -DPIC
++libcommon_a_CXXFLAGS = -fPIC -DPIC
+
+ EXTRA_DIST = *.h *.cpp *.dsp
+