- lp64.patch: Add support for future LP64 platforms OBS-URL: https://build.opensuse.org/request/show/157421 OBS-URL: https://build.opensuse.org/package/show/Base:System/mgetty?expand=0&rev=21
14 lines
445 B
Diff
14 lines
445 B
Diff
Index: mgetty-1.1.36/mgetty.h
|
|
===================================================================
|
|
--- mgetty-1.1.36.orig/mgetty.h
|
|
+++ mgetty-1.1.36/mgetty.h
|
|
@@ -198,7 +198,7 @@ typedef unsigned char uch;
|
|
*/
|
|
#if defined(__alpha__) || defined(__sparc64__) || \
|
|
defined(__ia64__) || defined(__s390x__) || defined(__x86_64__) || \
|
|
- defined(__powerpc64__)
|
|
+ defined(__powerpc64__) || defined (_LP64)
|
|
# define PTR_IS_LONG
|
|
#endif
|
|
|