mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 13:20:32 -04:00
rid of some local patches: o Fixed autocon warnings (Denis Leroy) o Ported to lame 3.100 (from Fedora) o G++ compile fixes (Nick Bailey) o Renamed xdao folder to gcdmaster (Denis Leroy) o pccts format security patch (from Fedora) o Fixed compile issues with glibc >= 2.12 o Gcdmaster segfault fix (Adrian Knoth) o Prevent a FTBFS on kfreebsd (Christoph Egger) o Fix printf format security issues (Frantisek Kluknavsky Fedora) o Add missing options to man page (Honza Horak) o CD_TEXT fix for HL-DT-ST (Kees Cook) o Man page hyphen fixes (Markus Koschany) o Some updates to the old scsilib smake files (Ubuntu patches) While at it, pet portlint. Security: yes
17 lines
866 B
C
17 lines
866 B
C
--- scsilib/include/mconfig.h.orig 2018-05-16 10:46:58 UTC
|
|
+++ scsilib/include/mconfig.h
|
|
@@ -72,12 +72,12 @@ extern "C" {
|
|
* Types/Keywords
|
|
*/
|
|
|
|
-#if defined(__x86_64__) || defined(__ia64__) || defined(__powerpc64__) || defined(__s390x__) || defined(__sparc64__)
|
|
+#if defined(__aarch64__) || defined(__ia64__) || defined(__mips_n64) || defined(__powerpc64__) || defined(__s390x__) || defined(__sparc64__) || defined(__x86_64__)
|
|
#define SIZEOF_LONG_INT 8
|
|
#define SIZEOF_CHAR_P 8
|
|
#define SIZEOF_UNSIGNED_LONG_INT 8
|
|
#define SIZEOF_UNSIGNED_CHAR_P 8
|
|
-#elif defined(__i386__) || defined(__powerpc__) || defined(__s390__) || defined(__sparc__)
|
|
+#elif defined(__arm__) || defined(__i386__) || defined(__mips__) || defined(__powerpc__) || defined(__s390__) || defined(__sparc__)
|
|
#define SIZEOF_LONG_INT 4
|
|
#define SIZEOF_CHAR_P 4
|
|
#define SIZEOF_UNSIGNED_LONG_INT 4
|