mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
- Attempt to fix the build on 4.x:
- add patch for <time.h> that should be <sys/time.h> - newer versions of bglibs use some C9X/C99 macros (e.g. va_copy) which are only available in GCC 3.x. This should be a NOOP on 5.x but seems to fix the breakage under 4.x, although at the expense of the heavy GCC dependency Submitted by: Dale Woolridge (in private e-mail)
This commit is contained in:
parent
bc88d0ece8
commit
b34db0c847
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=145779
@ -18,6 +18,7 @@ NOT_FOR_ARCHS= alpha
|
||||
|
||||
USE_GPG= yes
|
||||
SIG_SUFFIX= .sig
|
||||
USE_GCC= 3.2+
|
||||
LDFLAGS?= -s
|
||||
BGLIBS_INC= ${PREFIX}/include/${PORTNAME}
|
||||
BGLIBS_LIB= ${PREFIX}/lib/${PORTNAME}
|
||||
|
9
devel/bglibs/files/patch-clockgettime
Normal file
9
devel/bglibs/files/patch-clockgettime
Normal file
@ -0,0 +1,9 @@
|
||||
--- sys/tryclockgettime.c Tue Aug 23 14:23:04 2005
|
||||
+++ sys/tryclockgettime.c Sat Sep 24 20:08:17 2005
|
||||
@@ -1,5 +1,5 @@
|
||||
/* $Id: patch-bglibs-1.027-dw-clockgettime.1-freebsd,v 1.1 2005/09/25 00:11:22 root Exp $ */
|
||||
-#include <time.h>
|
||||
+#include <sys/time.h>
|
||||
|
||||
int main(void)
|
||||
{
|
Loading…
Reference in New Issue
Block a user