You need to modify specific files mentioned in this patch. read this - http://en.wikipedia.org/wiki/Diff#Unified_format
Just read .patch file and do step-by-step editing relevant lines of the corresponding files. i.e. diff -rbu sqlbox-standalone/gw/sqlbox.c sqlbox-standalone-ajg-1.0/gw/sqlbox.c --- sqlbox-standalone/gw/sqlbox.c 2007-10-05 13:54:02.000000000 -0300 +++ sqlbox-standalone-ajg-1.0/gw/sqlbox.c 2008-02-27 19:35:23.000000000 -0200 @@ -86,6 +86,7 @@ static Octstr *box_allow_ip; static Octstr *box_deny_ip; static Octstr *global_sender; +static long limit_per_cycle; #ifndef HAVE_MYSQL #ifndef HAVE_PGSQL means you need to open gw/sqlbox.c, find lines around 86 and add static long limit_per_cycle; 2013/1/2 michael osakede <ire...@yahoo.com>: > Hi, > > What i need is a step by step to apply this patch. > What command do i use, from which directory? > > A step by step guide for CentOS will be nice > > Michael > > ________________________________ > From: spameden <spame...@gmail.com> > To: michael osakede <ire...@yahoo.com> > Cc: "users@kannel.org" <users@kannel.org>; Stipe Tolj <st...@kannel.org> > Sent: Wednesday, January 2, 2013 4:22 PM > Subject: Re: SQLBOX + sqlbox multi-record queries > > I implemented this based on the link you gave, it's very easy to patch > against current SVN revision, if you will had problems let me know, > I'll post my patch. > > 2013/1/2 michael osakede <ire...@yahoo.com>: >> Hi, >> >> Right now sqlbox processes one row at a time. >> >> Can anyone help with a patch or code replacement for sqlbox_mysql.c that >> can >> help me push messages are 10-1000 messages per query? >> >> i saw this link >> http://www.magicom-bcn.net/kannel/sqlbox-standalone-multi-20080227.patch >> but no luck implementing this. >> >> Any help welcomed. >> >> Michael > >