openbsd-ports/www/chromium/patches/patch-build_linux_python_arch_sh
espie 5cb978edde cut the "monster patches" into small pieces. pval can fix it to his liking
if he comes back.
In the mean time, fix build of chromium by adding the required
-I/usr/local/includes to gyp glue where needed.
2010-12-13 09:51:45 +00:00

27 lines
718 B
Plaintext

$OpenBSD: patch-build_linux_python_arch_sh,v 1.1 2010/12/13 09:51:45 espie Exp $
--- build/linux/python_arch.sh.orig Tue Mar 30 07:28:30 2010
+++ build/linux/python_arch.sh Sun Nov 28 00:11:29 2010
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/local/bin/bash
# Copyright (c) 2010 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -10,12 +10,10 @@
# python_arch.sh /path/to/sysroot/usr/lib/libpython2.4.so.1.0
#
-python=$(readlink -f "$1")
-if [ ! -r "$python" ]; then
- echo unknown
- exit 0;
-fi
-file_out=$(file "$python")
+echo ia32
+exit 0
+
+file_out=$(file "$1")
if [ $? -ne 0 ]; then
echo unknown
exit 0;