diff options
| author | Adam Vandenberg | 2014-05-11 09:18:19 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2014-05-11 10:42:35 -0700 |
| commit | 49c12baa644459166828297825468d6f9eba79b1 (patch) | |
| tree | 39f1eb383c0a6f372aa10440fda24c4466b516fb /Library/Formula | |
| parent | c138aa591ca75e134aa51bb0e2f1b27084dcf54b (diff) | |
| download | homebrew-49c12baa644459166828297825468d6f9eba79b1.tar.bz2 | |
upnp-router-control: compile against newer gupnp
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/upnp-router-control.rb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Library/Formula/upnp-router-control.rb b/Library/Formula/upnp-router-control.rb index 6b8ecfcca..2585c8228 100644 --- a/Library/Formula/upnp-router-control.rb +++ b/Library/Formula/upnp-router-control.rb @@ -22,6 +22,9 @@ class UpnpRouterControl < Formula depends_on 'curl' => :optional depends_on :x11 + # Per Debian, patch to compile against newer gupnp + patch :DATA + def install system "./autogen.sh" if build.head? @@ -37,3 +40,34 @@ class UpnpRouterControl < Formula system "make", "install" end end + +__END__ +Description: Add -lm to LDADD to fix libm underlinkage. +Debian-Bug: http://bugs.debian.org/713706 +Author: Barry deFreese <bdefreese@debian.org> +Index: upnp-router-control-0.2/src/Makefile.am +=================================================================== +--- upnp-router-control-0.2.orig/src/Makefile.am 2010-10-14 18:02:51.000000000 -0400 ++++ upnp-router-control-0.2/src/Makefile.am 2013-07-13 10:10:02.406318866 -0400 +@@ -20,7 +20,7 @@ + urc-graph.c \ + urc-graph.h + +-upnp_router_control_LDADD = @GTK_LIBS@ @INTLLIBS@ @GUPNP_LIBS@ @LIBCURL_LIBS@ ++upnp_router_control_LDADD = @GTK_LIBS@ @INTLLIBS@ @GUPNP_LIBS@ @LIBCURL_LIBS@ -lm + + MAINTAINERCLEANFILES = \ + *~ \ +Index: upnp-router-control-0.2/src/Makefile.in +=================================================================== +--- upnp-router-control-0.2.orig/src/Makefile.in 2010-10-14 18:07:44.000000000 -0400 ++++ upnp-router-control-0.2/src/Makefile.in 2013-07-13 10:10:41.238511424 -0400 +@@ -213,7 +213,7 @@ + urc-graph.c \ + urc-graph.h + +-upnp_router_control_LDADD = @GTK_LIBS@ @INTLLIBS@ @GUPNP_LIBS@ @LIBCURL_LIBS@ ++upnp_router_control_LDADD = @GTK_LIBS@ @INTLLIBS@ @GUPNP_LIBS@ @LIBCURL_LIBS@ -lm + MAINTAINERCLEANFILES = \ + *~ \ + Makefile.in |
