diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-03-23 07:14:12 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-03-23 07:14:12 +0000 |
commit | 186ca58ed01da79d18dca7a24703646586b74e41 (patch) | |
tree | ad73e9d9d7093fda9bf8f1d197e71466d41b12d4 /ftp/downloader | |
parent | Chase new website in MASTER_SITES and WWW. (diff) |
Fix build problem on sparc64.
Pointed out by: bento via kris
Diffstat (limited to 'ftp/downloader')
-rw-r--r-- | ftp/downloader/files/patch-main::sndserv.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ftp/downloader/files/patch-main::sndserv.cc b/ftp/downloader/files/patch-main::sndserv.cc new file mode 100644 index 000000000000..105244a96bcd --- /dev/null +++ b/ftp/downloader/files/patch-main::sndserv.cc @@ -0,0 +1,20 @@ +--- main/sndserv.cc.orig Mon Jan 27 13:40:08 2003 ++++ main/sndserv.cc Fri Mar 21 14:48:47 2003 +@@ -153,7 +153,7 @@ + + #if G_BYTE_ORDER == G_LITTLE_ENDIAN + *len =(buf[3] << 24) | (buf[2] << 16) | (buf[1] << 8) | buf[0]; +-#elif ++#else + *len =(buf[0] << 24) | (buf[1] << 16) | (buf[2] << 8) | buf[3]; + #endif + +@@ -166,7 +166,7 @@ + return 0; + #if G_BYTE_ORDER == G_LITTLE_ENDIAN + *val = (buf[1] << 8) | buf[0]; +-#elif ++#else + *val = (buf[0] << 8) | buf[1]; + #endif + return 1; |