summaryrefslogtreecommitdiff
path: root/system/vice/patches
diff options
context:
space:
mode:
authorMauro Giachero <mauro dot giachero at gmail dot com>2010-05-13 00:42:15 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:42:15 +0200
commit8d1d8aa9a5801d5e80fb6e1a2d0fcadc8db90865 (patch)
treebee85caa76bfdc8dbe5aed8db7e916acf5ed0b76 /system/vice/patches
parent75eab98f49268caa39cde60f1677f56d9bbd7b4f (diff)
downloadslackbuilds-8d1d8aa9a5801d5e80fb6e1a2d0fcadc8db90865.tar.gz
system/vice: Updated for version 2.1
Diffstat (limited to 'system/vice/patches')
-rw-r--r--system/vice/patches/vice-2.1-64bit.patch105
-rw-r--r--system/vice/patches/vice-fix-help.patch24
2 files changed, 129 insertions, 0 deletions
diff --git a/system/vice/patches/vice-2.1-64bit.patch b/system/vice/patches/vice-2.1-64bit.patch
new file mode 100644
index 0000000000..eadf9b64e5
--- /dev/null
+++ b/system/vice/patches/vice-2.1-64bit.patch
@@ -0,0 +1,105 @@
+diff -urpN vice-2.1/configure vice-2.1-64/configure
+--- vice-2.1/configure 2008-12-15 21:18:47.000000000 +0100
++++ vice-2.1-64/configure 2009-10-11 00:02:00.763205494 +0200
+@@ -960,7 +960,7 @@ htmldir='${docdir}'
+ dvidir='${docdir}'
+ pdfdir='${docdir}'
+ psdir='${docdir}'
+-libdir='${exec_prefix}/lib'
++libdir='${exec_prefix}/lib64'
+ localedir='${datarootdir}/locale'
+ mandir='${datarootdir}/man'
+
+@@ -1445,7 +1445,7 @@ Installation directories:
+ [PREFIX]
+
+ By default, \`make install' will install all the files in
+-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
++\`$ac_default_prefix/bin', \`$ac_default_prefix/lib64' etc. You can specify
+ an installation prefix other than \`$ac_default_prefix' using \`--prefix',
+ for instance \`--prefix=\$HOME'.
+
+@@ -1458,7 +1458,7 @@ Fine tuning of the installation director
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
+- --libdir=DIR object code libraries [EPREFIX/lib]
++ --libdir=DIR object code libraries [EPREFIX/lib64]
+ --includedir=DIR C header files [PREFIX/include]
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
+@@ -5583,7 +5583,7 @@ if test -z "$CPP"; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ # Double quotes because CPP needs to be expanded
+- for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
++ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib64/cpp"
+ do
+ ac_preproc_ok=false
+ for ac_c_preproc_warn_flag in '' yes
+@@ -6369,7 +6369,7 @@ if test -z "$CPP"; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ # Double quotes because CPP needs to be expanded
+- for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
++ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib64/cpp"
+ do
+ ac_preproc_ok=false
+ for ac_c_preproc_warn_flag in '' yes
+@@ -8652,7 +8652,7 @@ if test -z "$CXXCPP"; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ # Double quotes because CXXCPP needs to be expanded
+- for CXXCPP in "$CXX -E" "/lib/cpp"
++ for CXXCPP in "$CXX -E" "/lib64/cpp"
+ do
+ ac_preproc_ok=false
+ for ac_cxx_preproc_warn_flag in '' yes
+@@ -8911,7 +8911,7 @@ _ACEOF
+ else
+ no_recursion=yes
+
+- LDFLAGS="$LDFLAGS -L$with_resid/lib"
++ LDFLAGS="$LDFLAGS -L$with_resid/lib64"
+ CPPFLAGS="$CPPFLAGS -I$with_resid/include"
+
+
+@@ -9131,7 +9131,7 @@ cat >>confdefs.h <<\_ACEOF
+ _ACEOF
+
+ RESID_DIR=
+- RESID_LIBS="$with_resid/lib/libresid.a"
++ RESID_LIBS="$with_resid/lib64/libresid.a"
+ RESID_INCLUDES="-I$with_resid/include"
+ fi
+
+@@ -23284,7 +23284,7 @@ _ACEOF
+ *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
+ esac
+ case $ac_im_usrlibdir in
+- /usr/lib | /lib) ;;
++ /usr/lib64 | /lib64) ;;
+ *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
+ esac
+ fi
+@@ -28704,7 +28704,7 @@ fi
+
+ ;;
+ *)
+- VICEDIR="$PREFIX/lib/vice";
++ VICEDIR="$PREFIX/lib64/vice";
+
+
+ if false; then
+diff -urpN vice-2.1/src/arch/unix/archdep.h vice-2.1-64/src/arch/unix/archdep.h
+--- vice-2.1/src/arch/unix/archdep.h 2008-10-10 21:08:31.000000000 +0200
++++ vice-2.1-64/src/arch/unix/archdep.h 2009-10-11 00:03:04.366722924 +0200
+@@ -116,7 +116,7 @@ extern const char *archdep_pref_path;
+ #ifdef __NetBSD__
+ #define LIBDIR PREFIX "/share/vice"
+ #else
+-#define LIBDIR PREFIX "/lib/vice"
++#define LIBDIR PREFIX "/lib64/vice"
+ #endif
+
+ #if defined(__FreeBSD__) || defined(__NetBSD__)
diff --git a/system/vice/patches/vice-fix-help.patch b/system/vice/patches/vice-fix-help.patch
new file mode 100644
index 0000000000..1312fe8399
--- /dev/null
+++ b/system/vice/patches/vice-fix-help.patch
@@ -0,0 +1,24 @@
+diff -urpN vice-1.22/man/vice.1 vice-1.22-fixdoc/man/vice.1
+--- vice-1.22/man/vice.1 2005-08-21 21:15:04.000000000 +0200
++++ vice-1.22-fixdoc/man/vice.1 2008-02-16 19:40:11.000000000 +0100
+@@ -40,7 +40,7 @@ a Commodore BASIC de-tokenizer;
+ .PP
+ The whole documentation for these programs is available in HTML
+ format; the main file should be installed on your system as
+-/usr/local/lib/VICE/doc/vice_toc.html.
++/usr/doc/vice/html/vice_toc.html.
+ .P
+ For up to date news about VICE, have a look at the official home page
+ at
+diff -urpN vice-1.22/src/arch/unix/gui/uicommands.c vice-1.22-fixdoc/src/arch/unix/gui/uicommands.c
+--- vice-1.22/src/arch/unix/gui/uicommands.c 2007-04-01 17:02:44.000000000 +0200
++++ vice-1.22-fixdoc/src/arch/unix/gui/uicommands.c 2008-02-16 19:31:10.000000000 +0100
+@@ -160,7 +160,7 @@ static UI_CALLBACK(browse_manual)
+ char *manual_path;
+ manual_path = util_concat(boot_path,"/../doc/vice_toc.html",NULL);
+ #else
+- static const char manual_path[] = DOCDIR "/vice_toc.html";
++ static const char manual_path[] = DOCDIR "/html/vice_toc.html";
+ #endif
+
+ char *res_ptr;