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 Sun 24 May 2015, 19:31
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

Joined: 18 May 2008
Posts: 4507

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.

--- 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...
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.

Filename  lcUTF8.zip 
Filesize  8.6 KB 
Downloaded  124 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:  

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: 13 (0.0039s) ][ GZIP on ]