diff options
author | hubertf <hubertf> | 2003-12-20 01:51:34 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2003-12-20 01:51:34 +0000 |
commit | 241000f405be3bd2dfc917338beee6a4aec11d85 (patch) | |
tree | c22891b94ac6d50fb0296825e5b8a6987d1fb3b0 /games/xarchon/patches | |
parent | f86ecb07a79b217f9e3f6e013f6ca73a41bce2a8 (diff) | |
download | pkgsrc-241000f405be3bd2dfc917338beee6a4aec11d85.tar.gz |
make this build properly with qt3 - gtk didn't work at all.
still has issues...
Diffstat (limited to 'games/xarchon/patches')
-rw-r--r-- | games/xarchon/patches/patch-aa | 37 | ||||
-rw-r--r-- | games/xarchon/patches/patch-ab | 30 |
2 files changed, 67 insertions, 0 deletions
diff --git a/games/xarchon/patches/patch-aa b/games/xarchon/patches/patch-aa new file mode 100644 index 00000000000..7b4b5c26964 --- /dev/null +++ b/games/xarchon/patches/patch-aa @@ -0,0 +1,37 @@ +$NetBSD: patch-aa,v 1.3 2003/12/20 01:51:34 hubertf Exp $ + +--- src/gtk/gtk-callbacks.h.orig Wed Jan 9 20:07:27 2002 ++++ src/gtk/gtk-callbacks.h +@@ -1,3 +1,4 @@ ++#include "main.h" + #include <gtk/gtk.h> + + +@@ -18,6 +19,7 @@ void + main_game_new_adept (GtkMenuItem *menuitem, + gpointer user_data); + ++#if 0 + void + main_game_unpause (GtkMenuItem *menuitem, + gpointer user_data); +@@ -29,6 +31,7 @@ main_game_stop ( + void + main_game_exit (GtkMenuItem *menuitem, + gpointer user_data); ++#endif + + void + iface_define_players (GtkMenuItem *menuitem, +@@ -42,9 +45,11 @@ void + theme_select_theme (GtkMenuItem *menuitem, + gpointer user_data); + ++#if 0 + void + main_toggle_sound (GtkMenuItem *menuitem, + gpointer user_data); ++#endif + + void + main_help_tips (GtkMenuItem *menuitem, diff --git a/games/xarchon/patches/patch-ab b/games/xarchon/patches/patch-ab new file mode 100644 index 00000000000..b84f03edbef --- /dev/null +++ b/games/xarchon/patches/patch-ab @@ -0,0 +1,30 @@ +$NetBSD: patch-ab,v 1.6 2003/12/20 01:51:34 hubertf Exp $ + +--- configure.orig Wed Jan 9 19:34:33 2002 ++++ configure +@@ -4458,13 +4458,13 @@ QT_INCLUDES="-I $qtdir/include" + QT_LDFLAGS="-L $qtdir/lib" + CFLAGS="$CFLAGS $QT_INCLUDES" + LDFLAGS="$LDFLAGS $QT_LDFLAGS" +-echo "$as_me:4461: checking for qVersion__Fv in -lqt" >&5 +-echo $ECHO_N "checking for qVersion__Fv in -lqt... $ECHO_C" >&6 ++echo "$as_me:4461: checking for qVersion__Fv in -lqt-mt" >&5 ++echo $ECHO_N "checking for qVersion__Fv in -lqt-mt... $ECHO_C" >&6 + if test "${ac_cv_lib_qt_qVersion__Fv+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lqt $LIBS" ++LIBS="-lqt-mt $LIBS" + cat >conftest.$ac_ext <<_ACEOF + #line 4469 "configure" + #include "confdefs.h" +@@ -4552,7 +4552,7 @@ fi + echo "$as_me: WARNING: Moc is missing; the Qt interface will not be built" >&2;} + + else +- QT_LDFLAGS="$QT_LDFLAGS -lqt" ++ QT_LDFLAGS="$QT_LDFLAGS -lqt-mt" + + have_qt=yes + fi |