SF.net SVN: gar:[22626] csw/mgar/pkg/yodl/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Dec 3 23:12:14 CET 2013


Revision: 22626
          http://gar.svn.sourceforge.net/gar/?rev=22626&view=rev
Author:   dmichelsen
Date:     2013-12-03 22:12:13 +0000 (Tue, 03 Dec 2013)
Log Message:
-----------
yodl/trunk: Some finishing

Modified Paths:
--------------
    csw/mgar/pkg/yodl/trunk/Makefile
    csw/mgar/pkg/yodl/trunk/files/0002-realpath-does-not-like-second-argument-to-be-NULL-on.patch

Modified: csw/mgar/pkg/yodl/trunk/Makefile
===================================================================
--- csw/mgar/pkg/yodl/trunk/Makefile	2013-12-03 21:38:24 UTC (rev 22625)
+++ csw/mgar/pkg/yodl/trunk/Makefile	2013-12-03 22:12:13 UTC (rev 22626)
@@ -16,11 +16,28 @@
 
 EXPANDVARS += INSTALL.im
 
+BUILD_DEP_PKGS += CSWicmake
+# For epsf.sty
+BUILD_DEP_PKGS += CSWtexlive-generic-recommended
+
+PACKAGES += CSWyodl
+SPKG_DESC_CSWyodl = Your Own Document Language
+# PKGFILES is catchall
+
+# This is really just a comment
+CHECKPKG_OVERRIDES_CSWyodl += file-with-bad-content|/usr/local|root/opt/csw/bin/yodl2whatever
+
 REINPLACEMENTS += icmake
 REINPLACE_MATCH_icmake = /usr/bin/icmake
 REINPLACE_WITH_icmake = $(bindir)/icmake
 REINPLACE_FILES_icmake += build
 
+# There is a dependency between the directory layout depth and the path depth here, very ugly
+REINPLACEMENTS += xlatin1
+REINPLACE_MATCH_xlatin1 = ../../../../../wip/macros/xlatin1.tex
+REINPLACE_WITH_xlatin1 = ../../../../../../wip/macros/xlatin1.tex
+REINPLACE_FILES_xlatin1 += manual/yo/manual.yo
+
 CONFIGURE_SCRIPTS = custom
 BUILD_SCRIPTS = custom
 TEST_SCRIPTS =

Modified: csw/mgar/pkg/yodl/trunk/files/0002-realpath-does-not-like-second-argument-to-be-NULL-on.patch
===================================================================
--- csw/mgar/pkg/yodl/trunk/files/0002-realpath-does-not-like-second-argument-to-be-NULL-on.patch	2013-12-03 21:38:24 UTC (rev 22625)
+++ csw/mgar/pkg/yodl/trunk/files/0002-realpath-does-not-like-second-argument-to-be-NULL-on.patch	2013-12-03 22:12:13 UTC (rev 22626)
@@ -1,23 +1,25 @@
-From bc05f7210190d5e757f78c375d5566f9412f3590 Mon Sep 17 00:00:00 2001
+From 707ba96fd821b215a03478f3d9acde08cd53714a Mon Sep 17 00:00:00 2001
 From: Dagobert Michelsen <dam at opencsw.org>
-Date: Tue, 3 Dec 2013 22:37:07 +0100
-Subject: [PATCH] realpath does not like second argument to be NULL on Solaris
+Date: Tue, 3 Dec 2013 22:47:57 +0100
+Subject: [PATCH] realpath does not like seocnds argument to be NULL on Solaris
 
 ---
- src/lexer/lchdir.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
+ src/lexer/lchdir.c | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
 
 diff --git a/src/lexer/lchdir.c b/src/lexer/lchdir.c
-index afa3a0a..3117d23 100644
+index afa3a0a..df23ff8 100644
 --- a/src/lexer/lchdir.c
 +++ b/src/lexer/lchdir.c
-@@ -6,8 +6,9 @@ void l_noChdir(Lexer *lp, char const *pathname)
+@@ -6,8 +6,10 @@ void l_noChdir(Lexer *lp, char const *pathname)
  void l_chdir(Lexer *lp, char const *pathname)
  {
  // fprintf(stderr, "CHANGING WD\n");
-+    char resolved_name[PATH_MAX];
-  
+- 
 -    char *resolved = realpath(media_filename(lp->d_media_ptr), NULL);
++    char *resolved_name;
++  
++    resolved_name = malloc(PATH_MAX);
 +    char *resolved = realpath(media_filename(lp->d_media_ptr), resolved_name);
  
      if (resolved == NULL)

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