1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Fix a bug caused by passing insufficient arguments to strncmp(). This

was non-fatal for the compiler in -stable because strncmp() is not
prototyped, but it fails on -current.  Bump PORTREVISION.
This commit is contained in:
Kris Kennaway 2002-08-23 06:29:43 +00:00
parent 198442c6e2
commit 9a10f23837
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64865
2 changed files with 12 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= party
PORTVERSION= 2.12
PORTREVISION= 1
CATEGORIES= irc
MASTER_SITES= http://www.vocito.com/downloads/software/party/ \
ftp://ftp.vocito.com/pub/vocito.com/software/party/

11
irc/party/files/patch-ac Normal file
View File

@ -0,0 +1,11 @@
--- proc.c.orig Thu Aug 22 23:22:19 2002
+++ proc.c Thu Aug 22 23:22:31 2002
@@ -50,7 +50,7 @@
/* If a filter is running, and it is different, kill it */
if (out_fd != 1)
{
- if (!strncmp(ofilter,opt[OPT_FILTER].str))
+ if (!strncmp(ofilter,opt[OPT_FILTER].str, BFSZ))
return(0);
else
stop_filter();