diff --git a/www/plugger/Makefile b/www/plugger/Makefile index 0a989b355e37..984710e4b822 100644 --- a/www/plugger/Makefile +++ b/www/plugger/Makefile @@ -7,6 +7,7 @@ PORTNAME= plugger PORTVERSION= 5.0 +PORTREVISION= 1 CATEGORIES= www audio graphics multimedia MASTER_SITES= http://fredrik.hubbe.net/plugger/ diff --git a/www/plugger/files/patch-plugger.c b/www/plugger/files/patch-plugger.c index ee9a2bb33344..a50ecd7b60dd 100644 --- a/www/plugger/files/patch-plugger.c +++ b/www/plugger/files/patch-plugger.c @@ -1,44 +1,11 @@ ---- plugger.c.orig Sun Mar 24 20:58:49 2002 -+++ plugger.c Sun Mar 24 21:06:15 2002 -@@ -437,33 +437,31 @@ - D("find_helper_file '%s'\n",basename); - if((tmp=getenv("HOME")) && strlen(tmp)<8000) - { -- sprintf(fname,"%s/.netscape/%s",tmp,basename); -+ snprintf(fname,strlen(tmp)+11+strlen(basename)+1,"%s/.netscape/%s",tmp,basename); - if(cb(fname,data)) return 1; -- sprintf(fname,"%s/.mozilla/%s",tmp,basename); -+ snprintf(fname,strlen(tmp)+10+strlen(basename)+1,"%s/.mozilla/%s",tmp,basename); - if(cb(fname,data)) return 1; -- sprintf(fname,"%s/.opera/%s",tmp,basename); -+ snprintf(fname,strlen(tmp)+8+strlen(basename)+1,"%s/.opera/%s",tmp,basename); - if(cb(fname,data)) return 1; - } +--- plugger.c.old Wed Feb 11 16:15:56 2004 ++++ plugger.c Wed Feb 11 16:17:04 2004 +@@ -189,7 +189,7 @@ + int signum; + alarm(0); + if(!(THIS->flags & H_DAEMON)) +- setpgrp(); ++ setpgrp(0, 0); - if((tmp=getenv("MOZILLA_HOME")) && strlen(tmp)<8000) - { -- sprintf(fname,"%s/%s",tmp,basename); -+ snprintf(fname,strlen(tmp)+1+strlen(basename)+1,"%s/%s",tmp,basename); - if(cb(fname, data)) return 1; - } + for(signum=0;signum