Fixes a compilation error, and a segfault when building libgcc.  Taken from
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47099
http://gcc.gnu.org/ml/gcc-bugs/2013-01/msg01142.html
diff -Naur gcc-4.8.1.orig/gcc/config/i386/djgpp.h gcc-4.8.1/gcc/config/i386/djgpp.h
--- gcc-4.8.1.orig/gcc/config/i386/djgpp.h	2013-01-10 12:38:27.000000000 -0800
+++ gcc-4.8.1/gcc/config/i386/djgpp.h	2013-09-02 03:30:34.203545896 -0700
@@ -162,3 +162,10 @@
 /* Support for C++ templates.  */
 #undef MAKE_DECL_ONE_ONLY
 #define MAKE_DECL_ONE_ONLY(DECL) (DECL_WEAK (DECL) = 1)
+
+
+#undef ASM_DECLARE_FUNCTION_NAME
+#define ASM_DECLARE_FUNCTION_NAME(FILE, NAME, DECL)                     \
+  do {                                                                  \
+    ASM_OUTPUT_FUNCTION_LABEL (FILE, NAME, DECL);                       \
+  } while (0)
diff -Naur gcc-4.8.1.orig/gcc/config/i386/djgpp-stdint.h gcc-4.8.1/gcc/config/i386/djgpp-stdint.h
--- gcc-4.8.1.orig/gcc/config/i386/djgpp-stdint.h	2013-01-10 12:38:27.000000000 -0800
+++ gcc-4.8.1/gcc/config/i386/djgpp-stdint.h	2013-09-02 03:32:31.057550912 -0700
@@ -21,10 +21,10 @@
 
 /* Exact-width integer types */
 
-#define INT8_TYPE "signed char"
-#define INT16_TYPE "signed short int"
-#define INT32_TYPE "signed long int"
-#define INT64_TYPE "signed long long int"
+#define INT8_TYPE "char"
+#define INT16_TYPE "short int"
+#define INT32_TYPE "long int"
+#define INT64_TYPE "long long int"
 
 #define UINT8_TYPE "unsigned char"
 #define UINT16_TYPE "short unsigned int"
@@ -33,10 +33,10 @@
 
 /* Minimum-width integer types */
 
-#define INT_LEAST8_TYPE "signed char"
-#define INT_LEAST16_TYPE "signed short int"
-#define INT_LEAST32_TYPE "signed int"
-#define INT_LEAST64_TYPE "signed long long int"
+#define INT_LEAST8_TYPE "char"
+#define INT_LEAST16_TYPE "short int"
+#define INT_LEAST32_TYPE "int"
+#define INT_LEAST64_TYPE "long long int"
 
 #define UINT_LEAST8_TYPE "unsigned char"
 #define UINT_LEAST16_TYPE "short unsigned int"
@@ -45,10 +45,10 @@
 
 /* Fastest minimum-width integer types */
 
-#define INT_FAST8_TYPE "signed char"
-#define INT_FAST16_TYPE "signed int"
-#define INT_FAST32_TYPE "signed int"
-#define INT_FAST64_TYPE "long long signed int"
+#define INT_FAST8_TYPE "char"
+#define INT_FAST16_TYPE "int"
+#define INT_FAST32_TYPE "int"
+#define INT_FAST64_TYPE "long long int"
 
 #define UINT_FAST8_TYPE "unsigned char"
 #define UINT_FAST16_TYPE "unsigned int"
