mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Remove provision for FreeBSD 4.X
- Typo fix
This commit is contained in:
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
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# WARNING: when updating this port check if the ports that use libvisual
|
# 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
|
PORTNAME= libvisual
|
||||||
PORTVERSION= 0.2.0
|
PORTVERSION= 0.2.0
|
||||||
|
@ -28,10 +28,6 @@ USE_LDCONFIG= yes
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OSVERSION} < 500001
|
|
||||||
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-libvisual_lv_cpu.c
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|-Wno-unused-variable||g' \
|
@${REINPLACE_CMD} -e 's|-Wno-unused-variable||g' \
|
||||||
-e 's|-O3|${CFLAGS}|g' \
|
-e 's|-O3|${CFLAGS}|g' \
|
||||||
|
|
|
@ -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;
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue