PageRenderTime 40ms CodeModel.GetById 12ms RepoModel.GetById 0ms app.codeStats 0ms

/libs/glib/patches/003-gcc-3.4-compat.patch

https://github.com/KomodoSystems/openwrt-packages
Patch | 22 lines | 19 code | 3 blank | 0 comment | 0 complexity | 10525a1066998e87ea9945712e380c39 MD5 | raw file
  1. Submitted By: Uwe Düffert (lfs at uwe-dueffert dot de)
  2. Date: 2004-05-15
  3. Initial Package Version: 1.2.10
  4. Origin: self-created, http://www.uwe-dueffert.de/lfs/ownpatches/glib-1.2.10-gcc34-1.patch
  5. Upstream Status: not reported
  6. Description: fix compilation of glib1 with gcc34
  7. $LastChangedBy: pavlov $
  8. $Date: 2007-03-05 02:34:12 +0100 (Mon, 05 Mar 2007) $
  9. diff -Naur glib-1.2.10.orig/gstrfuncs.c glib-1.2.10/gstrfuncs.c
  10. --- glib-1.2.10.orig/gstrfuncs.c 2004-05-15 13:40:03.556092792 +0000
  11. +++ glib-1.2.10/gstrfuncs.c 2004-05-15 13:40:36.712052320 +0000
  12. @@ -47,6 +47,8 @@
  13. * inteferes with g_strsignal() on some OSes
  14. */
  15. +#define G_GNUC_PRETTY_FUNCTION
  16. +
  17. typedef union _GDoubleIEEE754 GDoubleIEEE754;
  18. #define G_IEEE754_DOUBLE_BIAS (1023)
  19. /* multiply with base2 exponent to get base10 exponent (nomal numbers) */