aboutsummaryrefslogtreecommitdiff
path: root/graphics/wildmagic
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2010-03-09 18:42:11 +0000
committerEd Schouten <ed@FreeBSD.org>2010-03-09 18:42:11 +0000
commitbe087cc713e3e1ba637451814cfa0d7411043a07 (patch)
tree7bb5c513c45fed14a4a3c1e1672286a9ccb5e318 /graphics/wildmagic
parent05d34e42eeadcd1ee894203f3d0516a32797df76 (diff)
downloadports-be087cc713e3e1ba637451814cfa0d7411043a07.tar.gz
ports-be087cc713e3e1ba637451814cfa0d7411043a07.zip
Notes
Diffstat (limited to 'graphics/wildmagic')
-rw-r--r--graphics/wildmagic/files/patch-LibFoundation_System_Wm4System.cpp20
-rw-r--r--graphics/wildmagic/files/patch-SampleFoundation_makeapp.wm42
-rw-r--r--graphics/wildmagic/files/patch-SampleGraphics_makeapp.wm42
-rw-r--r--graphics/wildmagic/files/patch-SampleImagics_makeapp.wm42
-rw-r--r--graphics/wildmagic/files/patch-SamplePhysics_makeapp.wm42
5 files changed, 24 insertions, 4 deletions
diff --git a/graphics/wildmagic/files/patch-LibFoundation_System_Wm4System.cpp b/graphics/wildmagic/files/patch-LibFoundation_System_Wm4System.cpp
new file mode 100644
index 000000000000..b13a901bf249
--- /dev/null
+++ b/graphics/wildmagic/files/patch-LibFoundation_System_Wm4System.cpp
@@ -0,0 +1,20 @@
+--- LibFoundation/System/Wm4System.cpp
++++ LibFoundation/System/Wm4System.cpp
+@@ -21,7 +21,7 @@
+ #include <sys/stat.h>
+
+ // support for GetTime
+-#ifdef __APPLE__
++#if defined(__APPLE__) || defined(__FreeBSD__)
+ #include <sys/time.h>
+ static timeval gs_kInitial;
+ static bool gs_bInitializedTime = false;
+@@ -102,7 +102,7 @@
+ //----------------------------------------------------------------------------
+ double System::GetTime ()
+ {
+-#ifdef __APPLE__
++#if defined(__APPLE__) || defined(__FreeBSD__)
+ if (!gs_bInitializedTime)
+ {
+ gs_bInitializedTime = true;
diff --git a/graphics/wildmagic/files/patch-SampleFoundation_makeapp.wm4 b/graphics/wildmagic/files/patch-SampleFoundation_makeapp.wm4
index 7ebe32cf854b..20b227bbae10 100644
--- a/graphics/wildmagic/files/patch-SampleFoundation_makeapp.wm4
+++ b/graphics/wildmagic/files/patch-SampleFoundation_makeapp.wm4
@@ -5,7 +5,7 @@
CORELIBS := -lWm4$(GRF)Application -lWm4$(GRF)Renderer -lWm4Graphics \
-lWm4Foundation
-
-+LIBS := $(CORELIBS) $(XLIBS) $(GLIBS) -lcompat -lm
++LIBS := $(CORELIBS) $(XLIBS) $(GLIBS) -lm
+
ifeq (Soft,$(findstring Soft,$(GRF)))
CFLAGS += -DWM4_HAS_SOFT_SHADER
diff --git a/graphics/wildmagic/files/patch-SampleGraphics_makeapp.wm4 b/graphics/wildmagic/files/patch-SampleGraphics_makeapp.wm4
index 498ddcaceaab..e613b0bfd337 100644
--- a/graphics/wildmagic/files/patch-SampleGraphics_makeapp.wm4
+++ b/graphics/wildmagic/files/patch-SampleGraphics_makeapp.wm4
@@ -5,7 +5,7 @@
CORELIBS := -lWm4$(GRF)Application -lWm4$(GRF)Renderer -lWm4Graphics \
-lWm4Foundation
-
-+LIBS := $(CORELIBS) $(XLIBS) $(GLIBS) -lcompat -lm
++LIBS := $(CORELIBS) $(XLIBS) $(GLIBS) -lm
+
ifeq (Soft,$(findstring Soft,$(GRF)))
CFLAGS += -DWM4_HAS_SOFT_SHADER
diff --git a/graphics/wildmagic/files/patch-SampleImagics_makeapp.wm4 b/graphics/wildmagic/files/patch-SampleImagics_makeapp.wm4
index 3a815d2e0f11..ef260a47742e 100644
--- a/graphics/wildmagic/files/patch-SampleImagics_makeapp.wm4
+++ b/graphics/wildmagic/files/patch-SampleImagics_makeapp.wm4
@@ -5,7 +5,7 @@
CORELIBS := -lWm4$(GRF)Application -lWm4$(GRF)Renderer -lWm4Graphics \
-lWm4Imagics -lWm4Foundation
-
-+LIBS := $(CORELIBS) $(XLIBS) $(GLIBS) -lcompat -lm
++LIBS := $(CORELIBS) $(XLIBS) $(GLIBS) -lm
+
ifeq (Soft,$(findstring Soft,$(GRF)))
CFLAGS += -DWM4_HAS_SOFT_SHADER
diff --git a/graphics/wildmagic/files/patch-SamplePhysics_makeapp.wm4 b/graphics/wildmagic/files/patch-SamplePhysics_makeapp.wm4
index 75d046337fde..d44dbd099f1e 100644
--- a/graphics/wildmagic/files/patch-SamplePhysics_makeapp.wm4
+++ b/graphics/wildmagic/files/patch-SamplePhysics_makeapp.wm4
@@ -5,7 +5,7 @@
CORELIBS := -lWm4$(GRF)Application -lWm4$(GRF)Renderer -lWm4Graphics \
-lWm4Imagics -lWm4Physics -lWm4Foundation
-
-+LIBS := $(CORELIBS) $(XLIBS) $(GLIBS) -lcompat -lm
++LIBS := $(CORELIBS) $(XLIBS) $(GLIBS) -lm
+
ifeq (Soft,$(findstring Soft,$(GRF)))
CFLAGS += -DWM4_HAS_SOFT_SHADER