Source: gnustep-base
Version: 1.22.1-4.2
Severity: important
Tags: patch
User: [email protected]
Usertags: hurd

Hi,

the attached solves the following problems
1) hurd.diff: FTBFS on hurd-i386 by defining  'MAXSYMLINKS'

2) Creation of documentation:
  a) manual.diff: Add dependency on texlive-latex-recommended to make font
     ecrm1095.{mf,tfm} available to create manual.info.
  b) add_DTDs.diff: Add paths to the DTDs to build the xml and
     html documentation 

Some tests fails on Hurd and then hangs so building with
DEB_BUILD_OPTIONS is recommended. (Seems like this package was built
wtihout checks also for other architectures)

I know that there is a newer version available in experimental, but
until then...
--- a/Source/NSString.m	2011-06-26 12:28:07.000000000 +0200
+++ b/Source/NSString.m	2013-12-19 04:33:22.000000000 +0100
@@ -469,6 +469,12 @@
 #ifdef HAVE_REGISTER_PRINTF_FUNCTION
 #include <stdio.h>
 #include <printf.h>
+#ifdef __GNU__
+#include <limits.h>
+#ifndef MAXSYMLINKS
+#define MAXSYMLINKS _POSIX_SYMLOOP_MAX
+#endif
+#endif
 
 /* <[email protected]>, with libc-5.3.9 thinks this
    flag PRINTF_ATSIGN_VA_LIST should be 0, but for me, with libc-5.0.9,
--- a/debian/control.m4	2013-12-19 04:12:37.000000000 +0100
+++ b/debian/control.m4	2013-12-19 12:32:52.000000000 +0100
@@ -20,6 +20,7 @@
 		     texinfo,
 		     texlive-base,
 		     texlive-latex-base,
+		     texlive-latex-recommended,
 		     xml-core
 Build-Conflicts: libgmp3-dev
 Homepage: http://gnustep.org
--- a/Source/DocMakefile	2011-03-13 13:52:37.000000000 +0100
+++ b/Source/DocMakefile	2013-12-19 16:31:20.000000000 +0100
@@ -179,6 +179,7 @@
 	-HeaderDirectory ../Headers/Foundation \
 	-Declared Foundation \
 	-Standards YES \
+	-DTDs ../Tools \
 	-ConstantsTemplate TypesAndConstants \
 	-FunctionsTemplate Functions \
 	-MacrosTemplate Functions \
--- a/Tools/DocMakefile	2011-02-14 11:57:57.000000000 +0100
+++ b/Tools/DocMakefile	2013-12-19 13:49:15.000000000 +0100
@@ -65,6 +65,7 @@
 	-DocumentationDirectory ../Documentation/BaseTools \
 	-HeaderDirectory ../Tools \
 	-Standards YES \
+	-DTDs ../Tools \
 	-WordMap '{\
 	FOUNDATION_EXPORT=extern;\
 	FOUNDATION_STATIC_INLINE="";\
--- a/Documentation/GNUmakefile	2011-03-19 00:11:20.000000000 +0100
+++ b/Documentation/GNUmakefile	2013-12-19 16:46:46.000000000 +0100
@@ -97,6 +97,7 @@
 # directory.
 #
 #ReleaseNotes_AGSDOC_FLAGS = -DocumentationDirectory .
+ReleaseNotes_AGSDOC_FLAGS = -DTDs ../Tools
 
 # Use local version of autogsdoc in case it is not installed
 AUTOGSDOC=../Tools/$(GNUSTEP_OBJ_DIR_NAME)/autogsdoc
--- a/Documentation/General/GNUmakefile	2008-12-19 13:53:30.000000000 +0100
+++ b/Documentation/General/GNUmakefile	2013-12-19 16:43:17.000000000 +0100
@@ -43,6 +43,7 @@
 # directory.
 #
 #General_AGSDOC_FLAGS = -DocumentationDirectory .
+General_AGSDOC_FLAGS = -DTDs ../../Tools
 
 # Use local version of autogsdoc in case it is not installed
 AUTOGSDOC=../../Tools/$(GNUSTEP_OBJ_DIR_NAME)/autogsdoc

Reply via email to