summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-09 01:51:23 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-09 01:51:23 +0000
commitdaa05b5dec1715641c93066328f904cb69884b1f (patch)
treef4364cdceb3312e7ef1b90f7c07de6c7a29f7a17 /dev-libs/dietlibc/files
parentold funk master funk (diff)
downloadgentoo-2-daa05b5dec1715641c93066328f904cb69884b1f.tar.gz
gentoo-2-daa05b5dec1715641c93066328f904cb69884b1f.tar.bz2
gentoo-2-daa05b5dec1715641c93066328f904cb69884b1f.zip
Version bump.
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-libs/dietlibc/files')
-rw-r--r--dev-libs/dietlibc/files/dietlibc-0.28-Makefile.patch28
-rw-r--r--dev-libs/dietlibc/files/digest-dietlibc-0.281
-rw-r--r--dev-libs/dietlibc/files/gcc-33-r3.patch16
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-libs/dietlibc/files/dietlibc-0.28-Makefile.patch b/dev-libs/dietlibc/files/dietlibc-0.28-Makefile.patch
new file mode 100644
index 000000000000..7a0eb0028a30
--- /dev/null
+++ b/dev-libs/dietlibc/files/dietlibc-0.28-Makefile.patch
@@ -0,0 +1,28 @@
+--- Makefile
++++ Makefile
+@@ -1,5 +1,5 @@
+ INSTALL=install
+-prefix?=/opt/diet
++prefix=/usr/diet
+ # Set the following to install to a different root
+ #DESTDIR=/tmp/fefix
+ # Use "make DEBUG=1" to compile a debug version.
+@@ -95,7 +95,6 @@
+
+ profiling: $(OBJDIR)/libgmon.a $(OBJDIR)/pstart.o
+
+-CFLAGS=-pipe -nostdinc
+ CROSS=
+
+ CC=gcc
+@@ -126,10 +125,6 @@
+
+ LIBMATHOBJ=$(patsubst %,$(OBJDIR)/%,$(LIBMATH))
+
+-ifeq ($(CFLAGS),-pipe -nostdinc)
+-CFLAGS+=-O -fomit-frame-pointer
+-endif
+-
+ ifneq ($(DEBUG),)
+ CFLAGS = -g
+ COMMENT = :
diff --git a/dev-libs/dietlibc/files/digest-dietlibc-0.28 b/dev-libs/dietlibc/files/digest-dietlibc-0.28
new file mode 100644
index 000000000000..f7f494f8b2b6
--- /dev/null
+++ b/dev-libs/dietlibc/files/digest-dietlibc-0.28
@@ -0,0 +1 @@
+MD5 5be8e221a438817f83f73d09ce655883 dietlibc-0.28.tar.bz2 560540
diff --git a/dev-libs/dietlibc/files/gcc-33-r3.patch b/dev-libs/dietlibc/files/gcc-33-r3.patch
new file mode 100644
index 000000000000..1ccc1d4a98ff
--- /dev/null
+++ b/dev-libs/dietlibc/files/gcc-33-r3.patch
@@ -0,0 +1,16 @@
+--- diet.c
++++ diet.c
+@@ -26,8 +26,13 @@
+
+ static const char* Os[] = {
+ "i386","-Os","-mpreferred-stack-boundary=2",
++#if __GNUC__ >= 3
++ "-falign-functions=1","-falign-jumps=1",
++ "-falign-loops=1","-fomit-frame-pointer",0,
++#else
+ "-malign-functions=1","-malign-jumps=1",
+ "-malign-loops=1","-fomit-frame-pointer",0,
++#endif
+ "x86_64","-Os","-fno-omit-frame-pointer",0,
+ "sparc","-Os","-mcpu=supersparc",0,
+ "sparc64","-Os","-m64",0,