[Kazehakase-devel 2640] Re: kazehakase-0.3.1: FC4 でビルドするとエラー

Zurück zum Archiv-Index

Kazuhiro NISHIYAMA zn****@mbf*****
2006年 5月 29日 (月) 14:21:10 JST


西山和広です。

>>> Fri, 30 Sep 2005 02:33:44 +0900 (JST) の刻に
>>> tyuyu****@sings*****(Hidetaka Iwai) 氏曰く
> 
> すいません、[Kazehakase-devel 2396] のパッチは間違ってます。というわけ
> で正しい方を添付します。
> 
> # 西山さんもこちらのパッチを使って頂けるようお願いします。

いろいろあってしばらく風博士を使っていなかったのですが、
久しぶりにsargeでkazehakaseをbuildしてみたところ、
手元でgnutls 1.0対応しているのはcvs updateの時に.#*ファイルが
出来るのが気になってしまったので、こういう感じの変更にして
CVSに入れてもらえるとうれしいかと思ったのですが、
どうでしょうか?


Index: configure.in
===================================================================
RCS file: /cvsroot/kazehakase/kazehakase/configure.in,v
retrieving revision 1.158
diff -u -p -r1.158 configure.in
--- configure.in	21 May 2006 23:39:24 -0000	1.158
+++ configure.in	29 May 2006 05:09:43 -0000
@@ -355,7 +355,7 @@ AC_ARG_ENABLE(ssl, [  --disable-ssl
  			  Disable GNU TLS suport],,
 			  disable_ssl=no)
 if test x"$disable_ssl" = "xno"; then
-   AM_PATH_LIBGNUTLS(1.2.0,
+   AM_PATH_LIBGNUTLS(1.0.0,
 	AC_DEFINE(USE_SSL, 1, [Define using GNU TLS]),
 	AC_MSG_WARN([[libgnutls was not found.]]))
 fi
Index: src/net/kz-http.c
===================================================================
RCS file: /cvsroot/kazehakase/kazehakase/src/net/kz-http.c,v
retrieving revision 1.82
diff -u -p -r1.82 kz-http.c
--- src/net/kz-http.c	5 Dec 2005 22:52:41 -0000	1.82
+++ src/net/kz-http.c	29 May 2006 05:09:43 -0000
@@ -33,6 +33,10 @@
 
 #ifdef USE_SSL
 #include <gnutls/gnutls.h>
+#ifndef LIBGNUTLS_VERSION_NUMBER
+#define gnutls_session_t gnutls_session
+#define gnutls_certificate_credentials_t gnutls_certificate_credentials
+#endif
 #endif
 
 #include "gobject-utils.h"



-- 
|ZnZ(ゼット エヌ ゼット)
|西山和広(Kazuhiro NISHIYAMA)



Kazehakase-devel メーリングリストの案内
Zurück zum Archiv-Index