[csw-devel] SF.net SVN: gar:[21975] csw/mgar/pkg/sasl/trunk
chninkel at users.sourceforge.net
chninkel at users.sourceforge.net
Sat Sep 21 16:02:30 CEST 2013
Revision: 21975
http://gar.svn.sourceforge.net/gar/?rev=21975&view=rev
Author: chninkel
Date: 2013-09-21 14:02:30 +0000 (Sat, 21 Sep 2013)
Log Message:
-----------
sasl/trunk: added a patch to workaround gethostname redefinition in sasl source
Modified Paths:
--------------
csw/mgar/pkg/sasl/trunk/Makefile
Added Paths:
-----------
csw/mgar/pkg/sasl/trunk/files/0003-remove-gethostname-re-definition-on-sun.patch
Modified: csw/mgar/pkg/sasl/trunk/Makefile
===================================================================
--- csw/mgar/pkg/sasl/trunk/Makefile 2013-09-21 14:01:28 UTC (rev 21974)
+++ csw/mgar/pkg/sasl/trunk/Makefile 2013-09-21 14:02:30 UTC (rev 21975)
@@ -36,6 +36,9 @@
# patch libtool discards -R options passed with LDFLAGS
PATCHFILES += ltmain.diff
+# sasl thinks it must define gethostname on Solaris but
+# it's not the case
+PATCHFILES += 0003-remove-gethostname-re-definition-on-sun.patch
VENDOR_URL = http://asg.web.cmu.edu/sasl/
Added: csw/mgar/pkg/sasl/trunk/files/0003-remove-gethostname-re-definition-on-sun.patch
===================================================================
--- csw/mgar/pkg/sasl/trunk/files/0003-remove-gethostname-re-definition-on-sun.patch (rev 0)
+++ csw/mgar/pkg/sasl/trunk/files/0003-remove-gethostname-re-definition-on-sun.patch 2013-09-21 14:02:30 UTC (rev 21975)
@@ -0,0 +1,28 @@
+From 48ff17f70e0c9caf46eec2623de5532c60e5a847 Mon Sep 17 00:00:00 2001
+From: Yann Rouillard <yann at pleiades.fr.eu.org>
+Date: Sat, 21 Sep 2013 16:46:07 +0200
+Subject: [PATCH] remove gethostname re-definition on sun
+
+---
+ lib/saslutil.c | 5 -----
+ 1 file changed, 5 deletions(-)
+
+diff --git a/lib/saslutil.c b/lib/saslutil.c
+index 6174124..00c76b4 100644
+--- a/lib/saslutil.c
++++ b/lib/saslutil.c
+@@ -80,11 +80,6 @@
+ * sasl_erasebuffer
+ */
+
+-#ifdef sun
+-/* gotta define gethostname ourselves on suns */
+-extern int gethostname(char *, int);
+-#endif
+-
+ char *encode_table;
+ char *decode_table;
+
+--
+1.8.3.4
+
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