public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-misc/tor/files: tor-0.2.4.5-fix-udef-ref-math.patch
@ 2012-10-27  2:33 Anthony G. Basile (blueness)
  0 siblings, 0 replies; 3+ messages in thread
From: Anthony G. Basile (blueness) @ 2012-10-27  2:33 UTC (permalink / raw
  To: gentoo-commits

blueness    12/10/27 02:33:56

  Added:                tor-0.2.4.5-fix-udef-ref-math.patch
  Log:
  Fix udefined ref to ceil/log in libm, bug #435040
  
  (Portage version: 2.1.11.30/cvs/Linux x86_64, signed Manifest commit with key 0xD0455535)

Revision  Changes    Path
1.1                  net-misc/tor/files/tor-0.2.4.5-fix-udef-ref-math.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tor/files/tor-0.2.4.5-fix-udef-ref-math.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tor/files/tor-0.2.4.5-fix-udef-ref-math.patch?rev=1.1&content-type=text/plain

Index: tor-0.2.4.5-fix-udef-ref-math.patch
===================================================================
diff -Naur tor-0.2.4.5-alpha.orig/src/tools/tor-fw-helper/include.am tor-0.2.4.5-alpha/src/tools/tor-fw-helper/include.am
--- tor-0.2.4.5-alpha.orig/src/tools/tor-fw-helper/include.am	2012-10-26 22:25:53.000000000 -0400
+++ tor-0.2.4.5-alpha/src/tools/tor-fw-helper/include.am	2012-10-26 22:26:15.000000000 -0400
@@ -31,6 +31,6 @@
 miniupnpc_cppflags =
 endif
 
-src_tools_tor_fw_helper_tor_fw_helper_LDFLAGS = $(nat_pmp_ldflags) $(miniupnpc_ldflags)
+src_tools_tor_fw_helper_tor_fw_helper_LDFLAGS = $(nat_pmp_ldflags) $(miniupnpc_ldflags) -lm
 src_tools_tor_fw_helper_tor_fw_helper_LDADD = src/common/libor.a $(nat_pmp_ldadd) $(miniupnpc_ldadd) @TOR_LIB_WS32@
 src_tools_tor_fw_helper_tor_fw_helper_CPPFLAGS = $(nat_pmp_cppflags) $(miniupnpc_cppflags)





^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-misc/tor/files: tor-0.2.4.5-fix-udef-ref-math.patch
@ 2012-10-27 14:23 Anthony G. Basile (blueness)
  0 siblings, 0 replies; 3+ messages in thread
From: Anthony G. Basile (blueness) @ 2012-10-27 14:23 UTC (permalink / raw
  To: gentoo-commits

blueness    12/10/27 14:23:38

  Modified:             tor-0.2.4.5-fix-udef-ref-math.patch
  Log:
  Improve patch for bug #435040
  
  (Portage version: 2.1.11.30/cvs/Linux x86_64, signed Manifest commit with key 0xD0455535)

Revision  Changes    Path
1.2                  net-misc/tor/files/tor-0.2.4.5-fix-udef-ref-math.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tor/files/tor-0.2.4.5-fix-udef-ref-math.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tor/files/tor-0.2.4.5-fix-udef-ref-math.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tor/files/tor-0.2.4.5-fix-udef-ref-math.patch?r1=1.1&r2=1.2

Index: tor-0.2.4.5-fix-udef-ref-math.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/tor/files/tor-0.2.4.5-fix-udef-ref-math.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- tor-0.2.4.5-fix-udef-ref-math.patch	27 Oct 2012 02:33:56 -0000	1.1
+++ tor-0.2.4.5-fix-udef-ref-math.patch	27 Oct 2012 14:23:38 -0000	1.2
@@ -1,11 +1,31 @@
+Fix undefined reference to libm functions linking tor-fw-helper
+
+When configuring tor without upnp support, ie ./configure --disable-upnp,
+tor-fw-helper fails to link with undefined references to `ceil' and
+`log'.  This if fixed by linking to libm.
+
+X-Gentoo-Bug: 435040
+X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=435040
+Reported-by: Alexandre <alexandre.cortes@outlook.com>
+Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
+---
+
 diff -Naur tor-0.2.4.5-alpha.orig/src/tools/tor-fw-helper/include.am tor-0.2.4.5-alpha/src/tools/tor-fw-helper/include.am
---- tor-0.2.4.5-alpha.orig/src/tools/tor-fw-helper/include.am	2012-10-26 22:25:53.000000000 -0400
-+++ tor-0.2.4.5-alpha/src/tools/tor-fw-helper/include.am	2012-10-26 22:26:15.000000000 -0400
-@@ -31,6 +31,6 @@
- miniupnpc_cppflags =
+--- tor-0.2.4.5-alpha.orig/src/tools/tor-fw-helper/include.am	2012-10-26 00:39:27.000000000 -0400
++++ tor-0.2.4.5-alpha/src/tools/tor-fw-helper/include.am	2012-10-27 10:15:53.000000000 -0400
+@@ -23,7 +23,7 @@
+ 
+ if MINIUPNPC
+ miniupnpc_ldflags = @TOR_LDFLAGS_libminiupnpc@
+-miniupnpc_ldadd = -lminiupnpc -lm @TOR_LIB_IPHLPAPI@
++miniupnpc_ldadd = -lminiupnpc @TOR_LIB_IPHLPAPI@
+ miniupnpc_cppflags = @TOR_CPPFLAGS_libminiupnpc@
+ else
+ miniupnpc_ldflags =
+@@ -32,5 +32,5 @@
  endif
  
--src_tools_tor_fw_helper_tor_fw_helper_LDFLAGS = $(nat_pmp_ldflags) $(miniupnpc_ldflags)
-+src_tools_tor_fw_helper_tor_fw_helper_LDFLAGS = $(nat_pmp_ldflags) $(miniupnpc_ldflags) -lm
- src_tools_tor_fw_helper_tor_fw_helper_LDADD = src/common/libor.a $(nat_pmp_ldadd) $(miniupnpc_ldadd) @TOR_LIB_WS32@
+ src_tools_tor_fw_helper_tor_fw_helper_LDFLAGS = $(nat_pmp_ldflags) $(miniupnpc_ldflags)
+-src_tools_tor_fw_helper_tor_fw_helper_LDADD = src/common/libor.a $(nat_pmp_ldadd) $(miniupnpc_ldadd) @TOR_LIB_WS32@
++src_tools_tor_fw_helper_tor_fw_helper_LDADD = src/common/libor.a $(nat_pmp_ldadd) $(miniupnpc_ldadd) -lm @TOR_LIB_WS32@
  src_tools_tor_fw_helper_tor_fw_helper_CPPFLAGS = $(nat_pmp_cppflags) $(miniupnpc_cppflags)





^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-misc/tor/files: tor-0.2.4.5-fix-udef-ref-math.patch
@ 2012-11-13 12:47 Anthony G. Basile (blueness)
  0 siblings, 0 replies; 3+ messages in thread
From: Anthony G. Basile (blueness) @ 2012-11-13 12:47 UTC (permalink / raw
  To: gentoo-commits

blueness    12/11/13 12:47:58

  Removed:              tor-0.2.4.5-fix-udef-ref-math.patch
  Log:
  Version bump alpha, remove older, patch for bug #435040 accepted upstream
  
  (Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-13 15:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-27  2:33 [gentoo-commits] gentoo-x86 commit in net-misc/tor/files: tor-0.2.4.5-fix-udef-ref-math.patch Anthony G. Basile (blueness)
  -- strict thread matches above, loose matches on Subject: below --
2012-10-27 14:23 Anthony G. Basile (blueness)
2012-11-13 12:47 Anthony G. Basile (blueness)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox