Place to Post Puppy Patches

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

Place to Post Puppy Patches

#1 Post by technosaurus »

It can be painful to try and find patches that are scattered about the web. If you find a good one, post it here.

Here is a short one that allows glibc to compile with -Os = 10-20% size reduction.

Code: Select all

--- io/sys/stat.h.old   2010-11-01 22:06:35.795362000 +0000 
+++ io/sys/stat.h   2010-11-01 22:02:19.495346000 +0000 
@@ -448,7 +448,7 @@ 
              __mode_t __mode, __dev_t *__dev) 
      __THROW __nonnull ((3, 5)); 
  
-#if defined __GNUC__ && __GNUC__ >= 2 && defined __USE_EXTERN_INLINES 
+#if defined __GNUC__ && __GNUC__ >= 2 
 /* Inlined versions of the real stat and mknod functions.  */ 
  
 __extern_inline int
Edit:may want to run sed on make files to remove hard coded -O[0-3]

More to follow...
Attachments
lcUTF8.zip
modified to remove "large" locales = 40% size reduction
A proper patch to libX11 to just use iconv is needed
(this code comes from there anyways)
... and part of GSOC if anyone is interested.
(8.6 KiB) Downloaded 169 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

Post Reply