forked from msys2/MSYS2-packages
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
118 additions
and
43 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- aspell-0.60.6.1/prog/compress.c 2004-11-07 13:29:48.000000000 +0100 | ||
+++ aspell-0.60.6.1/prog/compress.c 2013-04-30 09:03:17.471947700 +0200 | ||
@@ -25,7 +25,11 @@ | ||
# include <io.h> | ||
# include <fcntl.h> | ||
|
||
+#if defined(__CYGWIN__) | ||
+# define SETBIN(fno) _setmode( fileno( fno ), O_BINARY ) | ||
+#else | ||
# define SETBIN(fno) _setmode( _fileno( fno ), _O_BINARY ) | ||
+#endif | ||
|
||
#else | ||
|
||
--- aspell-0.60.6.1/prog/prezip.c 2011-07-02 23:09:09.000000000 +0200 | ||
+++ aspell-0.60.6.1/prog/prezip.c 2013-04-30 09:02:30.307958600 +0200 | ||
@@ -39,7 +39,11 @@ | ||
# include <io.h> | ||
# include <fcntl.h> | ||
|
||
+#if defined(__CYGWIN__) | ||
+# define SETBIN(fno) _setmode( fileno( fno ), O_BINARY ) | ||
+#else | ||
# define SETBIN(fno) _setmode( _fileno( fno ), _O_BINARY ) | ||
+#endif | ||
|
||
#else | ||
|
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,45 @@ | ||
--- aspell-0.60.6.1/Makefile.am 2011-07-03 01:42:34.000000000 +0200 | ||
+++ aspell-0.60.6.1/Makefile.am 2011-11-11 01:35:59.046875000 +0100 | ||
@@ -194,7 +194,7 @@ libaspell_la_SOURCES +=\ | ||
else # not COMPILE_IN_FILTERS | ||
|
||
dynamic_optfiles += ${optfiles} | ||
-filter_ldflags = -module -avoid-version | ||
+filter_ldflags = -module -avoid-version -no-undefined | ||
|
||
### Add name of filter library containing your filter. Name always | ||
### must look like lib<filtername>-filter.la see development manual | ||
@@ -203,27 +203,27 @@ filter_LTLIBRARIES = email-filter.la tex | ||
nroff-filter.la texinfo-filter.la | ||
|
||
email_filter_la_SOURCES = modules/filter/email.cpp | ||
-email_filter_la_LIBADD = libaspell.la | ||
+email_filter_la_LIBADD = libaspell.la $(LTLIBINTL) | ||
email_filter_la_LDFLAGS = ${filter_ldflags} | ||
|
||
tex_filter_la_SOURCES = modules/filter/tex.cpp | ||
-tex_filter_la_LIBADD = libaspell.la | ||
+tex_filter_la_LIBADD = libaspell.la $(LTLIBINTL) | ||
tex_filter_la_LDFLAGS = ${filter_ldflags} | ||
|
||
sgml_filter_la_SOURCES = modules/filter/sgml.cpp | ||
-sgml_filter_la_LIBADD = libaspell.la | ||
+sgml_filter_la_LIBADD = libaspell.la $(LTLIBINTL) | ||
sgml_filter_la_LDFLAGS = ${filter_ldflags} | ||
|
||
context_filter_la_SOURCES = modules/filter/context.cpp | ||
-context_filter_la_LIBADD = libaspell.la | ||
+context_filter_la_LIBADD = libaspell.la $(LTLIBINTL) | ||
context_filter_la_LDFLAGS = ${filter_ldflags} | ||
|
||
nroff_filter_la_SOURCES = modules/filter/nroff.cpp | ||
-nroff_filter_la_LIBADD = libaspell.la | ||
+nroff_filter_la_LIBADD = libaspell.la $(LTLIBINTL) | ||
nroff_filter_la_LDFLAGS = ${filter_ldflags} | ||
|
||
texinfo_filter_la_SOURCES = modules/filter/texinfo.cpp | ||
-texinfo_filter_la_LIBADD = libaspell.la | ||
+texinfo_filter_la_LIBADD = libaspell.la $(LTLIBINTL) | ||
texinfo_filter_la_LDFLAGS = ${filter_ldflags} | ||
|
||
### Before this line add the corresponding <yourfilterlibrary>_SOURCES and |
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,22 @@ | ||
--- aspell-0.60.6.1/lib/new_filter.cpp 2011-07-02 23:09:09.000000000 +0200 | ||
+++ aspell-0.60.6.1/lib/new_filter.cpp 2011-11-11 01:35:59.046875000 +0100 | ||
@@ -458,11 +458,19 @@ namespace acommon | ||
module->file.assign(option_file.str(), slash + 1 - option_file.str()); | ||
//module->file += "lib"; | ||
module->file += filter_name; | ||
+#ifdef __CYGWIN__ | ||
+ module->file += "-filter.dll"; | ||
+#else | ||
module->file += "-filter.so"; | ||
+#endif | ||
} else { | ||
if (module->file[0] != '/') | ||
module->file.insert(0, option_file.str(), slash + 1 - option_file.str()); | ||
+#ifdef __CYGWIN__ | ||
+ module->file += ".dll"; | ||
+#else | ||
module->file += ".so"; | ||
+#endif | ||
} | ||
|
||
return module.release(); |