forked from SynoCommunity/spksrc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: Add patch for fixing the configure.ac SynoCommunity#5795
- Loading branch information
Showing
2 changed files
with
42 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- firebird-4.0.2/configure.ac 2022-08-08 02:08:06.000000000 +0200 | ||
+++ configure.ac 2023-07-14 14:53:15.032933905 +0200 | ||
@@ -1131,7 +1131,7 @@ main () { | ||
union { long long x; sem_t y; } b; | ||
}; | ||
return (int)&((struct s*)0)->b; | ||
-}]])],[ac_cv_c_alignment=$ac_status],[ac_cv_c_alignment=$ac_status],[]) | ||
+}]])],[ac_cv_c_alignment=$ac_status],[ac_cv_c_alignment=$ac_status],[ac_cv_c_alignment=8]) | ||
AC_MSG_RESULT($ac_cv_c_alignment) | ||
AC_DEFINE_UNQUOTED(FB_ALIGNMENT, $ac_cv_c_alignment, [Alignment of long]) | ||
|
||
@@ -1142,7 +1142,7 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([[main () | ||
double b; | ||
}; | ||
return (int)&((struct s*)0)->b; | ||
-}]])],[ac_cv_c_double_align=$ac_status],[ac_cv_c_double_align=$ac_status],[]) | ||
+}]])],[ac_cv_c_double_align=$ac_status],[ac_cv_c_double_align=$ac_status],[ac_cv_c_double_align=8]) | ||
AC_MSG_RESULT($ac_cv_c_double_align) | ||
AC_DEFINE_UNQUOTED(FB_DOUBLE_ALIGN, $ac_cv_c_double_align, [Alignment of double]) | ||
|
||
@@ -1160,6 +1160,7 @@ static int abs64Compare(SINT64 n1, SINT6 | ||
int main() { | ||
return abs64Compare(-9223372036854775808, 3652058) == 1 ? 0 : 1; | ||
}]])],[ac_cv_compare_failed=0 | ||
+ac_cv_compare_result=success],[],[ac_cv_compare_failed=0 | ||
ac_cv_compare_result=success]) | ||
CFLAGS="$savedflags" | ||
AC_MSG_RESULT($ac_cv_compare_result) | ||
@@ -1170,7 +1171,7 @@ case "$PLATFORM" in | ||
LINUX) | ||
dnl MOD: Check for /proc/self/exe mainly used on linux systems | ||
dnl this is used to determine path to executable file. | ||
- AC_CHECK_FILES(/proc/self/exe) | ||
+ dnl AC_CHECK_FILES(/proc/self/exe) | ||
;; | ||
|
||
FREEBSD|GENTOOFREEBSD) |