Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add msdl #13907

Closed
wants to merge 1 commit into from

2 participants

@neildp

No description provided.

@adamv

Has this been reported upstream?

@adamv adamv closed this pull request from a commit
@neildp neildp msdl 1.2.7-r2
Closes #13907.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
7d4ada6
@adamv adamv closed this in 7d4ada6
@sessyargc sessyargc referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@snakeyroc3 snakeyroc3 referenced this pull request from a commit in snakeyroc3/homebrew
@neildp neildp msdl 1.2.7-r2
Closes #13907.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
287a796
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 3, 2012
  1. @neildp

    Added msdl formula.

    neildp authored
This page is out of date. Refresh to see the latest.
Showing with 34 additions and 0 deletions.
  1. +34 −0 Library/Formula/msdl.rb
View
34 Library/Formula/msdl.rb
@@ -0,0 +1,34 @@
+require 'formula'
+
+class Msdl < Formula
+ homepage 'http://msdl.sourceforge.net'
+ url 'http://downloads.sourceforge.net/msdl/msdl-1.2.7-r2.tar.gz'
+ sha1 'd30a637fc8be4ea80ddd373e428542bef15297fb'
+ version '1.2.7-r2'
+
+ def patches
+ # fixes linker error under clang
+ DATA
+ end
+
+ def install
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+end
+
+__END__
+diff --git a/src/url.c b/src/url.c
+index 81783c7..356883a 100644
+--- a/src/url.c
++++ b/src/url.c
+@@ -266,7 +266,7 @@ void url_unescape_string(char *dst,char *src)
+ /*
+ * return true if 'c' is valid url character
+ */
+-inline int is_url_valid_char(int c)
++int is_url_valid_char(int c)
+ {
+ return (isalpha(c) ||
+ isdigit(c) ||
Something went wrong with that request. Please try again.