Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 15205] Remove gcc34 dependency of gnuchess

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 15205] Remove gcc34 dependency of gnuchess
  • Date: 2 May 2009 15:46:23 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=15205





--- Comment #1 from Charles <chp516 AT gmail.com> 2009-05-02 10:46:22 ---
Patch for the spell. Please modify anything apparently wrong

diff -urN gnuchess.orig/DETAILS gnuchess/DETAILS
--- gnuchess.orig/DETAILS 2009-05-02 23:45:34.000000000 +0800
+++ gnuchess/DETAILS 2009-05-02 23:38:00.000000000 +0800
@@ -1,6 +1,5 @@
SPELL=gnuchess
VERSION=5.07
- GCC_VERSION=3.4
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE2=$SOURCE.sig
SOURCE_GPG="gnu.gpg:$SOURCE2:UPSTREAM_KEY"
diff -urN gnuchess.orig/gcc4.patch gnuchess/gcc4.patch
--- gnuchess.orig/gcc4.patch 1970-01-01 08:00:00.000000000 +0800
+++ gnuchess/gcc4.patch 2009-05-02 23:23:11.000000000 +0800
@@ -0,0 +1,11 @@
+diff -uprN gnuchess-5.07.orig/src/common.h gnuchess-5.07/src/common.h
+--- gnuchess-5.07.orig/src/common.h 2009-05-02 21:50:59.000000000 +0800
++++ gnuchess-5.07/src/common.h 2009-05-02 21:51:14.000000000 +0800
+@@ -716,7 +716,6 @@ void DBTest (void);
+
+ /* Input thread and thread function */
+ #include <pthread.h>
+-extern pthread_t input_thread;
+ void *input_func(void *);
+
+ /*
diff -urN gnuchess.orig/HISTORY gnuchess/HISTORY
--- gnuchess.orig/HISTORY 2009-05-02 23:45:34.000000000 +0800
+++ gnuchess/HISTORY 2009-05-02 23:38:35.000000000 +0800
@@ -1,3 +1,9 @@
+2009-05-02 Charles Peng <chp516 AT gmail.com>
+ * gcc4.patch: patch for gcc4 compatibility
+ * PRE_BUILD: patching the file
+ * DEPENDS: removed gcc34 depeds
+ * DETAILS: removed GCC_VERSION=3.4
+
2009-04-12 Eric Sandall <sandalle AT sourcemage.org>
* DETAILS: Updated to 5.07
Use upstream GPG key
diff -urN gnuchess.orig/PRE_BUILD gnuchess/PRE_BUILD
--- gnuchess.orig/PRE_BUILD 1970-01-01 08:00:00.000000000 +0800
+++ gnuchess/PRE_BUILD 2009-05-02 23:44:54.000000000 +0800
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+
+patch -p1 < $SCRIPT_DIRECTORY/gcc4.patch

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




Archive powered by MHonArc 2.6.24.

Top of Page