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 Thu 02 Oct 2014, 01:04
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 Posts_count_1  
Author Message
technosaurus


Joined: 18 May 2008
Posts: 4351

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  109 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Off-Topic Area » Programming
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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