From c50af0d647849d50a4fbbe44aa855455b92c80fd Mon Sep 17 00:00:00 2001
From: Russell Bryant <russellbryant@users.sourceforge.net>
Date: Thu, 10 Jan 2008 03:59:30 +0000
Subject: rename file from buildversion to makeversion to match actual function
 name

svn path=/trunk/; revision=9146
---
 .../patches/buildversion_tweak-0.41.0-test10.patch | 23 ----------------------
 .../patches/makeversion_tweak-0.41.0-test10.patch  | 23 ++++++++++++++++++++++
 2 files changed, 23 insertions(+), 23 deletions(-)
 delete mode 100644 packages/patches/buildversion_tweak-0.41.0-test10.patch
 create mode 100644 packages/patches/makeversion_tweak-0.41.0-test10.patch

diff --git a/packages/patches/buildversion_tweak-0.41.0-test10.patch b/packages/patches/buildversion_tweak-0.41.0-test10.patch
deleted file mode 100644
index 7868269b..00000000
--- a/packages/patches/buildversion_tweak-0.41.0-test10.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Index: s_main.c
-===================================================================
-RCS file: /cvsroot/pure-data/pd/src/s_main.c,v
-retrieving revision 1.28.6.6
-diff -u -r1.28.6.6 s_main.c
---- s_main.c	6 Jan 2008 04:19:15 -0000	1.28.6.6
-+++ s_main.c	6 Jan 2008 04:29:01 -0000
-@@ -249,10 +249,11 @@
- static void pd_makeversion(void)
- {
-     char foo[100];
--    sprintf(foo,  "Pd version %d.%d-%d%s\n",PD_MAJOR_VERSION,
--        PD_MINOR_VERSION,PD_BUGFIX_VERSION,PD_TEST_VERSION);
--    pd_version = malloc(strlen(foo)+1);
--    strcpy(pd_version, foo);
-+
-+    snprintf(foo, sizeof(foo), "Pd version %d.%d-%d%s\n", PD_MAJOR_VERSION,
-+        PD_MINOR_VERSION, PD_BUGFIX_VERSION, PD_TEST_VERSION);
-+	
-+    pd_version = strdup(foo);
- }
- 
- /* this is called from main() in s_entry.c */
diff --git a/packages/patches/makeversion_tweak-0.41.0-test10.patch b/packages/patches/makeversion_tweak-0.41.0-test10.patch
new file mode 100644
index 00000000..7868269b
--- /dev/null
+++ b/packages/patches/makeversion_tweak-0.41.0-test10.patch
@@ -0,0 +1,23 @@
+Index: s_main.c
+===================================================================
+RCS file: /cvsroot/pure-data/pd/src/s_main.c,v
+retrieving revision 1.28.6.6
+diff -u -r1.28.6.6 s_main.c
+--- s_main.c	6 Jan 2008 04:19:15 -0000	1.28.6.6
++++ s_main.c	6 Jan 2008 04:29:01 -0000
+@@ -249,10 +249,11 @@
+ static void pd_makeversion(void)
+ {
+     char foo[100];
+-    sprintf(foo,  "Pd version %d.%d-%d%s\n",PD_MAJOR_VERSION,
+-        PD_MINOR_VERSION,PD_BUGFIX_VERSION,PD_TEST_VERSION);
+-    pd_version = malloc(strlen(foo)+1);
+-    strcpy(pd_version, foo);
++
++    snprintf(foo, sizeof(foo), "Pd version %d.%d-%d%s\n", PD_MAJOR_VERSION,
++        PD_MINOR_VERSION, PD_BUGFIX_VERSION, PD_TEST_VERSION);
++	
++    pd_version = strdup(foo);
+ }
+ 
+ /* this is called from main() in s_entry.c */
-- 
cgit v1.2.1