diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2004-01-13 23:27:16 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2004-01-13 23:27:16 +0000 |
commit | 975b54ec9fab212ade442b0cab4c06163ed2697a (patch) | |
tree | aa69271c97468889bacb163fddc5827fd7c27ced /irc/kvirc-devel/files | |
parent | c61d62d1726af76488103a0f556b1ce49b7f87d0 (diff) | |
download | ports-975b54ec9fab212ade442b0cab4c06163ed2697a.tar.gz ports-975b54ec9fab212ade442b0cab4c06163ed2697a.zip |
Notes
Diffstat (limited to 'irc/kvirc-devel/files')
-rw-r--r-- | irc/kvirc-devel/files/patch-configure | 20 | ||||
-rw-r--r-- | irc/kvirc-devel/files/patch-modules-snd | 11 | ||||
-rw-r--r-- | irc/kvirc-devel/files/patch-src-kvilib-net-kvi_dns.cpp | 25 |
3 files changed, 56 insertions, 0 deletions
diff --git a/irc/kvirc-devel/files/patch-configure b/irc/kvirc-devel/files/patch-configure new file mode 100644 index 000000000000..c5c77a61ed23 --- /dev/null +++ b/irc/kvirc-devel/files/patch-configure @@ -0,0 +1,20 @@ +--- configure Sat Jan 4 16:54:22 2003 ++++ configure.patched Mon Jan 5 19:16:14 2004 +@@ -18245,7 +18245,7 @@ + ss_save_LIBS="$LIBS" + CPPFLAGS="-I$SS_X_INCDIR -I$SS_QT_INCDIR $CPPFLAGS $X_CFLAGS" + CXXFLAGS="-O2 -Wall $CXXFLAGS" +- LIBS="-L$SS_X_LIBDIR -L$SS_QT_LIBDIR $X_EXTRA_LIBS $X_LIBS $LIBS -l$SS_QTLIB_NAME -lXext -lX11" ++ LIBS="-L$SS_X_LIBDIR -L$SS_QT_LIBDIR $X_EXTRA_LIBS $X_LIBS $LIBS -l$SS_QTLIB_NAME -lXext -lX11 -pthread" + LDFLAGS="-s $LDFLAGS" + cat >conftest.$ac_ext <<_ACEOF + #line $LINENO "configure" +@@ -18586,7 +18586,7 @@ + ss_save_LIBS="$LIBS" + CPPFLAGS="-I$SS_X_INCDIR -I$SS_QT_INCDIR -I$SS_KDE_INCDIR $CPPFLAGS $X_CFLAGS" + CXXFLAGS="-O2 -Wall $CXXFLAGS" +- LIBS="-L$SS_KDE_LIBDIR -L$SS_X_LIBDIR -L$SS_QT_LIBDIR $X_ $X_EXTRA_LIBS $X_LIBS $LIBS -lkdecore -l$SS_QTLIB_NAME $SS_XFT_LIBLINK -lXext -lX11 -Wl,-rpath $SS_KDE_LIBDIR" ++ LIBS="-L$SS_KDE_LIBDIR -L$SS_X_LIBDIR -L$SS_QT_LIBDIR $X_ $X_EXTRA_LIBS $X_LIBS $LIBS -lkdecore -l$SS_QTLIB_NAME $SS_XFT_LIBLINK -lXext -lX11 -Wl,-rpath $SS_KDE_LIBDIR -pthread" + if test "$SS_LINK_TO_LIBDL" = "yes"; then + LIBS="$LIBS -ldl"; + fi diff --git a/irc/kvirc-devel/files/patch-modules-snd b/irc/kvirc-devel/files/patch-modules-snd new file mode 100644 index 000000000000..c39aa42bbe33 --- /dev/null +++ b/irc/kvirc-devel/files/patch-modules-snd @@ -0,0 +1,11 @@ +--- src/modules/snd/libkvisnd.cpp Sat Dec 14 20:30:41 2002 ++++ src/modules/snd/libkvisnd.cpp.patched Mon Jan 5 19:18:20 2004 +@@ -49,7 +49,7 @@ + #ifdef COMPILE_OSS_SUPPORT + #include <fcntl.h> + #include <sys/ioctl.h> +- #include <linux/soundcard.h> ++ #include <sys/soundcard.h> + #ifdef COMPILE_AUDIOFILE_SUPPORT + #include <audiofile.h> + #endif //COMPILE_AUDIOFILE_SUPPORT diff --git a/irc/kvirc-devel/files/patch-src-kvilib-net-kvi_dns.cpp b/irc/kvirc-devel/files/patch-src-kvilib-net-kvi_dns.cpp new file mode 100644 index 000000000000..7cce3daf10cb --- /dev/null +++ b/irc/kvirc-devel/files/patch-src-kvilib-net-kvi_dns.cpp @@ -0,0 +1,25 @@ +--- src/kvilib/net/kvi_dns.cpp.orig Mon Jan 5 21:54:02 2004 ++++ src/kvilib/net/kvi_dns.cpp Mon Jan 5 22:04:18 2004 +@@ -39,6 +39,12 @@ + #include <sys/types.h> + #include <sys/socket.h> + #include <netdb.h> ++ #if __FreeBSD__ ++ #include <osreldate.h> ++ #if __FreeBSD_version >= 500037 ++ #define EAI_ADDRFAMILY 1 ++ #endif ++ #endif + #endif + + +@@ -101,7 +107,9 @@ + #ifndef COMPILE_ON_WINDOWS + case EAI_ADDRFAMILY: return KviError_unsupportedAddressFamily; break; + #endif ++#if __FreeBSD_version <= 500037 + case EAI_NODATA: return KviError_validNameButNoIpAddress; break; ++#endif + case EAI_FAIL: return KviError_unrecoverableNameserverError; break; + case EAI_AGAIN: return KviError_dnsTemporaneousFault; break; + // this should never happen |