From 90c88731bd036e5698b281fbc0a5f3aa4c9983ac Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 29 Jun 2020 11:38:31 +0100 Subject: gentoo resync : 29.06.2020 --- app-emulation/x48/Manifest | 4 +++- app-emulation/x48/files/x48-0.6.4-static.patch | 12 +++++++++++ .../x48/files/x48-0.6.4-void_return.patch | 24 ++++++++++++++++++++++ app-emulation/x48/x48-0.6.4-r2.ebuild | 12 +++++------ 4 files changed, 45 insertions(+), 7 deletions(-) create mode 100644 app-emulation/x48/files/x48-0.6.4-static.patch create mode 100644 app-emulation/x48/files/x48-0.6.4-void_return.patch (limited to 'app-emulation/x48') diff --git a/app-emulation/x48/Manifest b/app-emulation/x48/Manifest index 5eb35ce52925..ca1176fc7cab 100644 --- a/app-emulation/x48/Manifest +++ b/app-emulation/x48/Manifest @@ -1,3 +1,5 @@ +AUX x48-0.6.4-static.patch 317 BLAKE2B 0ba80504f6dfdb992735496198808445778d6f75ecd7d21f276801857efcbf5a6d215d081b8ea79031fe5fcadf2dc1875854f80f6003575d9e2be03c2f7cb21f SHA512 22c97b2236b78c148cab19386718ea0be333eef8ab356da20f80d7805fdae4e73a1552faab15bd86a4644e2b149a924f65ba57cba5bef8f740ecb69930e7b794 +AUX x48-0.6.4-void_return.patch 657 BLAKE2B d72125691d4cabe90ea326f03204061ef3eca46e2b47cc43c91a67b3a994f8f995fbc313d368bbec1d3782d1aff46ff7064ebaf65f503efa28f0d468874f1256 SHA512 48d8fffff6f7a9727c813dbbc6332577d8d9f8622466af9658c135a2503a2b5b961f4c193cab3127352308716a9ab92bb6eb120897bdca9ae52482eacd12ac6e DIST x48-0.6.4.tar.bz2 227991 BLAKE2B 8db2962860eeb161a8efc9d46730c71d95d0331157e3e2481a978385ad54b04b7a4eb601c68e7df966194b23e0cd04bed4e80511d22695bb7ccdd3959d8fd8d7 SHA512 60fdba1171a02e4a5f9bcefb29fff9398fdbda50553c3d3b952fab0b4ebf87b219d4615139ca3673b1c61ff6d6559aab3e93218334aa6cdb442d4861347138ce -EBUILD x48-0.6.4-r2.ebuild 1677 BLAKE2B 2714c1760be4efb7c50365b2873a3db3a548cd819478d4df54db06fd6efc616bb73890c064e83c712abc536b9d49a6fc263f72c991dedeb944d98aea425735a1 SHA512 0742749fb892adbe543155c3ef58ddf8e0458c7c2c3cc81372e2af638716aa9d98524047dc3761cf33fc50e5727fa12c588a17d4a1224d57d16b788a2005ffcd +EBUILD x48-0.6.4-r2.ebuild 1659 BLAKE2B 0563a9afe94bc637528c92ed63968023877031529daa67e8cb5086ac1fb2fab124666278e95cec50a1ea0e9c75de408ab6626c9c79c9d6deac1ed3e58fb96b66 SHA512 ebf6faa4954df214b72082c0b22b34734ccac4a5909a6e6b0996ba1a05050e9c80d4dd9e756e2b8eddaf80877bc8aa948b4f8dc3e51acf5a29757669819f05ee MISC metadata.xml 723 BLAKE2B 98911516312cc5d5617bbf9d6e33915608b30639c2354024cc74407888a699cf7464261fc7d40afad3fd6632ae39da74b5f90ede1bd51e491d0193c759d8ed07 SHA512 0de7f42012bc6624f1eca6d08c3807185f5fcd7b44a34fd701cd7af2ede5b0ab21f41b41fc7b784b3fe641b3b12b58ae412a2969679fbfcc1edbfd99b6e39685 diff --git a/app-emulation/x48/files/x48-0.6.4-static.patch b/app-emulation/x48/files/x48-0.6.4-static.patch new file mode 100644 index 000000000000..f832e877b76e --- /dev/null +++ b/app-emulation/x48/files/x48-0.6.4-static.patch @@ -0,0 +1,12 @@ +diff -Naur x48-0.6.4.orig/src/emulate.c x48-0.6.4/src/emulate.c +--- x48-0.6.4.orig/src/emulate.c 2011-11-15 04:03:40.000000000 +0100 ++++ x48-0.6.4/src/emulate.c 2020-06-23 21:30:30.895538239 +0200 +@@ -695,7 +695,7 @@ + } + } + +-inline int ++static inline int + #ifdef __FunctionProto__ + decode_8_thru_f(int op1) + #else diff --git a/app-emulation/x48/files/x48-0.6.4-void_return.patch b/app-emulation/x48/files/x48-0.6.4-void_return.patch new file mode 100644 index 000000000000..521ab6cd0546 --- /dev/null +++ b/app-emulation/x48/files/x48-0.6.4-void_return.patch @@ -0,0 +1,24 @@ +diff -Naur x48-0.6.4.orig/src/debugger.c x48-0.6.4/src/debugger.c +--- x48-0.6.4.orig/src/debugger.c 2011-11-15 04:03:40.000000000 +0100 ++++ x48-0.6.4/src/debugger.c 2020-06-23 21:33:16.071667987 +0200 +@@ -1528,7 +1528,7 @@ + struct se *se_next; + }; + +-char * ++void + #ifdef __FunctionProto__ + get_stack (void) + #else +diff -Naur x48-0.6.4.orig/src/x48_x11.c x48-0.6.4/src/x48_x11.c +--- x48-0.6.4.orig/src/x48_x11.c 2011-11-15 04:03:40.000000000 +0100 ++++ x48-0.6.4/src/x48_x11.c 2020-06-23 21:33:32.132680745 +0200 +@@ -3833,7 +3833,7 @@ + + int last_button = -1; + +-extern char *get_stack(void); ++extern void get_stack(void); + + int + #ifdef __FunctionProto__ diff --git a/app-emulation/x48/x48-0.6.4-r2.ebuild b/app-emulation/x48/x48-0.6.4-r2.ebuild index 47413f324968..9e603e25e582 100644 --- a/app-emulation/x48/x48-0.6.4-r2.ebuild +++ b/app-emulation/x48/x48-0.6.4-r2.ebuild @@ -22,15 +22,15 @@ DEPEND="${RDEPEND} virtual/pkgconfig x11-libs/libXt" -src_unpack() { - mkdir -p "${S}" - cd "${S}" - unpack ${A} -} +PATCHES=( + "${FILESDIR}"/${P}-static.patch + "${FILESDIR}"/${P}-void_return.patch + ) + +S=${WORKDIR} src_prepare() { default - sed -i '698s/inline/static inline/' src/emulate.c || die eautoreconf } -- cgit v1.2.3