- Remove provision for FreeBSD 4.X

- Typo fix
This commit is contained in:
Pav Lucistnik 2007-07-02 18:07:36 +00:00
parent c3321fd360
commit 00d626ac1a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=194702
2 changed files with 1 additions and 17 deletions

View file

@ -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' \

View file

@ -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;