diff options
author | Mark Loeser <halcy0n@gentoo.org> | 2006-05-01 18:06:17 +0000 |
---|---|---|
committer | Mark Loeser <halcy0n@gentoo.org> | 2006-05-01 18:06:17 +0000 |
commit | 3eef60908202c53467f0ecdc255e2c38bc0e429a (patch) | |
tree | 9f555ab44d8b4ef36ef8b20468d9da01d058d923 /net-libs/openh323/files | |
parent | Added to ~ppc, bug #131814 (diff) | |
download | historical-3eef60908202c53467f0ecdc255e2c38bc0e429a.tar.gz historical-3eef60908202c53467f0ecdc255e2c38bc0e429a.tar.bz2 historical-3eef60908202c53467f0ecdc255e2c38bc0e429a.zip |
Add patch to fix compilation with gcc-4.1 by Åsmund Grammeltvedt <grammel@online.no>; bug #129447
Package-Manager: portage-2.1_pre9-r5
Diffstat (limited to 'net-libs/openh323/files')
-rw-r--r-- | net-libs/openh323/files/digest-openh323-1.15.6 | 2 | ||||
-rw-r--r-- | net-libs/openh323/files/openh323-1.15.6-gcc4.diff | 33 |
2 files changed, 35 insertions, 0 deletions
diff --git a/net-libs/openh323/files/digest-openh323-1.15.6 b/net-libs/openh323/files/digest-openh323-1.15.6 index c8340dc764fd..c8854dc1c0b3 100644 --- a/net-libs/openh323/files/digest-openh323-1.15.6 +++ b/net-libs/openh323/files/digest-openh323-1.15.6 @@ -1 +1,3 @@ MD5 6c49f41c4cec39172000586a26b98c48 openh323-1.15.6.tar.gz 3739001 +RMD160 1242cc978a9145d5ec206656849f4ac34fcef8af openh323-1.15.6.tar.gz 3739001 +SHA256 3c1d58d999aa45f0099bf2761f1d7cf858aa9d2039056377416a79aac1327569 openh323-1.15.6.tar.gz 3739001 diff --git a/net-libs/openh323/files/openh323-1.15.6-gcc4.diff b/net-libs/openh323/files/openh323-1.15.6-gcc4.diff new file mode 100644 index 000000000000..277c250ec52b --- /dev/null +++ b/net-libs/openh323/files/openh323-1.15.6-gcc4.diff @@ -0,0 +1,33 @@ +--- openh323-1.15.6/include/ixjlid.h 2004-08-22 06:21:06.000000000 +0200 ++++ openh323-1.15.6-gcc4/include/ixjlid.h 2006-04-11 20:48:51.000000000 +0200 +@@ -836,7 +836,7 @@ + }; + + static void SignalHandler(int sig); +- ExceptionInfo * OpalIxJDevice::GetException(); ++ ExceptionInfo * GetException(); + int GetOSHandle() { return os_handle; } + + protected: +--- openh323-1.15.6/src/vic/p64.cxx 2003-03-14 08:25:55.000000000 +0100 ++++ openh323-1.15.6-gcc4/src/vic/p64.cxx 2006-04-11 20:49:41.000000000 +0200 +@@ -1125,7 +1125,7 @@ + * If input buffer not aligned, prime bit-buffer + * with 8 bits; otherwise, prime it with a 16. + */ +- if ((int)bp & 1) { ++ if ((long)bp & 1) { + bs_ = (u_short*)(bp + 1); + bb_ = *bp; + nbb_ = 8 - sbit; +--- openh323-1.15.6/plugins/audio/Speex/speexcodec.cxx 2006-04-11 21:32:34.000000000 +0200 ++++ openh323-1.15.6-gcc4/plugins/audio/Speex/speexcodec.cxx 2006-04-11 20:48:51.000000000 +0200 +@@ -112,7 +112,7 @@ + + static void * create_encoder(const struct PluginCodec_Definition * codec) + { +- int mode = (int)(codec->userData); ++ int mode = (long)(codec->userData); + + struct PluginSpeexContext * context = new PluginSpeexContext; + context->bits = new SpeexBits; |