[Pkg-erlang-commits] r1747 - in erlang/trunk/debian: . patches

sgolovan at alioth.debian.org sgolovan at alioth.debian.org
Sun Dec 27 05:08:01 UTC 2015


Author: sgolovan
Date: 2015-12-27 05:08:00 +0000 (Sun, 27 Dec 2015)
New Revision: 1747

Added:
   erlang/trunk/debian/patches/gethostbyname.patch
Modified:
   erlang/trunk/debian/changelog
   erlang/trunk/debian/patches/series
Log:
[erlang]
  * Fixed FTBFS for GNU/kFreeBSD and GNU/Hurd due to incorrectly checked
    presence of gethostname_r() function.


Modified: erlang/trunk/debian/changelog
===================================================================
--- erlang/trunk/debian/changelog	2015-12-20 19:03:20 UTC (rev 1746)
+++ erlang/trunk/debian/changelog	2015-12-27 05:08:00 UTC (rev 1747)
@@ -1,8 +1,9 @@
-erlang (1:18.2-dfsg-2) UNRELEASED; urgency=medium
+erlang (1:18.2-dfsg-2) unstable; urgency=medium
 
-  * NOT RELEASED YET
+  * Fixed FTBFS for GNU/kFreeBSD and GNU/Hurd due to incorrectly checked
+    presence of gethostname_r() function.
 
- -- Sergei Golovan <sgolovan at debian.org>  Sun, 20 Dec 2015 22:03:18 +0300
+ -- Sergei Golovan <sgolovan at debian.org>  Sun, 27 Dec 2015 08:06:54 +0300
 
 erlang (1:18.2-dfsg-1) unstable; urgency=medium
 

Added: erlang/trunk/debian/patches/gethostbyname.patch
===================================================================
--- erlang/trunk/debian/patches/gethostbyname.patch	                        (rev 0)
+++ erlang/trunk/debian/patches/gethostbyname.patch	2015-12-27 05:08:00 UTC (rev 1747)
@@ -0,0 +1,15 @@
+Author: Sergei Golovan
+Description: Patch fixes FTBFS on GNU/kFreeBSD and GNU/Hurd.
+Last-Modified: Sun, 27 Dec 2015 08:05:22 +0300
+
+--- a/lib/erl_interface/src/connect/ei_resolve.c
++++ b/lib/erl_interface/src/connect/ei_resolve.c
+@@ -607,7 +607,7 @@
+  *
+  * TODO: check this properly in configure.in
+  */
+-#if (defined(__linux__) || (__FreeBSD_version >= 602000) || defined(__DragonFly__))
++#if (defined(__GLIBC__) || defined(__linux__) || (__FreeBSD_version >= 602000) || defined(__DragonFly__))
+     #define HAVE_GETHOSTBYADDR_R_8   1
+ #endif
+ 

Modified: erlang/trunk/debian/patches/series
===================================================================
--- erlang/trunk/debian/patches/series	2015-12-20 19:03:20 UTC (rev 1746)
+++ erlang/trunk/debian/patches/series	2015-12-27 05:08:00 UTC (rev 1747)
@@ -10,3 +10,4 @@
 wx3.0-constants.patch
 beamload.patch
 reproducible-build.patch
+gethostbyname.patch




More information about the Pkg-erlang-commits mailing list