[ioquake3] 09/11: q3arch: add support for the modified architecture string used by iortcw
Simon McVittie
smcv at debian.org
Fri Jan 23 01:15:48 UTC 2015
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch debian-experimental
in repository ioquake3.
commit a33361dd4414ba021f5afb111fa0608f83d962a7
Author: Simon McVittie <smcv at debian.org>
Date: Thu Jan 22 22:38:10 2015 +0000
q3arch: add support for the modified architecture string used by iortcw
---
debian/changelog | 1 +
debian/q3arch | 12 ++++++++++--
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 5b23e40..c067ced 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ ioquake3 (1.36+u20150114+dfsg1-1) UNRELEASED; urgency=medium
* Standards-Version: 3.9.6 (no changes)
* Mangle upstream version correctly in watch file
* Add patch so the UI can see whether we're playing the demo
+ * q3arch: add support for the modified architecture string used by iortcw
-- Simon McVittie <smcv at debian.org> Wed, 31 Dec 2014 11:36:48 +0000
diff --git a/debian/q3arch b/debian/q3arch
index 8c6163c..2a4e536 100755
--- a/debian/q3arch
+++ b/debian/q3arch
@@ -8,7 +8,7 @@ set -e
case $1 in
-arch|compat_arch)
+arch|compat_arch|rtcw_file_arch)
# In the upstream Makefile the architecture is given by uname -m, with the
# following substitutions:
#
@@ -31,12 +31,14 @@ arch|compat_arch)
DEB_X_GNU_CPU=`dpkg-architecture -qDEB_$2_GNU_CPU`
COMPAT_Q3ARCH=
+ RTCW_FILE_ARCH=
case ${DEB_X_GNU_CPU} in
i?86)
Q3ARCH=x86
- COMPAT_Q3ARCH=i386
+ COMPAT_Q3ARCH=i386
+ RTCW_FILE_ARCH=i386
;;
alpha)
@@ -82,6 +84,12 @@ arch|compat_arch)
echo ${COMPAT_ARCH}
fi
;;
+ (rtcw_file_arch)
+ if test -n "${RTCW_FILE_ARCH}"; then
+ echo "DEB_$2_GNU_CPU = ${DEB_X_GNU_CPU}, RTCW files use ${RTCW_FILE_ARCH}">&2
+ echo ${RTCW_FILE_ARCH}
+ fi
+ ;;
esac
;;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ioquake3.git
More information about the Pkg-games-commits
mailing list