{"action":"created","comment":{"url":"https://api.github.com/repos/SeisComP3/seiscomp3/pulls/comments/65669835","id":65669835,"diff_hunk":"@@ -27,20 +45,34 @@ SET( ${PACKAGE_NAME}_SOURCES\n \t${LIBNLL_ALOMAX_OCTTREE_SOURCES}\n \t${LIBNLL_ALOMAX_RAN1_SOURCES}\n \t${LIBNLL_ALOMAX_VECTOR_SOURCES}\n+    ${LIBNLL_OPEN_MEMSTREAM_OSX_SOURCES}\n \tnll_locator.cpp\n )\n+ENDIF(MACOSX)\n \n SET(${PACKAGE_NAME}_HEADERS nll_locator.h)\n \n+IF(MACOSX)\n+SET(${PACKAGE_NAME}_HEADERS nll_locator.h open_memstream.h fmemopen.h)\n+ENDIF(MACOSX)\n+\n INCLUDE_DIRECTORIES(${NLL_SOURCE_DIR})\n INCLUDE_DIRECTORIES(${NLL_SOURCE_DIR}/geometry)\n INCLUDE_DIRECTORIES(${NLL_SOURCE_DIR}/ran1)\n \n INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})\n INCLUDE_DIRECTORIES(${CMAKE_CURRENT_INCLUDE_DIR})\n \n+IF(MACOSX)\n+INCLUDE_DIRECTORIES(${NLL_SOURCE_DIR}/open_memstream-osx)\n+ENDIF(MACOSX)\n+\n SC_ADD_PLUGIN_LIBRARY(${PACKAGE_NAME} locnll \"\")\n SC_LINK_LIBRARIES_INTERNAL(locnll core)\n \n+IF(MACOSX)\n+SC_LINK_LIBRARIES_INTERNAL(locnll core)","path":"src/sed/plugins/locator/nll/CMakeLists.txt","position":64,"original_position":64,"commit_id":"bb72444a6b151c20c59dd793f705d69acec25d32","original_commit_id":"bb72444a6b151c20c59dd793f705d69acec25d32","user":{"login":"gempa-jabe","id":7439134,"avatar_url":"https://avatars.githubusercontent.com/u/7439134?v=3","gravatar_id":"","url":"https://api.github.com/users/gempa-jabe","html_url":"https://github.com/gempa-jabe","followers_url":"https://api.github.com/users/gempa-jabe/followers","following_url":"https://api.github.com/users/gempa-jabe/following{/other_user}","gists_url":"https://api.github.com/users/gempa-jabe/gists{/gist_id}","starred_url":"https://api.github.com/users/gempa-jabe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gempa-jabe/subscriptions","organizations_url":"https://api.github.com/users/gempa-jabe/orgs","repos_url":"https://api.github.com/users/gempa-jabe/repos","events_url":"https://api.github.com/users/gempa-jabe/events{/privacy}","received_events_url":"https://api.github.com/users/gempa-jabe/received_events","type":"User","site_admin":false},"body":"Doesn't that duplicate line 71?","created_at":"2016-06-03T08:04:30Z","updated_at":"2016-06-03T08:04:30Z","html_url":"https://github.com/SeisComP3/seiscomp3/pull/64#discussion_r65669835","pull_request_url":"https://api.github.com/repos/SeisComP3/seiscomp3/pulls/64","_links":{"self":{"href":"https://api.github.com/repos/SeisComP3/seiscomp3/pulls/comments/65669835"},"html":{"href":"https://github.com/SeisComP3/seiscomp3/pull/64#discussion_r65669835"},"pull_request":{"href":"https://api.github.com/repos/SeisComP3/seiscomp3/pulls/64"}}},"pull_request":{"url":"https://api.github.com/repos/SeisComP3/seiscomp3/pulls/64","id":69993127,"html_url":"https://github.com/SeisComP3/seiscomp3/pull/64","diff_url":"https://github.com/SeisComP3/seiscomp3/pull/64.diff","patch_url":"https://github.com/SeisComP3/seiscomp3/pull/64.patch","issue_url":"https://api.github.com/repos/SeisComP3/seiscomp3/issues/64","number":64,"state":"open","locked":false,"title":"Make seiscomp3 compatible with Mac OS X","user":{"login":"gilcel","id":9282533,"avatar_url":"https://avatars.githubusercontent.com/u/9282533?v=3","gravatar_id":"","url":"https://api.github.com/users/gilcel","html_url":"https://github.com/gilcel","followers_url":"https://api.github.com/users/gilcel/followers","following_url":"https://api.github.com/users/gilcel/following{/other_user}","gists_url":"https://api.github.com/users/gilcel/gists{/gist_id}","starred_url":"https://api.github.com/users/gilcel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilcel/subscriptions","organizations_url":"https://api.github.com/users/gilcel/orgs","repos_url":"https://api.github.com/users/gilcel/repos","events_url":"https://api.github.com/users/gilcel/events{/privacy}","received_events_url":"https://api.github.com/users/gilcel/received_events","type":"User","site_admin":false},"body":"This commit allows compiling of seiscomp3-jakarta (2016) on Mac OS X.\r\n\r\nAll the seiscomp3-plugins are now enabled and compiles correctly under OS X.\r\nEven the seedlink locator-plugin, which did not work due to lack of open_memstream on OS X, is now supported.\r\n\r\n# Seiscomp3 for Mac OS X installation notes\r\n## Pre-Requirements (Xcode, GFortran, homebrew)\r\nCompiled on Mac OS X El Capitan 10.11.4 with Xcode 7.3 and gfortran 5.2\r\n\r\n### Install Xcode from command-line\r\nOpen up Terminal.app and type:\r\n `xcode-select --install`\r\n\r\n### Install GFortran\r\nhttps://gcc.gnu.org/wiki/GFortranBinaries\r\n\r\n### Install Homebrew\r\n`/usr/bin/ruby -e \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)\"`\r\nWebpage here:\r\n\thttp://brew.sh\r\n\r\nAll the packages will be installed in /usr/local/Cellar\r\n\r\n\t\r\nCheck if your system is correctly setup with:\r\n\t`brew doctor`\r\n\t\r\n## Install seiscomp3 dependencies\r\n`brew install cmake boost qt4 md5sha1sum`\r\n\r\n### Force link openssl & flex\r\nWe need to force link openssl & flex so that they will be available in /usr/local/lib/ \r\n`brew install openssl`\r\n`brew link --force openssl`\r\n`brew install flex`\r\n`brew link --force flex`\r\n\r\n### Install MySQL\r\n`brew install mysql`\r\n\r\nCopy default MYSQL configuration file to /usr/local/etc/\r\n`sudo cp $(brew --prefix mysql)/support-files/my-default.cnf /etc/my.cnf`\r\n\r\n## Compile seiscomp3 for OS X\r\n    cd ~/Downloads/seiscomp3-git/\r\n    mkdir build-seiscomp3-osx\r\n    cd build-seiscomp3-osx\r\n    cmake -DCMAKE_INSTALL_PREFIX=${HOME}/seiscomp3 ../seiscomp3-src-osx\r\n    make\r\n    make install\r\nIf everything compiled fine, the files will be installed in ${HOME}/seiscomp3\r\n \r\n## Increase max open files for seedlink\r\n\r\nTo avoid getting seedlink errors when starting seiscomp with \"files open exceed max files ...\" we need to increase the max open files, we need to set it at startup.\r\n\r\nPlace this `limit.seiscomp3-maxfiles.plist` file in `/Library/LaunchDaemons/`\r\n\r\n`<?xml version=\"1.0\" encoding=\"UTF-8\"?>  \r\n\t<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\"  \r\n       \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\r\n\t<plist version=\"1.0\">  \r\n\t<dict>\r\n\t<key>Label</key>\r\n\t<string>limit.seiscomp3-maxfiles</string>\r\n\t<key>ProgramArguments</key>\r\n\t<array>\r\n     <string>launchctl</string>\r\n     <string>limit</string>\r\n     <string>maxfiles</string>\r\n     <string>524288</string>\r\n     <string>524288</string>\r\n   </array>\r\n   <key>RunAtLoad</key>\r\n   <true/>\r\n   <key>ServiceIPC</key>\r\n   <false/>\r\n </dict>\r\n</plist>  \r\n`\r\n\r\nSet permission:\r\n`sudo chown root:wheel /Library/LaunchDaemons/limit.seiscomp3-maxfiles.plist`\r\nLaunch it:\r\n`sudo launchctl load -w /Library/LaunchDaemons/limit.seiscomp3-maxfiles.plist`\r\n\r\n \r\n    \r\n","created_at":"2016-05-13T13:10:29Z","updated_at":"2016-06-03T08:04:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e471e96b14fd9318bc45f6b034bc9648cdab2a27","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SeisComP3/seiscomp3/pulls/64/commits","review_comments_url":"https://api.github.com/repos/SeisComP3/seiscomp3/pulls/64/comments","review_comment_url":"https://api.github.com/repos/SeisComP3/seiscomp3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SeisComP3/seiscomp3/issues/64/comments","statuses_url":"https://api.github.com/repos/SeisComP3/seiscomp3/statuses/bb72444a6b151c20c59dd793f705d69acec25d32","head":{"label":"gilcel:osx","ref":"osx","sha":"bb72444a6b151c20c59dd793f705d69acec25d32","user":{"login":"gilcel","id":9282533,"avatar_url":"https://avatars.githubusercontent.com/u/9282533?v=3","gravatar_id":"","url":"https://api.github.com/users/gilcel","html_url":"https://github.com/gilcel","followers_url":"https://api.github.com/users/gilcel/followers","following_url":"https://api.github.com/users/gilcel/following{/other_user}","gists_url":"https://api.github.com/users/gilcel/gists{/gist_id}","starred_url":"https://api.github.com/users/gilcel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilcel/subscriptions","organizations_url":"https://api.github.com/users/gilcel/orgs","repos_url":"https://api.github.com/users/gilcel/repos","events_url":"https://api.github.com/users/gilcel/events{/privacy}","received_events_url":"https://api.github.com/users/gilcel/received_events","type":"User","site_admin":false},"repo":{"id":58374196,"name":"seiscomp3","full_name":"gilcel/seiscomp3","owner":{"login":"gilcel","id":9282533,"avatar_url":"https://avatars.githubusercontent.com/u/9282533?v=3","gravatar_id":"","url":"https://api.github.com/users/gilcel","html_url":"https://github.com/gilcel","followers_url":"https://api.github.com/users/gilcel/followers","following_url":"https://api.github.com/users/gilcel/following{/other_user}","gists_url":"https://api.github.com/users/gilcel/gists{/gist_id}","starred_url":"https://api.github.com/users/gilcel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilcel/subscriptions","organizations_url":"https://api.github.com/users/gilcel/orgs","repos_url":"https://api.github.com/users/gilcel/repos","events_url":"https://api.github.com/users/gilcel/events{/privacy}","received_events_url":"https://api.github.com/users/gilcel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gilcel/seiscomp3","description":"SeisComP is a seismological software for data acquisition, processing, distribution and interactive analysis.","fork":true,"url":"https://api.github.com/repos/gilcel/seiscomp3","forks_url":"https://api.github.com/repos/gilcel/seiscomp3/forks","keys_url":"https://api.github.com/repos/gilcel/seiscomp3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gilcel/seiscomp3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gilcel/seiscomp3/teams","hooks_url":"https://api.github.com/repos/gilcel/seiscomp3/hooks","issue_events_url":"https://api.github.com/repos/gilcel/seiscomp3/issues/events{/number}","events_url":"https://api.github.com/repos/gilcel/seiscomp3/events","assignees_url":"https://api.github.com/repos/gilcel/seiscomp3/assignees{/user}","branches_url":"https://api.github.com/repos/gilcel/seiscomp3/branches{/branch}","tags_url":"https://api.github.com/repos/gilcel/seiscomp3/tags","blobs_url":"https://api.github.com/repos/gilcel/seiscomp3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gilcel/seiscomp3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gilcel/seiscomp3/git/refs{/sha}","trees_url":"https://api.github.com/repos/gilcel/seiscomp3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gilcel/seiscomp3/statuses/{sha}","languages_url":"https://api.github.com/repos/gilcel/seiscomp3/languages","stargazers_url":"https://api.github.com/repos/gilcel/seiscomp3/stargazers","contributors_url":"https://api.github.com/repos/gilcel/seiscomp3/contributors","subscribers_url":"https://api.github.com/repos/gilcel/seiscomp3/subscribers","subscription_url":"https://api.github.com/repos/gilcel/seiscomp3/subscription","commits_url":"https://api.github.com/repos/gilcel/seiscomp3/commits{/sha}","git_commits_url":"https://api.github.com/repos/gilcel/seiscomp3/git/commits{/sha}","comments_url":"https://api.github.com/repos/gilcel/seiscomp3/comments{/number}","issue_comment_url":"https://api.github.com/repos/gilcel/seiscomp3/issues/comments{/number}","contents_url":"https://api.github.com/repos/gilcel/seiscomp3/contents/{+path}","compare_url":"https://api.github.com/repos/gilcel/seiscomp3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gilcel/seiscomp3/merges","archive_url":"https://api.github.com/repos/gilcel/seiscomp3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gilcel/seiscomp3/downloads","issues_url":"https://api.github.com/repos/gilcel/seiscomp3/issues{/number}","pulls_url":"https://api.github.com/repos/gilcel/seiscomp3/pulls{/number}","milestones_url":"https://api.github.com/repos/gilcel/seiscomp3/milestones{/number}","notifications_url":"https://api.github.com/repos/gilcel/seiscomp3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gilcel/seiscomp3/labels{/name}","releases_url":"https://api.github.com/repos/gilcel/seiscomp3/releases{/id}","deployments_url":"https://api.github.com/repos/gilcel/seiscomp3/deployments","created_at":"2016-05-09T12:18:39Z","updated_at":"2016-05-09T12:18:47Z","pushed_at":"2016-05-31T14:19:36Z","git_url":"git://github.com/gilcel/seiscomp3.git","ssh_url":"git@github.com:gilcel/seiscomp3.git","clone_url":"https://github.com/gilcel/seiscomp3.git","svn_url":"https://github.com/gilcel/seiscomp3","homepage":null,"size":29123,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SeisComP3:master","ref":"master","sha":"aeb31d3acfa1e0b64fca20dd1b960fda1c767681","user":{"login":"SeisComP3","id":8831010,"avatar_url":"https://avatars.githubusercontent.com/u/8831010?v=3","gravatar_id":"","url":"https://api.github.com/users/SeisComP3","html_url":"https://github.com/SeisComP3","followers_url":"https://api.github.com/users/SeisComP3/followers","following_url":"https://api.github.com/users/SeisComP3/following{/other_user}","gists_url":"https://api.github.com/users/SeisComP3/gists{/gist_id}","starred_url":"https://api.github.com/users/SeisComP3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeisComP3/subscriptions","organizations_url":"https://api.github.com/users/SeisComP3/orgs","repos_url":"https://api.github.com/users/SeisComP3/repos","events_url":"https://api.github.com/users/SeisComP3/events{/privacy}","received_events_url":"https://api.github.com/users/SeisComP3/received_events","type":"Organization","site_admin":false},"repo":{"id":24222540,"name":"seiscomp3","full_name":"SeisComP3/seiscomp3","owner":{"login":"SeisComP3","id":8831010,"avatar_url":"https://avatars.githubusercontent.com/u/8831010?v=3","gravatar_id":"","url":"https://api.github.com/users/SeisComP3","html_url":"https://github.com/SeisComP3","followers_url":"https://api.github.com/users/SeisComP3/followers","following_url":"https://api.github.com/users/SeisComP3/following{/other_user}","gists_url":"https://api.github.com/users/SeisComP3/gists{/gist_id}","starred_url":"https://api.github.com/users/SeisComP3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeisComP3/subscriptions","organizations_url":"https://api.github.com/users/SeisComP3/orgs","repos_url":"https://api.github.com/users/SeisComP3/repos","events_url":"https://api.github.com/users/SeisComP3/events{/privacy}","received_events_url":"https://api.github.com/users/SeisComP3/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SeisComP3/seiscomp3","description":"SeisComP is a seismological software for data acquisition, processing, distribution and interactive analysis.","fork":false,"url":"https://api.github.com/repos/SeisComP3/seiscomp3","forks_url":"https://api.github.com/repos/SeisComP3/seiscomp3/forks","keys_url":"https://api.github.com/repos/SeisComP3/seiscomp3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SeisComP3/seiscomp3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SeisComP3/seiscomp3/teams","hooks_url":"https://api.github.com/repos/SeisComP3/seiscomp3/hooks","issue_events_url":"https://api.github.com/repos/SeisComP3/seiscomp3/issues/events{/number}","events_url":"https://api.github.com/repos/SeisComP3/seiscomp3/events","assignees_url":"https://api.github.com/repos/SeisComP3/seiscomp3/assignees{/user}","branches_url":"https://api.github.com/repos/SeisComP3/seiscomp3/branches{/branch}","tags_url":"https://api.github.com/repos/SeisComP3/seiscomp3/tags","blobs_url":"https://api.github.com/repos/SeisComP3/seiscomp3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SeisComP3/seiscomp3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SeisComP3/seiscomp3/git/refs{/sha}","trees_url":"https://api.github.com/repos/SeisComP3/seiscomp3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SeisComP3/seiscomp3/statuses/{sha}","languages_url":"https://api.github.com/repos/SeisComP3/seiscomp3/languages","stargazers_url":"https://api.github.com/repos/SeisComP3/seiscomp3/stargazers","contributors_url":"https://api.github.com/repos/SeisComP3/seiscomp3/contributors","subscribers_url":"https://api.github.com/repos/SeisComP3/seiscomp3/subscribers","subscription_url":"https://api.github.com/repos/SeisComP3/seiscomp3/subscription","commits_url":"https://api.github.com/repos/SeisComP3/seiscomp3/commits{/sha}","git_commits_url":"https://api.github.com/repos/SeisComP3/seiscomp3/git/commits{/sha}","comments_url":"https://api.github.com/repos/SeisComP3/seiscomp3/comments{/number}","issue_comment_url":"https://api.github.com/repos/SeisComP3/seiscomp3/issues/comments{/number}","contents_url":"https://api.github.com/repos/SeisComP3/seiscomp3/contents/{+path}","compare_url":"https://api.github.com/repos/SeisComP3/seiscomp3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SeisComP3/seiscomp3/merges","archive_url":"https://api.github.com/repos/SeisComP3/seiscomp3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SeisComP3/seiscomp3/downloads","issues_url":"https://api.github.com/repos/SeisComP3/seiscomp3/issues{/number}","pulls_url":"https://api.github.com/repos/SeisComP3/seiscomp3/pulls{/number}","milestones_url":"https://api.github.com/repos/SeisComP3/seiscomp3/milestones{/number}","notifications_url":"https://api.github.com/repos/SeisComP3/seiscomp3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SeisComP3/seiscomp3/labels{/name}","releases_url":"https://api.github.com/repos/SeisComP3/seiscomp3/releases{/id}","deployments_url":"https://api.github.com/repos/SeisComP3/seiscomp3/deployments","created_at":"2014-09-19T08:37:55Z","updated_at":"2016-01-26T09:51:44Z","pushed_at":"2016-06-01T14:02:54Z","git_url":"git://github.com/SeisComP3/seiscomp3.git","ssh_url":"git@github.com:SeisComP3/seiscomp3.git","clone_url":"https://github.com/SeisComP3/seiscomp3.git","svn_url":"https://github.com/SeisComP3/seiscomp3","homepage":null,"size":29196,"stargazers_count":24,"watchers_count":24,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":6,"forks":24,"open_issues":6,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SeisComP3/seiscomp3/pulls/64"},"html":{"href":"https://github.com/SeisComP3/seiscomp3/pull/64"},"issue":{"href":"https://api.github.com/repos/SeisComP3/seiscomp3/issues/64"},"comments":{"href":"https://api.github.com/repos/SeisComP3/seiscomp3/issues/64/comments"},"review_comments":{"href":"https://api.github.com/repos/SeisComP3/seiscomp3/pulls/64/comments"},"review_comment":{"href":"https://api.github.com/repos/SeisComP3/seiscomp3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SeisComP3/seiscomp3/pulls/64/commits"},"statuses":{"href":"https://api.github.com/repos/SeisComP3/seiscomp3/statuses/bb72444a6b151c20c59dd793f705d69acec25d32"}}}}
{"actor":{"display_login":"gempa-jabe"}}