Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-04-12 14:11:21 +0200
committerErich Eckner <git@eckner.net>2019-04-12 14:11:21 +0200
commita853575b0532916f8633ad90b58e792aa45a9e70 (patch)
tree16d25dbcbbbae8a07867acd7e51c81aaa7f21693 /packages
parentb1b6b1b2674a68034c39a3f6dd71abdd59f76ed1 (diff)
pentium4 new
Diffstat (limited to 'packages')
-rw-r--r--packages/differences.php3
-rw-r--r--packages/pkginfo.php2
2 files changed, 4 insertions, 1 deletions
diff --git a/packages/differences.php b/packages/differences.php
index f04ea67..0673715 100644
--- a/packages/differences.php
+++ b/packages/differences.php
@@ -56,6 +56,9 @@ function check_a_older_than_b($a_v, $a_bp, $b_v, $b_bp) {
')';
}
+# TODO: should have a separate column for pentium4 - maybe it makes sense
+# to make this filterable to only compare two architectures!
+
$result = mysql_run_query(
'SELECT ' .
'`bp_i486`.`pkgname`,' .
diff --git a/packages/pkginfo.php b/packages/pkginfo.php
index 86f7100..5d93db9 100644
--- a/packages/pkginfo.php
+++ b/packages/pkginfo.php
@@ -16,7 +16,7 @@ if (!array_key_exists('repo_arch', $_GET)) {
unset($_GET['arch']);
}
-if (($_GET['repo']=='i686') || ($_GET['repo']=='i486') || ($_GET['repo']=='any')) {
+if (($_GET['repo']=='i686') || ($_GET['repo']=='i486') || ($_GET['repo']=='pentium4') || ($_GET['repo']=='any')) {
header('Location: ' . $uri_prefix . $_GET['repo'] . '/' . $_GET['repo_arch'] . '/' . $_GET['pkgname'] . '/');
die();
}