SF.net SVN: gar:[24215] csw/mgar/pkg/tor/branches/alpha
jake_goerzen at users.sourceforge.net
jake_goerzen at users.sourceforge.net
Sun Oct 26 22:03:29 CET 2014
Revision: 24215
http://sourceforge.net/p/gar/code/24215
Author: jake_goerzen
Date: 2014-10-26 21:03:28 +0000 (Sun, 26 Oct 2014)
Log Message:
-----------
tor/branches/alpha: fix mispelling in patch
Modified Paths:
--------------
csw/mgar/pkg/tor/branches/alpha/Makefile
Added Paths:
-----------
csw/mgar/pkg/tor/branches/alpha/files/0001-add-test-to-detect-we-are-on-Solaris.patch
Modified: csw/mgar/pkg/tor/branches/alpha/Makefile
===================================================================
--- csw/mgar/pkg/tor/branches/alpha/Makefile 2014-10-26 19:45:50 UTC (rev 24214)
+++ csw/mgar/pkg/tor/branches/alpha/Makefile 2014-10-26 21:03:28 UTC (rev 24215)
@@ -15,7 +15,7 @@
MASTER_SITES = http://www.torproject.org/dist/
DISTFILES = $(DISTNAME).tar.gz
-PATCHFILES += 0001-add-test-to-detech-we-are-on-Solaris.patch
+PATCHFILES += 0001-add-test-to-detect-we-are-on-Solaris.patch
# File name regex to get notifications about upstream software releases
UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
Added: csw/mgar/pkg/tor/branches/alpha/files/0001-add-test-to-detect-we-are-on-Solaris.patch
===================================================================
--- csw/mgar/pkg/tor/branches/alpha/files/0001-add-test-to-detect-we-are-on-Solaris.patch (rev 0)
+++ csw/mgar/pkg/tor/branches/alpha/files/0001-add-test-to-detect-we-are-on-Solaris.patch 2014-10-26 21:03:28 UTC (rev 24215)
@@ -0,0 +1,28 @@
+From 12209beaed0135b2bf11669cfc7ea27c2b36094f Mon Sep 17 00:00:00 2001
+From: Jake Goerzen <jgoerzen at opencsw.org>
+Date: Thu, 24 Apr 2014 18:57:38 +0200
+Subject: [PATCH] add test to detect we are on Solaris
+
+---
+ src/test/test_bt_cl.c | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/src/test/test_bt_cl.c b/src/test/test_bt_cl.c
+index 45ae82f..7352e9e 100644
+--- a/src/test/test_bt_cl.c
++++ b/src/test/test_bt_cl.c
+@@ -20,6 +20,11 @@ static int crashtype = 0;
+ #define NORETURN __attribute__((noreturn))
+ #endif
+
++#if defined(__sun) && defined(__SVR4)
++#define NOINLINE __attribute__((noinline))
++#define NORETURN __attribute__((noreturn))
++#endif
++
+ int crash(int x) NOINLINE;
+ int oh_what(int x) NOINLINE;
+ int a_tangled_web(int x) NOINLINE;
+--
+1.8.4.1
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list