1
0
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:
Sergei Kolobov 2005-10-18 17:29:19 +00:00
parent bc88d0ece8
commit b34db0c847
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=145779
2 changed files with 10 additions and 0 deletions

View File

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

View 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)
{