aboutsummaryrefslogtreecommitdiff
path: root/graphics/libvisual
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libvisual')
-rw-r--r--graphics/libvisual/Makefile6
-rw-r--r--graphics/libvisual/files/extra-patch-libvisual_lv_cpu.c12
2 files changed, 1 insertions, 17 deletions
diff --git a/graphics/libvisual/Makefile b/graphics/libvisual/Makefile
index c084542506ea..ef44696a15cd 100644
--- a/graphics/libvisual/Makefile
+++ b/graphics/libvisual/Makefile
@@ -6,7 +6,7 @@
#
# WARNING: when updating this port check if the ports that use libvisual
-# can work with it. Backwards compatiblity is known to be broken in the past.
+# can work with it. Backwards compatibility is known to be broken in the past.
PORTNAME= libvisual
PORTVERSION= 0.2.0
@@ -28,10 +28,6 @@ USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500001
-EXTRA_PATCHES= ${PATCHDIR}/extra-patch-libvisual_lv_cpu.c
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|-Wno-unused-variable||g' \
-e 's|-O3|${CFLAGS}|g' \
diff --git a/graphics/libvisual/files/extra-patch-libvisual_lv_cpu.c b/graphics/libvisual/files/extra-patch-libvisual_lv_cpu.c
deleted file mode 100644
index 8e6d1cd03574..000000000000
--- a/graphics/libvisual/files/extra-patch-libvisual_lv_cpu.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- 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;
-