-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
see-3.1.1424 (rebuild with gcc-12.4.0)
- Loading branch information
Showing
4 changed files
with
128 additions
and
100 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 was deleted.
Oops, something went wrong.
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,94 @@ | ||
--- origsrc/see-3.1.1424/configure.ac 2009-04-27 06:05:18.000000000 +0900 | ||
+++ src/see-3.1.1424/configure.ac 2025-01-10 17:00:40.795575700 +0900 | ||
@@ -1,7 +1,7 @@ | ||
dnl Process this file with autoconf to produce a configure script. | ||
|
||
AC_INIT([see], | ||
- [3.1.]esyscmd((svnversion .||echo 0)|tr : _|tr -d \\012), | ||
+ [3.1.1424], | ||
[[email protected]]) | ||
AC_PREREQ(2.52) | ||
AM_INIT_AUTOMAKE | ||
@@ -30,11 +30,9 @@ AC_PROG_CC | ||
AM_PROG_CC_C_O | ||
AC_PROG_SED | ||
|
||
-AC_LIBLTDL_CONVENIENCE([libltdl]) | ||
-AC_LIBTOOL_DLOPEN | ||
AC_PROG_LIBTOOL | ||
+LTDL_INIT([installable]) | ||
dnl AC_LIB_LTDL | ||
-AC_CONFIG_SUBDIRS([libltdl]) | ||
AC_SUBST([LIBLTDL]) | ||
AC_SUBST([LTDLINCL]) | ||
AC_SUBST([LIBSEE_LIBS]) | ||
@@ -213,8 +211,8 @@ SEE_ARG_ENABLE(longjmperror,[yes], | ||
[Define if you want SEE to catch longjmp corruption]) | ||
]) | ||
|
||
-SEE_ARG_ENABLE(native-dtoa,[auto], | ||
- [dtoa from libc], | ||
+SEE_ARG_ENABLE(native-dtoa,[no], | ||
+ [dtoa from libc],, | ||
[enable_native_dtoa=yes | ||
AC_CHECK_FUNCS([strtod dtoa freedtoa],,[enable_native_dtoa=no]) | ||
]) | ||
@@ -571,7 +569,7 @@ fi | ||
|
||
AC_CACHE_CHECK([platform class], [ac_cv_see_platform], [ | ||
case "$build_os" in | ||
- cygwin*|mingw*|pw32) ac_cv_see_platform=win32;; | ||
+ mingw*|pw32) ac_cv_see_platform=win32;; | ||
*) ac_cv_see_platform=posix;; | ||
esac]) | ||
AM_CONDITIONAL(PLATFORM_POSIX, test x"$ac_cv_see_platform" = x"posix") | ||
--- origsrc/see-3.1.1424/libsee/Makefile.am 2009-04-27 06:04:58.000000000 +0900 | ||
+++ src/see-3.1.1424/libsee/Makefile.am 2025-01-10 16:31:43.925543800 +0900 | ||
@@ -59,8 +59,8 @@ if PLATFORM_POSIX | ||
libsee_la_SOURCES += platform_posix.c | ||
endif | ||
|
||
-libsee_la_LIBADD= @LIBOBJS@ | ||
-libsee_la_LDFLAGS= -version-info $(libsee_version_info) | ||
+libsee_la_LIBADD= @LIBOBJS@ $(LIBSEE_LIBS) | ||
+libsee_la_LDFLAGS= -no-undefined -version-info $(libsee_version_info) | ||
|
||
EXTRA_DIST= string.pl string.defs | ||
PERL= @PERL@ | ||
--- origsrc/see-3.1.1424/libsee/regex_pcre.c 2009-04-27 06:04:58.000000000 +0900 | ||
+++ src/see-3.1.1424/libsee/regex_pcre.c 2025-01-10 16:45:14.301696400 +0900 | ||
@@ -57,7 +57,7 @@ | ||
#include "dprint.h" | ||
|
||
#ifndef NDEBUG | ||
-int SEE_regex_debug; | ||
+extern int SEE_regex_debug; | ||
#endif | ||
|
||
struct regex_pcre { | ||
--- origsrc/see-3.1.1424/shell/Makefile.am 2009-04-27 06:04:58.000000000 +0900 | ||
+++ src/see-3.1.1424/shell/Makefile.am 2025-01-10 16:31:43.925543800 +0900 | ||
@@ -24,7 +24,8 @@ see_shell_static_LDFLAGS= -static | ||
|
||
pkglib_LTLIBRARIES= libFile.la | ||
libFile_la_SOURCES= mod_File.c | ||
-libFile_la_LDFLAGS= -module | ||
+libFile_la_LDFLAGS= -module -no-undefined -avoid-version | ||
+libFile_la_LIBADD = $(top_builddir)/libsee/libsee.la | ||
|
||
#-- the following DEFS line tries to avoid the -I../include/see | ||
DEFS = @DEFS@ -I. -I$(srcdir) | ||
--- origsrc/see-3.1.1424/shell/module.c 2009-04-27 06:04:58.000000000 +0900 | ||
+++ src/see-3.1.1424/shell/module.c 2025-01-10 16:31:43.925543800 +0900 | ||
@@ -45,7 +45,11 @@ load_module(name) | ||
if (!handle && strchr(name, '/') == 0 && | ||
strlen(name) + 3 < FILENAME_MAX) | ||
{ | ||
+#if defined(__CYGWIN__) | ||
+ memcpy(libname, "cyg", 3); | ||
+#else | ||
memcpy(libname, "lib", 3); | ||
+#endif | ||
strcpy(libname + 3, name); | ||
handle = lt_dlopenext(libname); | ||
} |