diff options
author | 2011-05-23 17:57:20 -0400 | |
---|---|---|
committer | 2011-05-23 17:57:20 -0400 | |
commit | e9feb6dad37d3989f85f3e73ba348e9ff6191f25 (patch) | |
tree | 8db7f72b46a8e864ba54b02d832e71ceea58df3c /dev-util/eresi/files | |
parent | dev-util/eresi: moved from sunrise overlay for testing before being introduce... (diff) | |
download | blueness-e9feb6dad37d3989f85f3e73ba348e9ff6191f25.tar.gz blueness-e9feb6dad37d3989f85f3e73ba348e9ff6191f25.tar.bz2 blueness-e9feb6dad37d3989f85f3e73ba348e9ff6191f25.zip |
dev-util/eresi: updated to address problems in bug #253436
(Portage version: 2.1.9.42/git/Linux x86_64, signed Manifest commit with key 0xD0455535)
Diffstat (limited to 'dev-util/eresi/files')
7 files changed, 71 insertions, 249 deletions
diff --git a/dev-util/eresi/files/.svn/entries b/dev-util/eresi/files/.svn/entries deleted file mode 100644 index 4c5746e..0000000 --- a/dev-util/eresi/files/.svn/entries +++ /dev/null @@ -1,130 +0,0 @@ -10 - -dir -12077 -svn://overlays.gentoo.org/proj/sunrise/reviewed/dev-util/eresi/files -svn://overlays.gentoo.org/proj/sunrise - - - -2010-07-06T23:04:34.054576Z -10938 -chithead - - - - - - - - - - - - - - -12608f7e-a915-0410-b2f3-ce240db1b126 - -0.82_beta2-as-needed.patch -file - - - - -2011-05-22T21:02:59.000000Z -41ce8f8ed56a4bbad717c90480b191ae -2010-07-06T23:04:34.054576Z -10938 -chithead - - - - - - - - - - - - - - - - - - - - - -1508 - -0.82_beta2-parallel-make.patch -file - - - - -2011-05-22T21:02:59.000000Z -f3a46f7ff0d3b90df934359b65257b48 -2009-04-07T17:12:53.320963Z -8211 -tommy - - - - - - - - - - - - - - - - - - - - - -1970 - -0.82_beta2-drop-dprintf.patch -file - - - - -2011-05-22T21:02:59.000000Z -f5a3ccc0b46395f8b9b4ff69a651cf53 -2010-07-06T23:04:34.054576Z -10938 -chithead - - - - - - - - - - - - - - - - - - - - - -1113 - diff --git a/dev-util/eresi/files/.svn/text-base/0.82_beta2-as-needed.patch.svn-base b/dev-util/eresi/files/.svn/text-base/0.82_beta2-as-needed.patch.svn-base deleted file mode 100644 index 978bf95..0000000 --- a/dev-util/eresi/files/.svn/text-base/0.82_beta2-as-needed.patch.svn-base +++ /dev/null @@ -1,28 +0,0 @@ -Index: eresi-0.82_beta2/e2dbg/Makefile -=================================================================== ---- eresi-0.82_beta2.orig/e2dbg/Makefile -+++ eresi-0.82_beta2/e2dbg/Makefile -@@ -38,9 +38,10 @@ CFLAGS64 += -fPIC -g3 -Wall -Iinclude $ - -DERESI64 - - LDFLAGS32 += -L../liballocproxy -lallocproxy -L../libelfsh/ -lelfsh32 \ -- -L../libetrace/ -letrace32 -L../libstderesi -lstderesi32 \ -+ -L../libetrace/ -letrace32 \ - -L../libdump/ -L/usr/pkg/lib/ -L../libasm/ -lasm32 \ - -L../libaspect/ -laspect32 -L../librevm/ -lrevm32 \ -+ -L../libstderesi -lstderesi32 \ - -L../libmjollnir -lmjollnir32 -g3 \ - -L../libui/ -lui32 -L../libedfmt -ledfmt32 \ - $(LDREADLNOPT) $(DLOPT) -L/usr/freeware/lib32/ $(DYNOPT) \ -@@ -48,9 +49,10 @@ LDFLAGS32 += -L../liballocproxy -lalloc - $(LDMJOLLNIR) $(KERNSHLIB32) $(NCURSESLNOPT) $(READLNOPT) - - LDFLAGS64 += -L../liballocproxy -lallocproxy -L../libelfsh/ -lelfsh64 \ -- -L../libetrace/ -letrace64 -L../libstderesi -lstderesi64 \ -+ -L../libetrace/ -letrace64 \ - -L../libdump/ -L/usr/pkg/lib/ -L../libasm/ -lasm64 \ - -L../libaspect/ -laspect64 -L../librevm/ -lrevm64 \ -+ -L../libstderesi -lstderesi64 \ - -L../libmjollnir -lmjollnir64 -g3 \ - -L../libui/ -lui64 -L../libedfmt -ledfmt64 \ - $(LDREADLNOPT) $(DLOPT) -L/usr/freeware/lib32/ $(DYNOPT) \ diff --git a/dev-util/eresi/files/.svn/text-base/0.82_beta2-drop-dprintf.patch.svn-base b/dev-util/eresi/files/.svn/text-base/0.82_beta2-drop-dprintf.patch.svn-base deleted file mode 100644 index bde1a95..0000000 --- a/dev-util/eresi/files/.svn/text-base/0.82_beta2-drop-dprintf.patch.svn-base +++ /dev/null @@ -1,25 +0,0 @@ -Drop conflicting dprintf declaration. - -ERESI does declare a prototype for dprintf, which conflicts with the -declaration in stdio.h, leading to the following compiler error: - -../librevm/include/revm.h:604: error: conflicting types for ‘dprintf’ -/usr/include/stdio.h:397: note: previous declaration of ‘dprintf’ was here - -As the whole ERESI source code doesn't even mention dprintf in any -other place, dropping the declaration shouldn't cause any harm at all. - -2010-04-07 Martin von Gagern - -Index: eresi-0.82_beta2/librevm/include/revm.h -=================================================================== ---- eresi-0.82_beta2.orig/librevm/include/revm.h -+++ eresi-0.82_beta2/librevm/include/revm.h -@@ -601,7 +601,6 @@ int revm_isnbr(char *string); - void revm_workfiles_load(); - int revm_implicit(revmcmd_t *actual); - int revm_workfiles_unload(); --int dprintf(int fd, char *format, ...); - void revm_pht_print(elfsh_Phdr *phdr, uint16_t num, eresi_Addr base); - char *revm_fetch_sht_typedesc(elfsh_Word typenum); - int revm_sht_print(elfsh_Shdr *shdr, u_int num, char rtflag); diff --git a/dev-util/eresi/files/.svn/text-base/0.82_beta2-parallel-make.patch.svn-base b/dev-util/eresi/files/.svn/text-base/0.82_beta2-parallel-make.patch.svn-base deleted file mode 100644 index c14d21a..0000000 --- a/dev-util/eresi/files/.svn/text-base/0.82_beta2-parallel-make.patch.svn-base +++ /dev/null @@ -1,66 +0,0 @@ -Index: librevm/Makefile -=================================================================== ---- librevm/Makefile (revision 1284) -+++ librevm/Makefile (working copy) -@@ -42,7 +42,7 @@ - $(MAKE) -C io all32 - $(MAKE) -C api all32 - --$(NAME32).so : -+$(NAME32).so : mod32 - $(CC) -shared $(OBJ32) -o $(NAME32).so $(LDFLAGS32) \ - $(STATOPT) $(NCURSESLNOPT) $(READLNOPT) - ar rc ${NAME32}.a ${OBJ32} -@@ -57,7 +57,7 @@ - $(MAKE) -C io all64 - $(MAKE) -C api all64 - --lib64 : -+lib64 : mod64 - $(CC) -shared $(OBJ64) -o $(NAME64).so $(LDFLAGS64) \ - $(STATOPT) $(NCURSESLNOPT) $(READLNOPT) - ar rc ${NAME64}.a ${OBJ64} -Index: libstderesi/Makefile -=================================================================== ---- libstderesi/Makefile (revision 1284) -+++ libstderesi/Makefile (working copy) -@@ -47,7 +47,7 @@ - $(MAKE) -C analysis all32 - $(MAKE) -C files all32 - --$(NAME32).so : -+$(NAME32).so : mod32 - $(CC) -shared $(OBJ32) -o $(NAME32).so $(LDFLAGS32) \ - $(NCURSESLNOPT) $(READLNOPT) - ar rc ${NAME32}.a ${OBJ32} -@@ -66,7 +66,7 @@ - $(MAKE) -C analysis all64 - $(MAKE) -C files all64 - --$(NAME64).so : -+$(NAME64).so : mod64 - $(CC) -shared $(OBJ64) -o $(NAME64).so $(LDFLAGS64) \ - $(STATOPT) $(NCURSESLNOPT) $(READLNOPT) - ar rc ${NAME64}.a ${OBJ64} -Index: libe2dbg/Makefile -=================================================================== ---- libe2dbg/Makefile (revision 1284) -+++ libe2dbg/Makefile (working copy) -@@ -52,7 +52,7 @@ - $(MAKE) -C kernel - endif - --$(DBGNAME32O): -+$(DBGNAME32O): mod32 - @$(CC) -shared $(COBJ32) $(EXTRAOBJ32) $(UOBJ32) $(LDFLAGS32) \ - -o $(DBGNAME32).so - @$(AR) $(DBGNAME32).a $(COBJ32) $(UOBJ32) $(EXTRAOBJ32) -@@ -70,7 +70,7 @@ - $(MAKE) -C common all64 - $(MAKE) -C user all64 - --$(DBGNAME64O) : -+$(DBGNAME64O) : mod64 - @$(CC) -shared $(COBJ64) $(EXTRAOBJ64) $(UOBJ64) $(LDFLAGS64) \ - -o $(DBGNAME64).so - @$(AR) $(DBGNAME64).a $(OBJ64) diff --git a/dev-util/eresi/files/0.82_beta2-direct-ld.patch b/dev-util/eresi/files/0.82_beta2-direct-ld.patch new file mode 100644 index 0000000..f3bb19c --- /dev/null +++ b/dev-util/eresi/files/0.82_beta2-direct-ld.patch @@ -0,0 +1,32 @@ +From: Nathan Phillip Brink <binki@gentoo.org> +Subject: Don't call LD when linking, use CC instead. + +--- a/libdump/Makefile ++++ b/libdump/Makefile +@@ -26,12 +26,12 @@ + all32: $(OBJ32) + $(AR) $(NAME32).a $(OBJ32) + $(RANLIB) $(NAME32).a +- $(LD) -r $(OBJ32) -o $(NAME32).o $(LDFLAGS32) ++ $(CC) -Wl,-r -nostdlib $(OBJ32) -o $(NAME32).o $(LDFLAGS32) + + all64: $(OBJ64) + $(AR) $(NAME64).a $(OBJ64) + $(RANLIB) $(NAME64).a +- $(LD) -r $(OBJ64) -o $(NAME64).o $(LDFLAGS64) ++ $(CC) -Wl,-r -nostdlib $(OBJ64) -o $(NAME64).o $(LDFLAGS64) + + clean : + @rm -f $(OBJ32) $(OBJ64) *~ *\# \#* .\#* dump_main.o + +--- a/elfsh/Makefile ++++ b/elfsh/Makefile +@@ -36,7 +36,7 @@ + -I../libedfmt/include/ $(STATOPT2) \ + $(ASMOPT) -DERESI64 $(NCURSESLNOPT) $(READLNOPT) + +-LDFLAGS32 += -L../libedfmt/ -ledfmt32 -L../libelfsh/ -lelfsh32 \ ++LDFLAGS32 += -L../libedfmt/ -ledfmt32 -L../libdump/ -L../libelfsh/ -lelfsh32 \ + -L../libetrace/ -letrace32 -L../libstderesi/ -lstderesi32 \ + -L/usr/pkg/lib/ -L../libmjollnir/ -lmjollnir32 \ + -L../libetrace -letrace32 $(LPTHREAD) -L../libasm/ -lasm32 \ diff --git a/dev-util/eresi/files/0.82_beta2-gentoo-autodetect.patch b/dev-util/eresi/files/0.82_beta2-gentoo-autodetect.patch new file mode 100644 index 0000000..d90fccd --- /dev/null +++ b/dev-util/eresi/files/0.82_beta2-gentoo-autodetect.patch @@ -0,0 +1,17 @@ +Avoid autodetecting Gentoo using any kind of black magic. + +2011-05-23 Martin von Gagern + +Index: eresi-0.82_beta2/configure +=================================================================== +--- eresi-0.82_beta2.orig/configure ++++ eresi-0.82_beta2/configure +@@ -20,7 +20,7 @@ VARSFILE="librevm/include/revm-vars.h" + LIBVARSFILE="libelfsh/include/libvars.h" + LPTHREAD="-lpthread" + SHELL=`which bash` +-GENTOO=` uname -a | grep gentoo` ++GENTOO=yes + + printHelp() + { diff --git a/dev-util/eresi/files/0.82_beta2-sed-in-Makefile.patch b/dev-util/eresi/files/0.82_beta2-sed-in-Makefile.patch new file mode 100644 index 0000000..321e710 --- /dev/null +++ b/dev-util/eresi/files/0.82_beta2-sed-in-Makefile.patch @@ -0,0 +1,22 @@ +Having a sed command at the top of the Makefile will break with +current (3.82) GNU make. + +2011-05-23 Martin von Gagern + +Index: eresi-0.82_beta2/configure +=================================================================== +--- eresi-0.82_beta2.orig/configure ++++ eresi-0.82_beta2/configure +@@ -618,10 +618,10 @@ echo "RM = rm -f " + echo "" >> Makefile + echo "all : world modules testsuite tags" >> Makefile + ++sed -ie "s%TESTING_ROOT=.*%TESTING_ROOT=`pwd`/%" eresi-config ++ + cat >> Makefile <<EOF + +-sed -ie "s%TESTING_ROOT=.*%TESTING_ROOT=`pwd`/%" eresi-config +- + ifdef NAME + include build/defs/dep-rules.def + component: dep-\$(NAME) |