Skip to content

Commit

Permalink
vte3 win32: support MinGW partially...
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 20, 2013
1 parent 4931732 commit 1e8c2c4
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 219 deletions.
10 changes: 3 additions & 7 deletions vte3/Rakefile
Expand Up @@ -18,22 +18,18 @@ package = GNOME2Package.new do |_package|
:download_base_url => "http://ftp.gnu.org/pub/gnu/ncurses",
:label => "ncurses",
:version => "5.9",
:need_autogen => true,
:configure_args => [
"--enable-sp-funcs",
"--enable-term-driver",
"--with-shared",
"--without-normal",
"--without-progs",
"--without-tests",
],
:patches => [
"ncurses-5.9-remove-ada.diff",
"ncurses-5.9-remove-ada-aclocal.diff",
"ncurses-5.9-support-mingw32.diff",
"ncurses-5.9-add-missing-exe.diff",
"ncurses-5.9-add-autogen.diff",
],
:remove_paths => [
"aclocal.m4",
]
},
{
:name => "vte",
Expand Down
8 changes: 0 additions & 8 deletions vte3/patches/ncurses-5.9-add-autogen.diff

This file was deleted.

17 changes: 0 additions & 17 deletions vte3/patches/ncurses-5.9-remove-ada-aclocal.diff

This file was deleted.

187 changes: 0 additions & 187 deletions vte3/patches/ncurses-5.9-remove-ada.diff

This file was deleted.

20 changes: 20 additions & 0 deletions vte3/patches/ncurses-5.9-support-mingw32.diff
@@ -0,0 +1,20 @@
--- ncurses-5.9/configure.orig 2011-04-01 08:35:51.000000000 +0900
+++ ncurses-5.9/configure 2013-01-20 16:03:44.730515836 +0900
@@ -5662,7 +5662,7 @@
fi
cf_cv_rm_so_locs=yes
;;
- linux*|gnu*|k*bsd*-gnu) #(vi
+ linux*|gnu*|k*bsd*-gnu|mingw32) #(vi
if test "$DFT_LWR_MODEL" = "shared" ; then
LOCAL_LDFLAGS="${LD_RPATH_OPT}\$(LOCAL_LIBDIR)"
LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
@@ -5678,7 +5678,7 @@
cf_cv_shared_soname='`basename $@`'
fi

- MK_SHARED_LIB='${CC} ${CFLAGS} -shared -Wl,-soname,'$cf_cv_shared_soname',-stats,-lc -o $@'
+ MK_SHARED_LIB='${CC} ${CFLAGS} -shared -Wl,-soname,'$cf_cv_shared_soname',-stats -o $@'
;;
openbsd[2-9].*) #(vi
if test "$DFT_LWR_MODEL" = "shared" ; then

0 comments on commit 1e8c2c4

Please sign in to comment.