mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
audio/gogglesmm: Fix build with FOX 1.7.81
This commit is contained in:
parent
9064e90f2b
commit
015d36da88
@ -1,6 +1,6 @@
|
||||
PORTNAME= gogglesmm
|
||||
PORTVERSION= 1.2.2
|
||||
PORTREVISION= 9
|
||||
PORTREVISION= 10
|
||||
CATEGORIES= audio
|
||||
|
||||
MAINTAINER= jhale@FreeBSD.org
|
||||
|
@ -1,18 +1,21 @@
|
||||
Fix build with FOX 1.7.80
|
||||
Fix build with FOX >= 1.7.80
|
||||
|
||||
--- gap/fox.h.orig 2020-12-27 21:40:54 UTC
|
||||
+++ gap/fox.h
|
||||
@@ -35,6 +35,9 @@
|
||||
@@ -35,6 +35,12 @@
|
||||
#define FXVERSION(major,minor,release) ((release)+(minor*1000)+(major*100000))
|
||||
|
||||
#include <fxdefs.h>
|
||||
+#if FOXVERSION >= FXVERSION(1, 7, 80)
|
||||
+#include <fxchar.h>
|
||||
+#endif
|
||||
+#if FOXVERSION >= FXVERSION(1, 7, 81)
|
||||
+#include <fxmath.h>
|
||||
+#endif
|
||||
#include <fxendian.h>
|
||||
#include <fxascii.h>
|
||||
#include <fxunicode.h>
|
||||
@@ -121,6 +124,25 @@ constexpr FXTime operator"" _ms(unsigned long long int
|
||||
@@ -121,6 +127,25 @@ constexpr FXTime operator"" _ms(unsigned long long int
|
||||
{
|
||||
return value * NANOSECONDS_PER_MILLISECOND;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user