[csw-devel] SF.net SVN: gar:[7455] csw/mgar/pkg

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Nov 26 13:26:31 CET 2009


Revision: 7455
          http://gar.svn.sourceforge.net/gar/?rev=7455&view=rev
Author:   dmichelsen
Date:     2009-11-26 12:26:31 +0000 (Thu, 26 Nov 2009)

Log Message:
-----------
fortune4all: Commit for now, not good, not finished

Added Paths:
-----------
    csw/mgar/pkg/fortune4all/
    csw/mgar/pkg/fortune4all/branches/
    csw/mgar/pkg/fortune4all/tags/
    csw/mgar/pkg/fortune4all/trunk/
    csw/mgar/pkg/fortune4all/trunk/Makefile
    csw/mgar/pkg/fortune4all/trunk/checksums
    csw/mgar/pkg/fortune4all/trunk/files/
    csw/mgar/pkg/fortune4all/trunk/files/0001-Fix-for-Sun-CC.patch


Property changes on: csw/mgar/pkg/fortune4all/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/fortune4all/trunk/Makefile
===================================================================
--- csw/mgar/pkg/fortune4all/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/fortune4all/trunk/Makefile	2009-11-26 12:26:31 UTC (rev 7455)
@@ -0,0 +1,35 @@
+GARNAME = fortune4all
+GARVERSION = 1023
+CATEGORIES = utils
+
+DESCRIPTION = 
+define BLURB
+  Long description
+endef
+
+MASTER_SITES = $(SF_MIRRORS)
+DISTFILES = Fortune4All-src-$(GARVERSION).zip
+#DISTFILES += fortune.zip
+DISTFILES += fortune_big.zip
+#DISTFILES += greek-fortunes.zip
+
+PATCHFILES = 0001-Fix-for-Sun-CC.patch
+
+# We define upstream file regex so we can be notifed of new upstream software release
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+
+LICENSE = license
+
+DISTNAME = Fortune
+
+CONFIGURE_SCRIPTS = 
+
+BUILD_ARGS = CC="$(CC)" CFLAGS="$(CFLAGS)"
+
+TEST_SCRIPTS =
+
+INSTALL_SCRIPTS = custom
+
+include gar/category.mk
+
+

Added: csw/mgar/pkg/fortune4all/trunk/checksums
===================================================================
--- csw/mgar/pkg/fortune4all/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/fortune4all/trunk/checksums	2009-11-26 12:26:31 UTC (rev 7455)
@@ -0,0 +1,3 @@
+c50398d1590b74bc2ab7bf1d966ec9ac  0001-Fix-for-Sun-CC.patch
+4dedf3154ed693e0abd35e818ce577e8  Fortune4All-src-1023.zip
+a187d3663fc9517e08785dd0f4bd2a0c  fortune_big.zip

Added: csw/mgar/pkg/fortune4all/trunk/files/0001-Fix-for-Sun-CC.patch
===================================================================
--- csw/mgar/pkg/fortune4all/trunk/files/0001-Fix-for-Sun-CC.patch	                        (rev 0)
+++ csw/mgar/pkg/fortune4all/trunk/files/0001-Fix-for-Sun-CC.patch	2009-11-26 12:26:31 UTC (rev 7455)
@@ -0,0 +1,38 @@
+From c2f3273c69fc4982a2429e03fdb8a952c7a6f166 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Thu, 26 Nov 2009 13:19:22 +0100
+Subject: [PATCH] Fix for Sun CC
+
+---
+ Fortune.c |    2 +-
+ panic.c   |    1 +
+ 2 files changed, 2 insertions(+), 1 deletions(-)
+
+diff --git a/Fortune.c b/Fortune.c
+index 20538f5..096aa0d 100644
+--- a/Fortune.c
++++ b/Fortune.c
+@@ -78,7 +78,7 @@ int main()
+ 	 */
+ 	(void)memset(data,'\0',DATA_SZ); 
+     }
+-#elif
++#endif
+ #else
+     (void)ReadFortune(data, cur_for++);
+     printf("%s\n\n\n",data);
+diff --git a/panic.c b/panic.c
+index 094df29..58bbfcf 100644
+--- a/panic.c
++++ b/panic.c
+@@ -7,6 +7,7 @@
+ #include <stdarg.h>
+ #include <string.h>
+ #include <stdlib.h>
++#include <unistd.h>
+ 
+ static char panic_buf[1024];
+ /*
+-- 
+1.6.5.1
+


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