summaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-03-23 07:14:12 +0000
committernork <nork@FreeBSD.org>2003-03-23 07:14:12 +0000
commit0c009a866ba88715f70fbdc7769dfef9460983e7 (patch)
tree7f43b60ea7d17fd5101cd8cc5fb1bfb5832ab37a /ftp
parentb7994352110853854aba6a7f266fce403e266fe7 (diff)
downloadFreeBSD-ports-0c009a866ba88715f70fbdc7769dfef9460983e7.zip
FreeBSD-ports-0c009a866ba88715f70fbdc7769dfef9460983e7.tar.gz
Fix build problem on sparc64.
Pointed out by: bento via kris
Diffstat (limited to 'ftp')
-rw-r--r--ftp/downloader/files/patch-main::sndserv.cc20
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 0000000..105244a
--- /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;
OpenPOWER on IntegriCloud