Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 29 Nov 2014, 05:48
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Place to Post Puppy Patches
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
technosaurus


Joined: 18 May 2008
Posts: 4380

PostPosted: Thu 24 Mar 2011, 11:33    Post subject:  Place to Post Puppy Patches  

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:
--- 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...
lcUTF8.zip
Description  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.
zip

 Download 
Filename  lcUTF8.zip 
Filesize  8.6 KB 
Downloaded  112 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0367s ][ Queries: 12 (0.0033s) ][ GZIP on ]