From e213c74dad16887c4b79aeef047877203e084b07 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 23 Dec 2006 07:53:31 +0000 Subject: updated patch collection to apply and build against stable_0_40, which is currently at 0.40.1 svn path=/trunk/; revision=7049 --- .../patches/complete_version_defines-0.39.2.patch | 55 ---------------------- 1 file changed, 55 deletions(-) delete mode 100644 packages/patches/complete_version_defines-0.39.2.patch (limited to 'packages/patches/complete_version_defines-0.39.2.patch') diff --git a/packages/patches/complete_version_defines-0.39.2.patch b/packages/patches/complete_version_defines-0.39.2.patch deleted file mode 100644 index 605ba3ba..00000000 --- a/packages/patches/complete_version_defines-0.39.2.patch +++ /dev/null @@ -1,55 +0,0 @@ -Index: m_pd.h -=================================================================== -RCS file: /cvsroot/pure-data/pd/src/m_pd.h,v -retrieving revision 1.8 -diff -u -w -r1.8 m_pd.h ---- m_pd.h 19 Aug 2005 23:28:03 -0000 1.8 -+++ m_pd.h 19 Mar 2006 04:13:32 -0000 -@@ -10,6 +10,8 @@ - - #define PD_MAJOR_VERSION 0 - #define PD_MINOR_VERSION 39 -+#define PD_BUGFIX_VERSION 2 -+#define PD_TEST_VERSION "" - - /* old name for "MSW" flag -- we have to take it for the sake of many old - "nmakefiles" for externs, which will define NT and not MSW */ -Index: s_main.c -=================================================================== -RCS file: /cvsroot/pure-data/pd/src/s_main.c,v -retrieving revision 1.20 -diff -u -w -r1.20 s_main.c ---- s_main.c 2 Dec 2005 04:58:24 -0000 1.20 -+++ s_main.c 19 Mar 2006 04:13:32 -0000 -@@ -2,10 +2,6 @@ - * For information on usage and redistribution, and for a DISCLAIMER OF ALL - * WARRANTIES, see the file, "LICENSE.txt," in this distribution. */ - --char pd_version[] = "Pd version 0.39-2\n"; --char pd_compiletime[] = __TIME__; --char pd_compiledate[] = __DATE__; -- - #include "m_pd.h" - #include "m_imp.h" - #include "s_stuff.h" -@@ -26,6 +22,10 @@ - #include - #endif - -+char pd_version[256]; -+char pd_compiletime[] = __TIME__; -+char pd_compiledate[] = __DATE__; -+ - void pd_init(void); - int sys_argparse(int argc, char **argv); - void sys_findprogdir(char *progname); -@@ -254,6 +254,9 @@ - if (sys_argparse(argc-1, argv+1)) /* parse cmd line */ - return (1); - sys_afterargparse(); /* post-argparse settings */ -+ /* build version string from defines in m_pd.h */ -+ sprintf(pd_version, "Pd version %d.%d-%d%s\n",PD_MAJOR_VERSION, -+ PD_MINOR_VERSION,PD_BUGFIX_VERSION,PD_TEST_VERSION); - if (sys_verbose || sys_version) fprintf(stderr, "%scompiled %s %s\n", - pd_version, pd_compiletime, pd_compiledate); - if (sys_version) /* if we were just asked our version, exit here. */ -- cgit v1.2.1