summaryrefslogtreecommitdiff
path: root/net/DarwinStreamingServer/files/patch-Server.tproj__main.cpp
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 17:12:47 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 17:12:47 +0000
commit08a006d08a4c35d2c3ecc9a3d10cf7fd14661a84 (patch)
tree0cfc4f0736babb895eb97a65c6defe632a0249c7 /net/DarwinStreamingServer/files/patch-Server.tproj__main.cpp
parenteditors/fte: update to 20110708 (diff)
Rename all patches that contain '::' as a path separator, and use
'__' instead.
Notes
Notes: svn path=/head/; revision=363362
Diffstat (limited to 'net/DarwinStreamingServer/files/patch-Server.tproj__main.cpp')
-rw-r--r--net/DarwinStreamingServer/files/patch-Server.tproj__main.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/DarwinStreamingServer/files/patch-Server.tproj__main.cpp b/net/DarwinStreamingServer/files/patch-Server.tproj__main.cpp
new file mode 100644
index 000000000000..92f1739f5f12
--- /dev/null
+++ b/net/DarwinStreamingServer/files/patch-Server.tproj__main.cpp
@@ -0,0 +1,20 @@
+--- Server.tproj/main.cpp.orig 2008-05-06 08:28:59.000000000 +0900
++++ Server.tproj/main.cpp 2008-06-01 18:09:20.000000000 +0900
+@@ -216,7 +216,7 @@
+ //(void) ::signal(SIGPIPE, SIG_IGN);
+ struct sigaction act;
+
+-#if defined(sun) || defined(i386) || defined (__MacOSX__) || defined(__powerpc__) || defined (__osf__) || defined (__sgi_cc__) || defined (__hpux__)
++#if defined(sun) || defined(i386) || defined (__MacOSX__) || defined(__powerpc__) || defined (__osf__) || defined (__sgi_cc__) || defined (__hpux__) || defined(__amd64__)
+ sigemptyset(&act.sa_mask);
+ act.sa_flags = 0;
+ act.sa_handler = (void(*)(int))&sigcatcher;
+@@ -306,7 +306,7 @@
+
+ char* theConfigFilePath = sDefaultConfigFilePath;
+ char* theXMLFilePath = sDefaultXMLFilePath;
+- while ((ch = getopt(argc,argv, "vdfxp:DZ:c:o:S:Ih")) != EOF) // opt: means requires option arg
++ while ((ch = getopt(argc,argv, "vdfxp:DZ:c:o:S:Ih")) != -1) // opt: means requires option arg
+ {
+ switch(ch)
+ {