summaryrefslogtreecommitdiff
path: root/community/ircii-pana
diff options
context:
space:
mode:
Diffstat (limited to 'community/ircii-pana')
-rw-r--r--community/ircii-pana/PKGBUILD60
-rw-r--r--community/ircii-pana/bitchx-1.1-64bit.diff24
-rw-r--r--community/ircii-pana/bitchx-1.1-freenode.diff31
-rw-r--r--community/ircii-pana/bitchx-1.1-gcc43.diff118
-rw-r--r--community/ircii-pana/bitchx-1.1-inline.diff12
-rw-r--r--community/ircii-pana/bitchx-1.1-latin1.diff12
-rw-r--r--community/ircii-pana/bitchx-1.1-open_missing_mode.patch22
7 files changed, 0 insertions, 279 deletions
diff --git a/community/ircii-pana/PKGBUILD b/community/ircii-pana/PKGBUILD
deleted file mode 100644
index 376391591..000000000
--- a/community/ircii-pana/PKGBUILD
+++ /dev/null
@@ -1,60 +0,0 @@
-# $Id: PKGBUILD 68217 2012-03-19 12:39:02Z lfleischer $
-# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
-# Contributor: Jaroslav Lichtblau <dragonlord@seznam.cz>
-# inspired by Gentoo: http://kambing.ui.edu/gentoo-portage/net-irc/bitchx/files/
-
-pkgname=ircii-pana
-pkgver=1.1
-pkgrel=5
-pkgdesc='A console-based IRC client - AKA BitchX.'
-arch=('i686' 'x86_64')
-url='http://www.bitchx.org'
-license=('GPL2')
-depends=('ncurses')
-makedepends=('patch')
-source=("http://downloads.sourceforge.net/bitchx/${pkgname}-${pkgver}-final.tar.gz" \
- "bitchx-${pkgver}-gcc43.diff" \
- "bitchx-${pkgver}-inline.diff" \
- "bitchx-${pkgver}-freenode.diff" \
- "bitchx-${pkgver}-latin1.diff" \
- "bitchx-${pkgver}-64bit.diff"
- "bitchx-${pkgver}-open_missing_mode.patch")
-
-md5sums=('611d2dda222f00c10140236f4c331572'
- 'e1efc5e52658e6651918e07a116bce18'
- '4824ffd55d51099dd9ee035f4b78d6bf'
- '741e91dd6267d3436c43756429342217'
- '9316105f23a67a9bb7ecfc7485dcd098'
- 'c86f7758db7f438d726fd447dd4a83b0'
- 'a80f431488bf3e0e9f0d650d23a08aba')
-
-build() {
- cd "${srcdir}/BitchX"
-
- patch -Np1 -i "${srcdir}/bitchx-${pkgver}-gcc43.diff"
- patch -Np1 -i "${srcdir}/bitchx-${pkgver}-inline.diff"
- patch -Np1 -i "${srcdir}/bitchx-${pkgver}-freenode.diff"
- patch -Np1 -i "${srcdir}/bitchx-${pkgver}-latin1.diff"
-
- # add build fix (needed when building with "-D_FORTIFY_SOURCE=2")
- patch -Np0 -i "${srcdir}/bitchx-${pkgver}-open_missing_mode.patch"
-
- [ "$CARCH" == "x86_64" ] && patch -Np1 -i "${srcdir}/bitchx-${pkgver}-64bit.diff"
-
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/BitchX"
-
- make prefix="${pkgdir}/usr" install
-
- # we don't want to link to ${pkgdir}, correcting it then
- cd "${pkgdir}/usr/bin"
- rm -f BitchX && ln -s "BitchX-${pkgver}-final" BitchX
-
- # correcting man page
- rm -rf "${pkgdir}/usr/man"
- install -Dm644 "${srcdir}/BitchX/doc/BitchX.1" "${pkgdir}/usr/share/man/man1/BitchX.1"
-}
diff --git a/community/ircii-pana/bitchx-1.1-64bit.diff b/community/ircii-pana/bitchx-1.1-64bit.diff
deleted file mode 100644
index ec3155f04..000000000
--- a/community/ircii-pana/bitchx-1.1-64bit.diff
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -ruN BitchX-orig/include/module.h BitchX/include/module.h
---- BitchX-orig/include/module.h 2003-04-11 03:09:07.000000000 +0200
-+++ BitchX/include/module.h 2008-10-04 19:28:13.000000000 +0200
-@@ -15,7 +15,7 @@
-
- #include "struct.h"
-
--typedef int (*Function_ptr)();
-+typedef long (*Function_ptr)();
-
- #ifdef WANT_DLL
- #ifdef HPUX
-diff -ruN BitchX-orig/include/modval.h BitchX/include/modval.h
---- BitchX-orig/include/modval.h 2003-04-11 03:09:07.000000000 +0200
-+++ BitchX/include/modval.h 2008-10-04 19:28:13.000000000 +0200
-@@ -318,7 +318,7 @@
- #define show_window(x) ((void) (global[SHOW_WINDOW]((Window *)x)))
- #define get_status_by_refnum(x, y) ((char *) (global[GET_STATUS_BY_REFNUM]((unsigned int)x, (unsigned int)y)))
- #define get_visible_by_refnum(x) ((int) (global[GET_VISIBLE_BY_REFNUM]((char *)x)))
--#define get_window_by_desc(x) ((Window *) (global[GET_WINDOW_BY_DESC]((unsigned int)x)))
-+#define get_window_by_desc(x) ((Window *) (global[GET_WINDOW_BY_DESC]((unsigned long)x)))
- #define get_window_by_refnum(x) ((Window *) (global[GET_WINDOW_BY_REFNUM]((unsigned int)x)))
- #define get_window_by_name(x) ((Window *) (global[GET_WINDOW_BY_NAME]((char *)x)))
- #define next_window(x, y) ((void) (global[FUNC_NEXT_WINDOW]((char)x, (char *)y)))
diff --git a/community/ircii-pana/bitchx-1.1-freenode.diff b/community/ircii-pana/bitchx-1.1-freenode.diff
deleted file mode 100644
index 1040b598f..000000000
--- a/community/ircii-pana/bitchx-1.1-freenode.diff
+++ /dev/null
@@ -1,31 +0,0 @@
-diff -ruN BitchX-orig/include/config.h BitchX/include/config.h
---- BitchX-orig/include/config.h 2003-07-26 09:00:32.000000000 +0200
-+++ BitchX/include/config.h 2008-10-04 19:25:45.000000000 +0200
-@@ -37,7 +37,26 @@
- *
- * List last updated: 03/24/01. -dialtone.
- */
--#define DEFAULT_SERVER "[efnet] "\
-+#define DEFAULT_SERVER "[freenode] "\
-+ "irc.freenode.net "\
-+ "vinge.freenode.net "\
-+ "truong.freenode.net "\
-+ "stephenson.freenode.net "\
-+ "orwell.freenode.net "\
-+ "leguin.freenode.net "\
-+ "kornbluth.freenode.net "\
-+ "jordan.freenode.net "\
-+ "herbert.freenode.net "\
-+ "goethe.freenode.net "\
-+ "gibson.freenode.net "\
-+ "gerrold.freenode.net "\
-+ "carter.freenode.net "\
-+ "carneiro.freenode.net "\
-+ "capek.freenode.net "\
-+ "calkins.freenode.net "\
-+ "brin.freenode.net "\
-+ "adams.freenode.net "\
-+ "[efnet] "\
- "irc.foxlink.net "\
- "irc.weblook2k.com "\
- "irc.wh.verio.net "\
diff --git a/community/ircii-pana/bitchx-1.1-gcc43.diff b/community/ircii-pana/bitchx-1.1-gcc43.diff
deleted file mode 100644
index b83ccfd45..000000000
--- a/community/ircii-pana/bitchx-1.1-gcc43.diff
+++ /dev/null
@@ -1,118 +0,0 @@
-diff -ruN BitchX-orig/dll/aim/toc/server.c BitchX/dll/aim/toc/server.c
---- BitchX-orig/dll/aim/toc/server.c 2003-04-11 03:09:06.000000000 +0200
-+++ BitchX/dll/aim/toc/server.c 2008-10-04 19:17:25.000000000 +0200
-@@ -7,14 +7,14 @@
- #include <unistd.h>
- #include "toc.h"
-
--static time_t lastsent = 0;
-+time_t lastsent = 0;
- time_t login_time = 0;
- int my_evil;
- int is_idle = 0;
- int lag_ms = 0;
- int time_to_idle = 600;
- int is_away = 0;
--static struct timeval lag_tv;
-+struct timeval lag_tv;
-
- void serv_add_buddy(char *name)
- {
-diff -ruN BitchX-orig/dll/aim/toc/toc.c BitchX/dll/aim/toc/toc.c
---- BitchX-orig/dll/aim/toc/toc.c 2003-04-11 03:09:06.000000000 +0200
-+++ BitchX/dll/aim/toc/toc.c 2008-10-04 19:17:25.000000000 +0200
-@@ -39,9 +39,9 @@
- #include "toc.h"
-
- /* descriptor for talking to TOC */
--static int toc_fd;
--static int seqno;
--static unsigned int peer_ver=0;
-+int toc_fd;
-+int seqno;
-+unsigned int peer_ver=0;
- int state;
- /* static int inpa=-1; */
- int permdeny = PERMIT_PERMITALL;
-diff -ruN BitchX-orig/include/modval.h BitchX/include/modval.h
---- BitchX-orig/include/modval.h 2003-04-11 03:09:07.000000000 +0200
-+++ BitchX/include/modval.h 2008-10-04 19:17:25.000000000 +0200
-@@ -650,7 +650,7 @@
- #define start_time ((time_t) *((time_t *)global[START_TIME]))
- #define idle_time() ((time_t) *((time_t *)global[IDLE_TIME]()))
-
--#define loading_global ((int) *((int *)global[LOADING_GLOBAL]))
-+#define loading_global (*((int *)global[LOADING_GLOBAL]))
- #define target_window (*((Window **)global[TARGET_WINDOW]))
- #define current_window (*((Window **)global[CURRENT_WINDOW]))
- #define invisible_list (*((Window **)global[INVISIBLE_LIST]))
-@@ -665,12 +665,12 @@
- #define dll_variable (*((IrcVariableDll **)global[DLL_VARIABLE]))
- #define dll_ctcp (*((CtcpEntryDll **)global[DLL_CTCP]))
- #define dll_window (*((WindowDll **)global[DLL_WINDOW]))
--#define window_display ((int) *((int *)global[WINDOW_DISPLAY]))
--#define status_update_flag ((int) *((int *)global[STATUS_UPDATE_FLAG]))
-+#define window_display (*((int *)global[WINDOW_DISPLAY]))
-+#define status_update_flag (*((int *)global[STATUS_UPDATE_FLAG]))
- #define tabkey_array (*((NickTab **)global[TABKEY_ARRAY]))
- #define autoreply_array (*((NickTab *)global[AUTOREPLY_ARRAY]))
--#define identd ((int) *((int *)global[IDENTD_SOCKET]))
--#define doing_notice ((int) *((int *)global[DOING_NOTICE]))
-+#define identd (*((int *)global[IDENTD_SOCKET]))
-+#define doing_notice (*((int *)global[DOING_NOTICE]))
- #define last_sent_msg_body (*((char **)global[LAST_SENT_MSG_BODY]))
- #define sent_nick (*((char **)global[SENT_NICK]))
-
-@@ -698,9 +698,9 @@
- #ifdef GUI
- #ifndef MAIN_SOURCE
- #define lastclicklinedata ((char *) *global[LASTCLICKLINEDATA])
--#define contextx ((int) *((int *)global[CONTEXTX]))
--#define contexty ((int) *((int *)global[CONTEXTY]))
--#define guiipc ((int) *((int *)global[GUIIPC]))
-+#define contextx (*((int *)global[CONTEXTX]))
-+#define contexty (*((int *)global[CONTEXTY]))
-+#define guiipc (*((int *)global[GUIIPC]))
- #endif
- #define gui_mutex_lock() ((void (*)(void)) global[GUI_MUTEX_LOCK])()
- #define gui_mutex_unlock() ((void (*)(void))global[GUI_MUTEX_UNLOCK])()
-diff -ruN BitchX-orig/source/ctcp.c BitchX/source/ctcp.c
---- BitchX-orig/source/ctcp.c 2003-05-27 09:00:22.000000000 +0200
-+++ BitchX/source/ctcp.c 2008-10-04 19:17:25.000000000 +0200
-@@ -176,7 +176,7 @@
-
- /* CDE do ops and unban logging */
-
--static char *ctcp_type[] =
-+char *ctcp_type[] =
- {
- "PRIVMSG",
- "NOTICE"
-diff -ruN BitchX-orig/source/term.c BitchX/source/term.c
---- BitchX-orig/source/term.c 2003-04-11 03:09:07.000000000 +0200
-+++ BitchX/source/term.c 2008-10-04 19:17:25.000000000 +0200
-@@ -91,8 +91,10 @@
- #define Tgetflag(x) tgetflag(x.tname)
- #endif
-
--extern char *getenv();
--extern char *tparm();
-+extern char *getenv(const char *name);
-+#ifndef TPARM_DECLARED
-+extern char *tparm(char *str, ...);
-+#endif
-
- /*
- * The old code assumed termcap. termcap is almost always present, but on
-diff -ruN BitchX-orig/source/timer.c BitchX/source/timer.c
---- BitchX-orig/source/timer.c 2003-04-11 03:09:07.000000000 +0200
-+++ BitchX/source/timer.c 2008-10-04 19:17:25.000000000 +0200
-@@ -148,7 +148,7 @@
- * This is put here on purpose -- we dont want any of the above functions
- * to have any knowledge of this struct.
- */
--static TimerList *PendingTimers;
-+TimerList *PendingTimers;
- static char *schedule_timer (TimerList *ntimer);
-
- static char *current_exec_timer = empty_string;
diff --git a/community/ircii-pana/bitchx-1.1-inline.diff b/community/ircii-pana/bitchx-1.1-inline.diff
deleted file mode 100644
index 0ad417678..000000000
--- a/community/ircii-pana/bitchx-1.1-inline.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ruN BitchX-orig/include/irc_std.h BitchX/include/irc_std.h
---- BitchX-orig/include/irc_std.h 2003-04-11 03:09:07.000000000 +0200
-+++ BitchX/include/irc_std.h 2008-10-04 19:27:29.000000000 +0200
-@@ -98,7 +98,7 @@
- # define __N
- # define __inline__
- #else
--# if (__GNUC__ >= 2) && (__GNUC_MINOR__ >= 7)
-+# if (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 7))
- # define __A(x) __attribute__ ((format (printf, x, x + 1)))
- # define __N __attribute__ ((noreturn))
- # else
diff --git a/community/ircii-pana/bitchx-1.1-latin1.diff b/community/ircii-pana/bitchx-1.1-latin1.diff
deleted file mode 100644
index 2a1532daa..000000000
--- a/community/ircii-pana/bitchx-1.1-latin1.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ruN BitchX-orig/include/config.h BitchX/include/config.h
---- BitchX-orig/include/config.h 2003-07-26 09:00:32.000000000 +0200
-+++ BitchX/include/config.h 2008-10-04 19:46:29.000000000 +0200
-@@ -330,7 +330,7 @@
- *
- * Is here there any solution to use both fonts nethertheless ?
- */
--#undef LATIN1
-+#define LATIN1
-
- /*
- * If you use LINUX and non ISO8859-1 fonts with custom screen mapping,
diff --git a/community/ircii-pana/bitchx-1.1-open_missing_mode.patch b/community/ircii-pana/bitchx-1.1-open_missing_mode.patch
deleted file mode 100644
index 3ae432979..000000000
--- a/community/ircii-pana/bitchx-1.1-open_missing_mode.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- source/commands2.c.orig 2012-03-19 13:10:06.802575691 +0100
-+++ source/commands2.c 2012-03-19 13:10:26.401100927 +0100
-@@ -2575,7 +2575,7 @@ unsigned short port = 0;
- {
- char buf[BIG_BUFFER_SIZE+1];
- sprintf(buf, socket_path, port);
-- if ((u = open(buf, O_CREAT|O_WRONLY)) != -1)
-+ if ((u = open(buf, O_CREAT|O_WRONLY, 0644)) != -1)
- {
- chmod(buf, SOCKMODE);
- chown(buf, getuid(), getgid());
---- source/dcc.c.orig 2012-03-19 13:18:43.390562273 +0100
-+++ source/dcc.c 2012-03-19 13:17:23.729859849 +0100
-@@ -2273,7 +2273,7 @@ char *nick;
- tmp = m_strdup(new->filename);
- if (!(fullname = expand_twiddle(tmp)))
- malloc_strcpy(&fullname, tmp);
-- if ((new->file = open(fullname, O_WRONLY | O_CREAT | O_BINARY)) != -1)
-+ if ((new->file = open(fullname, O_WRONLY | O_CREAT | O_BINARY, 0644)) != -1)
- {
- if ((new = dcc_create(nick, new->filename, passwd, 0, port? atol(port) : 0, DCC_REFILEREAD, (tdcc?DCC_TDCC:0) | DCC_TWOCLIENTS|DCC_OFFER, start_dcc_get)))
- new->blocksize = blocksize;