summaryrefslogtreecommitdiffstats
path: root/graphics/libvisual04/files
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2005-03-20 19:35:32 +0000
committerkwm <kwm@FreeBSD.org>2005-03-20 19:35:32 +0000
commite2b87c62bca6e389135f623c32ec69741aa58f2f (patch)
treec3aefc627400913958d50c7e78ac3e32c0475212 /graphics/libvisual04/files
parente4fa1de89f72b244bc9741a8ba3dee8ba86f6605 (diff)
downloadFreeBSD-ports-e2b87c62bca6e389135f623c32ec69741aa58f2f.zip
FreeBSD-ports-e2b87c62bca6e389135f623c32ec69741aa58f2f.tar.gz
Update to version 0.2.0.
Diffstat (limited to 'graphics/libvisual04/files')
-rw-r--r--graphics/libvisual04/files/extra-patch-libvisual_lv_cpu.c12
-rw-r--r--graphics/libvisual04/files/patch-libvisual_lv_mem.h11
2 files changed, 12 insertions, 11 deletions
diff --git a/graphics/libvisual04/files/extra-patch-libvisual_lv_cpu.c b/graphics/libvisual04/files/extra-patch-libvisual_lv_cpu.c
new file mode 100644
index 0000000..8e6d1cd
--- /dev/null
+++ b/graphics/libvisual04/files/extra-patch-libvisual_lv_cpu.c
@@ -0,0 +1,12 @@
+--- libvisual/lv_cpu.c.orig Sun Mar 20 20:17:51 2005
++++ libvisual/lv_cpu.c Sun Mar 20 20:18:19 2005
+@@ -65,6 +65,9 @@
+ #include "lv_log.h"
+ #include "lv_cpu.h"
+
++/* stolen from 5.3-stable's unistd.h */
++#define _SC_NPROCESSORS_ONLN 58
++
+ static VisCPU _lv_cpu_caps;
+ static int _lv_cpu_initialized = FALSE;
+
diff --git a/graphics/libvisual04/files/patch-libvisual_lv_mem.h b/graphics/libvisual04/files/patch-libvisual_lv_mem.h
deleted file mode 100644
index ae93d97..0000000
--- a/graphics/libvisual04/files/patch-libvisual_lv_mem.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- libvisual/lv_mem.h.orig Mon Sep 6 17:10:52 2004
-+++ libvisual/lv_mem.h Sat Oct 23 16:34:40 2004
-@@ -7,7 +7,7 @@
- extern "C" {
- #endif /* __cplusplus */
-
--#if defined(__GNUC__) && !defined(VISUAL_OS_WIN32)
-+#if defined(__GNUC__) && !defined(VISUAL_OS_WIN32) && !defined(__FreeBSD__)
- void *visual_mem_malloc0 (visual_size_t nbytes) __attribute_malloc__;
- #else
- void *visual_mem_malloc0 (visual_size_t nbytes);
OpenPOWER on IntegriCloud