- Fix compiling with oncoming gcc41.

Reported by:	pointyhat run
Approved by:	sem (mentor)
This commit is contained in:
Stanislav Sedov 2006-10-01 20:05:53 +00:00
parent 65f007bbf9
commit dcd18738cc
5 changed files with 27 additions and 3 deletions

View file

@ -13,7 +13,7 @@ CATEGORIES= audio
MASTER_SITES= ftp://ftp.dyne.org/muse/releases/ \
http://www.ljudmila.org/~jaromil/muse/releases/
MAINTAINER= ssedov@mbsd.msk.ru
MAINTAINER= stas@FreeBSD.org
COMMENT= Multiple Streaming Engine
LIB_DEPENDS= vorbis.3:${PORTSDIR}/audio/libvorbis \

View file

@ -0,0 +1,11 @@
--- src/linklist.h.orig Sun Oct 1 18:28:22 2006
+++ src/linklist.h Sun Oct 1 18:28:52 2006
@@ -44,7 +44,7 @@
bool movedown(int pos);
bool moveto(int num, int pos);
Entry *pick(int pos);
- Entry *Linklist::selected();
+ Entry *selected();
Entry *operator[](int pos) { return pick(pos); };

View file

@ -14,13 +14,15 @@ MASTER_SITES= ftp://netlib.bell-labs.com/netlib/blas/ \
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= ssedov@mbsd.msk.ru
MAINTAINER= stas@FreeBSD.org
COMMENT= Basic Linear Algebra, level 1, 2, and 3
CONFLICTS= elmer-mathlibs-1*
USE_LDCONFIG= yes
NO_WRKSUBDIR= yes
USE_GCC= 2.7+
WITH_FORTRAN= yes
PLIST_FILES= lib/libblas.a lib/libblas.so lib/libblas.so.1

View file

@ -10,7 +10,7 @@ PORTVERSION= 1.0
CATEGORIES= security
MASTER_SITES= http://mbsd.msk.ru/dist/
MAINTAINER= ssedov@mbsd.msk.ru
MAINTAINER= stas@FreeBSD.org
COMMENT= Anti-bruteforce PAM module
USE_BZIP2= yes

View file

@ -0,0 +1,11 @@
--- common/subr.c.orig Sun Oct 1 18:13:16 2006
+++ common/subr.c Sun Oct 1 18:14:09 2006
@@ -322,7 +322,7 @@
const char *db;
char *host;
{
- datum key, data;
+ datum key, data = {NULL, 0};
struct myaddrinfo *res0, *res;
static hostrule_t hstent;
int found = 0;