1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Fix little endian problem.

Submitted by:	Denis Ahrens <denis@berlin.ccc.de>
		Steve Wills <steve@stevenwills.com>
Obtained from:	http://lists.apple.com/archives/streaming-server-users/2004/May/msg00000.html
This commit is contained in:
Norikatsu Shigemura 2004-12-16 14:38:53 +00:00
parent 91f2627c5d
commit ab62361816
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124214
2 changed files with 12 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= DarwinStreamingServer
PORTVERSION= 5.0.1.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= #http://developer.apple.com/darwin/projects/streaming/source/
# You must accept APSL (Apple Public Source License), and get

View File

@ -0,0 +1,11 @@
--- APIModules/QTSSReflectorModule/ReflectorStream.cpp.orig Sat Aug 16 08:52:46 2003
+++ APIModules/QTSSReflectorModule/ReflectorStream.cpp Thu Dec 16 23:29:41 2004
@@ -173,7 +173,7 @@
theRRWriter++;
*theRRWriter = htonl(theSsrc);
theRRWriter++;
- *theRRWriter = FOUR_CHARS_TO_INT('Q','T','S','S');
+ *theRRWriter = htonl(FOUR_CHARS_TO_INT('Q','T','S','S'));
theRRWriter++;
*theRRWriter = htonl(0);
theRRWriter++;