mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
- Fix build with gcc 4.2
PR: 117203 Submitted by: Naram Qashat <cyberbotx@cyberbotx.com>
This commit is contained in:
parent
2d8a3c6d08
commit
130e7ca421
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=201607
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= lopster
|
||||
PORTVERSION= 1.2.2
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= net-p2p
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
||||
http://lopster.sourceforge.net/download/
|
||||
@ -25,10 +25,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 700042
|
||||
BROKEN= Broken with gcc 4.2
|
||||
.endif
|
||||
|
||||
.if exists(${LOCALBASE}/lib/libogg.so.4)
|
||||
WITH_OGG= yes
|
||||
.endif
|
||||
|
12
net-p2p/lopster/files/patch-src-log.c
Normal file
12
net-p2p/lopster/files/patch-src-log.c
Normal file
@ -0,0 +1,12 @@
|
||||
--- src/log.c.orig Mon Oct 15 07:33:46 2007
|
||||
+++ src/log.c Mon Oct 15 07:33:46 2007
|
||||
@@ -148,7 +148,8 @@
|
||||
g_free(log);
|
||||
}
|
||||
g_list_free(net?net->logs:other_logs);
|
||||
- net?net->logs:other_logs = NULL;
|
||||
+ if (net) net->logs = NULL;
|
||||
+ else other_logs = NULL;
|
||||
}
|
||||
|
||||
void log_file_destroy(log_file_t* lf) {
|
Loading…
Reference in New Issue
Block a user