[25903] trunk/dports/audio/mt-daapd

source_changes at macosforge.org source_changes at macosforge.org
Mon Jun 4 23:33:53 PDT 2007


Revision: 25903
          http://trac.macosforge.org/projects/macports/changeset/25903
Author:   markd at macports.org
Date:     2007-06-04 23:33:53 -0700 (Mon, 04 Jun 2007)

Log Message:
-----------
Closes #10565.  Apply patch to fix network byte order.

Modified Paths:
--------------
    trunk/dports/audio/mt-daapd/Portfile

Added Paths:
-----------
    trunk/dports/audio/mt-daapd/files/patch-rend-osx.c

Modified: trunk/dports/audio/mt-daapd/Portfile
===================================================================
--- trunk/dports/audio/mt-daapd/Portfile	2007-06-05 06:15:03 UTC (rev 25902)
+++ trunk/dports/audio/mt-daapd/Portfile	2007-06-05 06:33:53 UTC (rev 25903)
@@ -13,7 +13,7 @@
 homepage		http://www.mt-daapd.org/
 master_sites	sourceforge
 checksums		sha1 b8c242e5fd5d2d97010d5e09b9f02ccf9def13ab
-patchfiles		patch-mt-daapd.conf
+patchfiles		patch-mt-daapd.conf patch-rend-osx.c
 
 depends_lib		port:zlib port:gdbm port:libid3tag port:libogg port:libvorbis
 

Added: trunk/dports/audio/mt-daapd/files/patch-rend-osx.c
===================================================================
--- trunk/dports/audio/mt-daapd/files/patch-rend-osx.c	                        (rev 0)
+++ trunk/dports/audio/mt-daapd/files/patch-rend-osx.c	2007-06-05 06:33:53 UTC (rev 25903)
@@ -0,0 +1,10 @@
+--- src/rend-osx.c.org.c	2004-12-08 21:05:54.000000000 -0800
++++ src/rend-osx.c	2007-06-04 23:39:02.000000000 -0700
+@@ -169,6 +169,7 @@
+     case REND_MSG_TYPE_REGISTER:
+ 	DPRINTF(E_DBG,L_REND,"Registering %s.%s (%d)\n",msg.type,msg.name,msg.port);
+ 	usPort=msg.port;
++	usPort = htons(usPort);
+ 	dns_ref=DNSServiceRegistrationCreate(msg.name,msg.type,"",usPort,
+ 					     "Database ID=bedabb1edeadbea7",rend_reply,nil);
+ 	if(rend_addtorunloop(dns_ref)) {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070604/143bc68a/attachment.html


More information about the macports-changes mailing list