[csw-devel] SF.net SVN: gar:[11693] csw/mgar/pkg/dia/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Mon Nov 22 17:18:07 CET 2010


Revision: 11693
          http://gar.svn.sourceforge.net/gar/?rev=11693&view=rev
Author:   dmichelsen
Date:     2010-11-22 16:18:07 +0000 (Mon, 22 Nov 2010)

Log Message:
-----------
dia: Add patch and check comment

Modified Paths:
--------------
    csw/mgar/pkg/dia/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/dia/trunk/files/0001-Make-sure-for-loop-is-not-empty.patch

Modified: csw/mgar/pkg/dia/trunk/Makefile
===================================================================
--- csw/mgar/pkg/dia/trunk/Makefile	2010-11-22 16:13:34 UTC (rev 11692)
+++ csw/mgar/pkg/dia/trunk/Makefile	2010-11-22 16:18:07 UTC (rev 11693)
@@ -10,12 +10,16 @@
 MASTER_SITES = $(GNOME_MIRROR)
 DISTFILES  = $(GARNAME)-$(GARVERSION).tar.bz2
 
+PATCHFILES = 0001-Make-sure-for-loop-is-not-empty.patch
+
 # File name regex to get notifications about upstream software releases
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 
 CONFIGURE_ARGS = $(DIRPATHS)
 
-TEST_TARGET = check
+# Tests for i386 fail in /Dia/Objects/Istar - goal/Copy with
+#   g_str_hash (100) + 16
+TEST_TARGET ?= check
 
 RUNTIME_DEP_PKGS_CSWdia += CSWlibxslt
 RUNTIME_DEP_PKGS_CSWdia += CSWlibatk

Added: csw/mgar/pkg/dia/trunk/files/0001-Make-sure-for-loop-is-not-empty.patch
===================================================================
--- csw/mgar/pkg/dia/trunk/files/0001-Make-sure-for-loop-is-not-empty.patch	                        (rev 0)
+++ csw/mgar/pkg/dia/trunk/files/0001-Make-sure-for-loop-is-not-empty.patch	2010-11-22 16:18:07 UTC (rev 11693)
@@ -0,0 +1,43 @@
+From 9a204d8f2275609a613bbb27f69c4155ef4a497a Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Mon, 22 Nov 2010 17:13:48 +0100
+Subject: [PATCH] Make sure for-loop is not empty
+
+---
+ doc/Makefile.in |    6 +++---
+ 1 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/doc/Makefile.in b/doc/Makefile.in
+index ec95c51..8c6aa6a 100644
+--- a/doc/Makefile.in
++++ b/doc/Makefile.in
+@@ -382,7 +382,7 @@ ctags-recursive:
+ 	done
+ 
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
++	list='x$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+ 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ 	  done | \
+@@ -408,7 +408,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
+ 	  fi; \
+ 	done; \
+-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
++	list='x$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+ 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ 	  done | \
+@@ -423,7 +423,7 @@ ctags: CTAGS
+ CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+ 	tags=; \
+-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
++	list='x$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+ 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ 	  done | \
+-- 
+1.7.3
+


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