1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Fix building with GCC 4.1 [1].

- Replace INSTALLS_SHLIB with USE_LDCONFIG [2].

PR:		ports/104648
Submitted by:	Antoine Brodin <antoine.brodin@laposte.net> (maintainer) [1]
Reworked by:	alepulver (myself) [2]
This commit is contained in:
Alejandro Pulver 2006-11-05 17:10:50 +00:00
parent 629d487e72
commit ee6fb9a5e2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=176512
2 changed files with 25 additions and 1 deletions

View File

@ -20,7 +20,7 @@ COMMENT= A flexible drawing library
LIB_DEPENDS= gii.1:${PORTSDIR}/devel/libgii
USE_BZIP2= yes
INSTALLS_SHLIB= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}

View File

@ -0,0 +1,24 @@
--- display/vgl/visual.c 2005/07/30 11:38:52 1.9
+++ display/vgl/visual.c 2006/10/04 17:42:04 1.9.2.1
@@ -1,4 +1,4 @@
-/* $Id: visual.c,v 1.9 2005/07/30 11:38:52 cegger Exp $
+/* $Id: visual.c,v 1.9.2.1 2006/10/04 17:42:04 cegger Exp $
******************************************************************************
FreeBSD vgl(3) target: initialization
@@ -210,13 +210,12 @@
error = GGI_ENOMEM;
goto error;
}
- VGL_PRIV(vis) = malloc(sizeof(struct vgl_priv));
- if (VGL_PRIV(vis) == NULL) {
+ LIBGGI_PRIVATE(vis) = priv = malloc(sizeof(struct vgl_priv));
+ if (priv == NULL) {
do_cleanup(vis);
error = GGI_ENOMEM;
goto error;
}
- priv = VGL_PRIV(vis);
memset(priv, 0, sizeof(*priv));
memset(priv->vgl_palred, 0, sizeof(priv->vgl_palred));