[pkg-boost-commits] r14262 - in boost/trunk/debian: . patches
smr at alioth.debian.org
smr at alioth.debian.org
Sat Aug 9 11:07:06 UTC 2008
Author: smr
Date: 2008-08-09 11:07:06 +0000 (Sat, 09 Aug 2008)
New Revision: 14262
Modified:
boost/trunk/debian/changelog
boost/trunk/debian/patches/avoid-PATH_MAX.patch
Log:
Define symbol _GNU_SOURCE in order that get_current_dir_name() is declared.
Modified: boost/trunk/debian/changelog
===================================================================
--- boost/trunk/debian/changelog 2008-08-06 05:41:22 UTC (rev 14261)
+++ boost/trunk/debian/changelog 2008-08-09 11:07:06 UTC (rev 14262)
@@ -1,3 +1,11 @@
+boost1.35 (1.35.0-7) experimental; urgency=low
+
+ * debian/patches/avoid-PATH_MAX.patch: Define symbol _GNU_SOURCE in
+ order that get_current_dir_name() is declared. Should fix the build
+ failure #494346.
+
+ -- Steve M. Robbins <smr at debian.org> Sat, 09 Aug 2008 06:06:15 -0500
+
boost1.35 (1.35.0-6) experimental; urgency=low
[ Steve M. Robbins ]
Modified: boost/trunk/debian/patches/avoid-PATH_MAX.patch
===================================================================
--- boost/trunk/debian/patches/avoid-PATH_MAX.patch 2008-08-06 05:41:22 UTC (rev 14261)
+++ boost/trunk/debian/patches/avoid-PATH_MAX.patch 2008-08-09 11:07:06 UTC (rev 14262)
@@ -1,6 +1,16 @@
--- boost1.35-1.35.0.orig/tools/jam/src/pwd.c
+++ boost1.35-1.35.0/tools/jam/src/pwd.c
-@@ -24,7 +24,9 @@
+@@ -2,6 +2,9 @@
+ /* Software License, Version 1.0. (See accompanying */
+ /* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */
+
++/* Define _GNU_SOURCE to expose get_current_dir_name() */
++#define _GNU_SOURCE
++
+ #include "jam.h"
+ #include "lists.h"
+ #include "newstr.h"
+@@ -24,7 +27,9 @@
/* The current directory can't change in bjam, so optimize this to cache
** the result.
*/
@@ -10,7 +20,7 @@
static char * pwd_result = NULL;
-@@ -33,11 +35,16 @@
+@@ -33,11 +38,16 @@
{
if (!pwd_result)
{
@@ -27,7 +37,7 @@
else
{
#ifdef NT
-@@ -46,6 +53,7 @@
+@@ -46,6 +56,7 @@
pwd_result = newstr(pwd_buffer);
#endif
}
More information about the pkg-boost-commits
mailing list