File freqtweak-gcc43-fixes.diff of Package freqtweak

---
 configure.ac   |    7 +++++++
 src/ftlogo.xpm |    2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

--- a/src/ftlogo.xpm
+++ b/src/ftlogo.xpm
@@ -1,5 +1,5 @@
 /* XPM */
-static char * ftlogo_xpm[] = {
+static const char * ftlogo_xpm[] = {
 "70 40 752 2",
 "  	c None",
 ". 	c #D6D6D6",
--- a/configure.ac
+++ b/configure.ac
@@ -393,6 +393,13 @@
 doc/Makefile
 ])
 
+echo 'Hacking config.h'
+echo '#ifndef FREQTWEAK_CONFIG_H_INC
+#define FREQTWEAK_CONFIG_H_INC' > config.h.new
+grep -v '#define PACKAGE ' config.h | grep -v '#define VERSION ' >> config.h.new
+echo '#endif' >> config.h.new
+mv config.h.new config.h
+
 echo 
 
 echo Now type \'make\' to build FreqTweak.