summaryrefslogtreecommitdiff
path: root/chat/licq-gui-console
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-10-10 10:20:32 +0000
committerrillig <rillig@pkgsrc.org>2007-10-10 10:20:32 +0000
commit12d13894b047ae9471189c61d2666cde4537b887 (patch)
tree56ce21a1bbed9b6535d69cbf0dd1651ff1896a7e /chat/licq-gui-console
parent1e51bf71dccb02edf13d4b98bb239ebbd91f7ebf (diff)
downloadpkgsrc-12d13894b047ae9471189c61d2666cde4537b887.tar.gz
Since all the licq packages use the same distfile and need the same
patches, it is better to provide them once for all packages. Fixed building the gui plugins.
Diffstat (limited to 'chat/licq-gui-console')
-rw-r--r--chat/licq-gui-console/Makefile7
-rw-r--r--chat/licq-gui-console/distinfo6
-rw-r--r--chat/licq-gui-console/patches/patch-aa39
3 files changed, 5 insertions, 47 deletions
diff --git a/chat/licq-gui-console/Makefile b/chat/licq-gui-console/Makefile
index a09d240c399..ce3b3684618 100644
--- a/chat/licq-gui-console/Makefile
+++ b/chat/licq-gui-console/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/07/07 15:49:31 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2007/10/10 10:20:32 rillig Exp $
#
DISTNAME= licq-1.2.6
@@ -14,11 +14,14 @@ COMMENT= Curses GUI for licq
DEPENDS+= licq-core-[0-9]*:../../chat/licq-core
+DISTINFO_FILE= ${.CURDIR}/../../chat/licq-core/distinfo
+PATCHDIR= ${.CURDIR}/../../chat/licq-core/patches
+
GNU_CONFIGURE= YES
USE_LANGUAGES= c c++
USE_LIBTOOL= YES
SHLIBTOOL_OVERRIDE= # empty
-WRKSRC= ${WRKDIR:=/${DISTNAME}/plugins/console}
+CONFIGURE_DIRS= plugins/console
INCOMPAT_CURSES= NetBSD-1.4*-* NetBSD-1.5*-* NetBSD-1.6[-_.]*-* NetBSD-1.6[A-Q]-*
diff --git a/chat/licq-gui-console/distinfo b/chat/licq-gui-console/distinfo
deleted file mode 100644
index 60fab7e26cd..00000000000
--- a/chat/licq-gui-console/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 15:59:12 agc Exp $
-
-SHA1 (licq-1.2.6.tar.bz2) = fef2d6d8c9a368313335f3ac0e86128aa24133ef
-RMD160 (licq-1.2.6.tar.bz2) = fcb2e19bf7d30c1824392a9be3ea1619072e4ce5
-Size (licq-1.2.6.tar.bz2) = 3282918 bytes
-SHA1 (patch-aa) = 30f49170155627af831a81ae9472a5946c60b962
diff --git a/chat/licq-gui-console/patches/patch-aa b/chat/licq-gui-console/patches/patch-aa
deleted file mode 100644
index 7bb0a8fb6ad..00000000000
--- a/chat/licq-gui-console/patches/patch-aa
+++ /dev/null
@@ -1,39 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2004/04/28 04:54:50 minskim Exp $
-
---- src/window.cpp.orig Mon Dec 10 15:05:49 2001
-+++ src/window.cpp
-@@ -147,7 +147,10 @@ void CWindow::wprintf(char *formatIn, ..
- va_list argp;
- char formatOut[1024], out[1024];
- unsigned short i = 0, j = 0;
-- attr_t save = win->_attrs;
-+ attr_t save;
-+ short dummy;
-+
-+ wattr_get(win, &save, &dummy, NULL);
-
- va_start(argp, formatIn);
-
-@@ -163,12 +166,7 @@ void CWindow::wprintf(char *formatIn, ..
- {
- case 'C': // set color
- i++;
--//#if NCURSES_VERSION_PATCH < 990213
-- win->_attrs &= ~A_COLOR;
-- win->_attrs |= COLOR_PAIR(va_arg(argp, int));
--//#else
--// wcolor_set(win, va_arg(argp, short), NULL);
--//#endif
-+ wattr_set(win, save & ~A_COLOR, va_arg(argp, int), NULL);
- while((formatIn[i]) && (formatIn[i] != '%') && j < 1022) formatOut[j++] = formatIn[i++];
- formatOut[j] = '\0';
- *this << formatOut;
-@@ -213,7 +211,7 @@ void CWindow::wprintf(char *formatIn, ..
- }
- va_end(argp);
-
-- win->_attrs = save;
-+ wattr_set(win, save, dummy, NULL);
- }
-
-