This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Libtorrent < Formula | |
homepage "https://github.com/rakshasa/libtorrent" | |
head "https://github.com/rakshasa/libtorrent.git" | |
url "https://github.com/rakshasa/libtorrent.git", :tag => "0.13.6" | |
version "0.13.6" | |
bottle :disable, | |
"Cannot be built with Clang so bottle depends on GCC at runtime." | |
depends_on "autoconf" => :build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/download/chunk_selector.cc b/src/download/chunk_selector.cc | |
index 850fec0f..248a29f9 100644 | |
--- a/src/download/chunk_selector.cc | |
+++ b/src/download/chunk_selector.cc | |
@@ -82,7 +82,7 @@ ChunkSelector::update_priorities() { | |
m_sharedQueue.clear(); | |
if (m_position == invalid_chunk) | |
- m_position = random() % size(); | |
+ m_position = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Author: Artem Butusov <[email protected]> | |
# Version: 1.0 | |
# Idea: https://stackoverflow.com/questions/12306223/how-to-manually-create-icns-files-using-iconutil | |
source="$1" | |
if [ -z "$source" ]; then | |
echo "Usage: png2icns <file.png>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Gentoo Installer has been moved to the repo | |
# The latest version is available here: https://github.com/sormy/gentoo-quick-installer |