summaryrefslogtreecommitdiff
path: root/chat/kadu/patches
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2005-04-21 08:56:21 +0000
committeradam <adam@pkgsrc.org>2005-04-21 08:56:21 +0000
commit9159155c898086e0cce223aca1cf24ef4cde5ac7 (patch)
treea1a8c4111532423a485f76278faa926808c8deab /chat/kadu/patches
parent83a85227658e5c48b1b42439982c79c685783000 (diff)
downloadpkgsrc-9159155c898086e0cce223aca1cf24ef4cde5ac7.tar.gz
Changes 0.4.0:
* Easily configured notifications * New icon set * Integration with web browsers * Wizard * Picture transfer * Better voice support * New modules
Diffstat (limited to 'chat/kadu/patches')
-rw-r--r--chat/kadu/patches/patch-aa10
-rw-r--r--chat/kadu/patches/patch-ab39
2 files changed, 32 insertions, 17 deletions
diff --git a/chat/kadu/patches/patch-aa b/chat/kadu/patches/patch-aa
index e2fe51703d9..e84ae425c3b 100644
--- a/chat/kadu/patches/patch-aa
+++ b/chat/kadu/patches/patch-aa
@@ -1,13 +1,13 @@
-$NetBSD: patch-aa,v 1.2 2004/07/09 10:46:23 adam Exp $
+$NetBSD: patch-aa,v 1.3 2005/04/21 08:56:21 adam Exp $
---- modules/voice/libgsm/Makefile.orig 2003-10-15 14:09:01.000000000 +0000
+--- modules/voice/libgsm/Makefile.orig 2005-03-08 17:42:25.000000000 +0000
+++ modules/voice/libgsm/Makefile
@@ -44,7 +44,7 @@ WAV49 = -DWAV49
# CCFLAGS = -c -O
- CC = gcc -ansi -pedantic
--CCFLAGS = -c -O2 -DNeedFunctionPrototypes=1
-+CCFLAGS = -c -DNeedFunctionPrototypes=1
+ CC := $(CC) -ansi -pedantic
+-CCFLAGS = -c -O2 -DNeedFunctionPrototypes=1 -fPIC
++CCFLAGS = -c -DNeedFunctionPrototypes=1 -fPIC
LD = $(CC)
diff --git a/chat/kadu/patches/patch-ab b/chat/kadu/patches/patch-ab
index 7f76f3c8218..cd046968663 100644
--- a/chat/kadu/patches/patch-ab
+++ b/chat/kadu/patches/patch-ab
@@ -1,13 +1,28 @@
-$NetBSD: patch-ab,v 1.2 2004/07/09 10:46:23 adam Exp $
+$NetBSD: patch-ab,v 1.3 2005/04/21 08:56:21 adam Exp $
---- modules/dsp_sound/dsp_sound.cpp.orig 2004-05-25 17:44:15.000000000 +0000
-+++ modules/dsp_sound/dsp_sound.cpp
-@@ -178,7 +178,7 @@ void DirectPlayThread::run()
- continue;
- }
-
-- if (ioctl(fd, SNDCTL_DSP_RESET)<0)
-+ if (ioctl(fd, SNDCTL_DSP_RESET, NULL)<0)
- {
- qWarning("ioctl: %s", strerror(errno));
- close(fd);
+--- configure.orig 2005-04-15 15:48:25.000000000 +0000
++++ configure
+@@ -6621,12 +6621,12 @@ echo "$as_me: error: libgadu.h not found
+ fi
+ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+
+- GADU_LIBS=-lgadu
++ GADU_LIBS="-lgadu -lssl -lpthread"
+
+ echo "$as_me:$LINENO: checking if libgadu is in system directories" >&5
+ echo $ECHO_N "checking if libgadu is in system directories... $ECHO_C" >&6
+ save_CFLAGS="$CFLAGS"
+- CFLAGS="$CFLAGS -lgadu"
++ CFLAGS="$CFLAGS ${GADU_LIBS}"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -7085,7 +7085,7 @@ fi
+ rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ \
+- MODULE_LDFLAGS="$MODULE_LDFLAGS -l$lib"; \
++ MODULE_LDFLAGS="$MODULE_LDFLAGS -l$lib -Wl,-R${X11BASE}/lib"; \
+ done && \
+ for hdr in $MODULE_INCLUDES; do \
+