diff options
author | rillig <rillig> | 2007-10-10 10:20:32 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-10-10 10:20:32 +0000 |
commit | e514777993b9a9d7c6a40ef4eff9b5e77423c595 (patch) | |
tree | 56ce21a1bbed9b6535d69cbf0dd1651ff1896a7e /chat/licq-core/patches | |
parent | aa061efdcc0669415c2738d94a501a6fefc14602 (diff) | |
download | pkgsrc-e514777993b9a9d7c6a40ef4eff9b5e77423c595.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-core/patches')
-rw-r--r-- | chat/licq-core/patches/patch-ca | 39 | ||||
-rw-r--r-- | chat/licq-core/patches/patch-qa | 15 | ||||
-rw-r--r-- | chat/licq-core/patches/patch-qb | 12 |
3 files changed, 66 insertions, 0 deletions
diff --git a/chat/licq-core/patches/patch-ca b/chat/licq-core/patches/patch-ca new file mode 100644 index 00000000000..2556b9545e0 --- /dev/null +++ b/chat/licq-core/patches/patch-ca @@ -0,0 +1,39 @@ +$NetBSD: patch-ca,v 1.1 2007/10/10 10:20:32 rillig Exp $ + +--- plugins/console/src/window.cpp.orig Mon Dec 10 15:05:49 2001 ++++ plugins/console/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); + } + + diff --git a/chat/licq-core/patches/patch-qa b/chat/licq-core/patches/patch-qa new file mode 100644 index 00000000000..45214a8c30d --- /dev/null +++ b/chat/licq-core/patches/patch-qa @@ -0,0 +1,15 @@ +$NetBSD: patch-qa,v 1.1 2007/10/10 10:20:32 rillig Exp $ + +--- plugins/qt-gui/configure.orig 2006-04-28 10:36:59.000000000 +0000 ++++ plugins/qt-gui/configure +@@ -17307,8 +17307,8 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + save_LIBS="$LIBS" + + CXXFLAGS="$CXXFLAGS $QT_INCLUDES $X_CFLAGS" +- LDFLAGS="$X_LIBS $QT_LDFLAGS $LDFLAGS" +- LIBS="$LIB_QT $X_PRE_LIBS -lX11 -lXext $LIBS" ++ LDFLAGS="$X_LIBS $QT_LDFLAGS $LDFLAGS $PTHREAD_LDFLAGS" ++ LIBS="$LIB_QT $X_PRE_LIBS -lX11 -lXext $LIBS $PTHREAD_LIBS" + + cat >conftest.$ac_ext <<_ACEOF + #line $LINENO "configure" diff --git a/chat/licq-core/patches/patch-qb b/chat/licq-core/patches/patch-qb new file mode 100644 index 00000000000..90544c3a5fc --- /dev/null +++ b/chat/licq-core/patches/patch-qb @@ -0,0 +1,12 @@ +$NetBSD: patch-qb,v 1.1 2007/10/10 10:20:32 rillig Exp $ + +--- plugins/qt-gui/src/messagebox.h.orig 2001-11-22 20:27:00.000000000 +0000 ++++ plugins/qt-gui/src/messagebox.h 2007-10-10 10:11:48.000000000 +0000 +@@ -8,6 +8,7 @@ + + class CUserEvent; + class MsgView; ++class CMsgViewTips; + + //=====UserViewItem================================================================================ + class MsgViewItem : public QListViewItem |