Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=58d4f249fb3b661124718ca55d7e526ff724a1c9

commit 58d4f249fb3b661124718ca55d7e526ff724a1c9
Author: Miklos Vajna <[email protected]>
Date:   Fri Oct 23 01:22:04 2009 +0200

bitlbee-1.2.4-2-i686

- add patch to unbreak plugin support

diff --git a/source/network-extra/bitlbee/482.patch 
b/source/network-extra/bitlbee/482.patch
new file mode 100644
index 0000000..c9bc3bf
--- /dev/null
+++ b/source/network-extra/bitlbee/482.patch
@@ -0,0 +1,104 @@
+=== modified file 'account.c'
+--- account.c  2008-09-01 10:21:01 +0000
++++ account.c  2009-10-22 21:55:23 +0000
+@@ -26,6 +26,7 @@
+ #define BITLBEE_CORE
+ #include "bitlbee.h"
+ #include "account.h"
++#include "chat.h"
+
+ account_t *account_add( irc_t *irc, struct prpl *prpl, char *user, char *pass 
)
+ {
+
+=== modified file 'bitlbee.h'
+--- bitlbee.h  2009-10-17 15:43:12 +0000
++++ bitlbee.h  2009-10-22 21:55:23 +0000
+@@ -128,7 +128,6 @@
+ #include "commands.h"
+ #include "account.h"
+ #include "nick.h"
+-#include "chat.h"
+ #include "conf.h"
+ #include "log.h"
+ #include "ini.h"
+
+=== modified file 'chat.c'
+--- chat.c     2008-12-14 01:14:55 +0000
++++ chat.c     2009-10-22 21:55:23 +0000
+@@ -24,6 +24,7 @@
+ */
+
+ #include "bitlbee.h"
++#include "chat.h"
+
+ struct chat *chat_add( irc_t *irc, account_t *acc, char *handle, char 
*channel )
+ {
+
+=== modified file 'chat.h'
+--- chat.h     2008-09-28 11:18:19 +0000
++++ chat.h     2009-10-22 21:55:23 +0000
+@@ -23,6 +23,9 @@
+   Suite 330, Boston, MA  02111-1307  USA
+ */
+
++#ifndef _CHAT_H
++#define _CHAT_H
++
+ struct chat
+ {
+       account_t *acc;
+@@ -44,3 +47,5 @@
+ int chat_chanok( char *a );
+
+ int chat_join( irc_t *irc, struct chat *c, const char *password );
++
++#endif
+
+=== modified file 'irc_commands.c'
+--- irc_commands.c     2009-10-04 19:00:53 +0000
++++ irc_commands.c     2009-10-22 21:55:23 +0000
+@@ -26,6 +26,7 @@
+ #define BITLBEE_CORE
+ #include "bitlbee.h"
+ #include "ipc.h"
++#include "chat.h"
+
+ static void irc_cmd_pass( irc_t *irc, char **cmd )
+ {
+
+=== modified file 'protocols/nogaim.h'
+--- protocols/nogaim.h 2009-10-10 13:39:51 +0000
++++ protocols/nogaim.h 2009-10-22 21:55:23 +0000
+@@ -43,6 +43,7 @@
+ #include "proxy.h"
+ #include "query.h"
+ #include "md5.h"
++#include "chat.h"
+
+ #define BUDDY_ALIAS_MAXLEN 388   /* because MSN names can be 387 characters */
+
+
+=== modified file 'root_commands.c'
+--- root_commands.c    2009-06-24 21:48:44 +0000
++++ root_commands.c    2009-10-22 21:55:23 +0000
+@@ -28,6 +28,7 @@
+ #include "crypting.h"
+ #include "bitlbee.h"
+ #include "help.h"
++#include "chat.h"
+
+ #include <string.h>
+
+
+=== modified file 'storage_xml.c'
+--- storage_xml.c      2008-09-07 14:34:50 +0000
++++ storage_xml.c      2009-10-22 21:55:23 +0000
+@@ -28,6 +28,7 @@
+ #include "base64.h"
+ #include "arc.h"
+ #include "md5.h"
++#include "chat.h"
+
+ #if GLIB_CHECK_VERSION(2,8,0)
+ #include <glib/gstdio.h>
+
diff --git a/source/network-extra/bitlbee/FrugalBuild 
b/source/network-extra/bitlbee/FrugalBuild
index 6004dd6..09f88cb 100644
--- a/source/network-extra/bitlbee/FrugalBuild
+++ b/source/network-extra/bitlbee/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=bitlbee
pkgver=1.2.4
-pkgrel=1
+pkgrel=2
pkgdesc="An IRC to other chat networks gateway."
url="http://www.bitlbee.org/main.php/news.html";
# inetd: othervise it can't serve on port 6667
@@ -14,13 +14,15 @@ backup=(etc/biltbee/{bitlbee.conf,motd.txt})
groups=('network-extra')
archs=('i686' 'x86_64' 'ppc')
up2date="lynx -dump http://www.bitlbee.org/ |grep Stable |sed 's/.*: 
\(.*\)/\1/'"
-source=(http://get.bitlbee.org/src/$pkgname-$pkgver.tar.gz)
-sha1sums=('fa1e8a1f278cf566be2af4849e9c70a830153dd7')
+source=(http://get.bitlbee.org/src/$pkgname-$pkgver.tar.gz 482.patch)
+sha1sums=('fa1e8a1f278cf566be2af4849e9c70a830153dd7' \
+          'c0f1b97d86adb61dd0a65ad6aee0921771514032')
options=('scriptlet')

# TODO: rc.bitlbee

build() {
+       Fpatchall
Fmake --etcdir=/etc
Fmkdir /var/lib/bitlbee
make DESTDIR=$Fdestdir install-etc install-dev || Fdie
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to