Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 93716 Details for
Bug 139347
Snes9X 1.5.1 bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/snes9x-1.50-porting.patch
snes9x-1.50-porting.patch (text/plain), 1.93 KB, created by
Justin Blanchard
on 2006-08-07 20:19:17 UTC
(
hide
)
Description:
files/snes9x-1.50-porting.patch
Filename:
MIME Type:
Creator:
Justin Blanchard
Created:
2006-08-07 20:19:17 UTC
Size:
1.93 KB
patch
obsolete
>http://www.snes9x.com/phpbb2/viewtopic.php?p=12712 >http://bugs.gentoo.org/104049 > >--- configure.in.orig 2006-06-30 08:40:56.000000000 -0500 >+++ configure.in 2006-08-07 09:20:26.000000000 -0500 >@@ -625,6 +625,19 @@ > SYSDEFINES="$SYSDEFINES"' -DHAVE_STDINT_H' > ]) > >+AC_CHECK_HEADER(endian.h, [ >+ SYSDEFINES="$SYSDEFINES"' -DHAVE_ENDIAN_H' >+]) >+AC_CHECK_HEADER(sys/endian.h, [ >+ SYSDEFINES="$SYSDEFINES"' -DHAVE_SYS_ENDIAN_H' >+]) >+AC_CHECK_HEADER(machine/endian.h, [ >+ SYSDEFINES="$SYSDEFINES"' -DHAVE_MACHINE_ENDIAN_H' >+]) >+AC_CHECK_HEADER(sys/isa_defs.h, [ >+ SYSDEFINES="$SYSDEFINES"' -DHAVE_SYS_ISA_DEFS_H' >+]) >+ > AC_CHECK_HEADERS(unistd.h sys/socket.h winsock.h winsock2.h WS2tcpip.h) > > dnl Check SAR >--- port.h.orig 2006-06-30 08:40:56.000000000 -0500 >+++ port.h 2006-08-07 09:18:27.000000000 -0500 >@@ -165,6 +165,19 @@ > > #include <sys/types.h> > >+#if defined(HAVE_ENDIAN_H) >+# include <endian.h> >+#endif >+#if defined(HAVE_SYS_ENDIAN_H) >+# include <sys/endian.h> >+#endif >+#if defined(HAVE_MACHINE_ENDIAN_H) >+# include <machine/endian.h> >+#endif >+#if defined(HAVE_SYS_ISA_DEFS_H) >+# include <sys/isa_defs.h> >+#endif >+ > /* #define PIXEL_FORMAT RGB565 */ > #define GFX_MULTI_FORMAT > >@@ -343,12 +356,27 @@ > #define SIG_PF void(*)(int) > #endif > >-#if defined(__i386__) || defined(__i486__) || defined(__i586__) || \ >- defined(__x86_64__) || defined(__WIN32__) || defined(__alpha__) >-#define LSB_FIRST >-#define FAST_LSB_WORD_ACCESS >+#if defined(BYTE_ORDER) >+# if BYTE_ORDER == LITTLE_ENDIAN >+# define LSB_FIRST >+# else >+# define MSB_FIRST >+# endif >+#elif defined(WORDS_LITTLENDIAN) >+# define LSB_FIRST >+#elif defined(WORDS_BIGENDIAN) >+# define MSB_FIRST > #else >-#define MSB_FIRST >+# if defined(__i386__) || defined(__i486__) || defined(__i586__) || \ >+ defined(__x86_64__) || defined(__WIN32__) || defined(__alpha__) >+# define LSB_FIRST >+# else >+# define MSB_FIRST >+# endif >+#endif >+ >+#if defined(LSB_FIRST) >+# define FAST_LSB_WORD_ACCESS > #endif > > #ifdef __sun
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 139347
:
93715
|
93716
|
93717
|
93718
|
93719
|
93720
|
104167
|
104168
|
117159
|
117771
|
117773
|
117774
|
117775
|
125055
|
125056
|
125058