forked from LibreELEC/LibreELEC.tv
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding diskdev_cmds tweaking urls to be http instead ftp adding cross…
…compile patch for glew installing sftp subsystem
- Loading branch information
Showing
13 changed files
with
3,329 additions
and
4 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
128 changes: 128 additions & 0 deletions
128
packages/databases/mysql/patches/mysql-5.1.57-010_crosscompiling.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
diff -Naur mysql-5.1.38/dbug/Makefile.am mysql-5.1.38.patch/dbug/Makefile.am | ||
--- mysql-5.1.38/dbug/Makefile.am 2009-08-21 14:09:22.000000000 +0200 | ||
+++ mysql-5.1.38.patch/dbug/Makefile.am 2009-09-10 02:57:59.000000000 +0200 | ||
@@ -44,19 +44,19 @@ | ||
-groff -mm user.r > $@ | ||
|
||
output1.r: factorial | ||
- ./factorial 1 2 3 4 5 | cat > $@ | ||
+ mysql-factorial 1 2 3 4 5 | cat > $@ | ||
|
||
output2.r: factorial | ||
- ./factorial -\#t:o 2 3 | cat >$@ | ||
+ mysql-factorial -\#t:o 2 3 | cat >$@ | ||
|
||
output3.r: factorial | ||
- ./factorial -\#d:t:o 3 | cat >$@ | ||
+ mysql-factorial -\#d:t:o 3 | cat >$@ | ||
|
||
output4.r: factorial | ||
- ./factorial -\#d,result:o 4 | cat >$@ | ||
+ mysql-factorial -\#d,result:o 4 | cat >$@ | ||
|
||
output5.r: factorial | ||
- ./factorial -\#d:f,factorial:F:L:o 3 | cat >$@ | ||
+ mysql-factorial -\#d:f,factorial:F:L:o 3 | cat >$@ | ||
.c.r: | ||
@RM@ -f $@ | ||
@SED@ -e 's!\\!\\\\!g' $< > $@ | ||
diff -Naur mysql-5.1.38/dbug/Makefile.in mysql-5.1.38.patch/dbug/Makefile.in | ||
--- mysql-5.1.38/dbug/Makefile.in 2009-08-21 14:17:15.000000000 +0200 | ||
+++ mysql-5.1.38.patch/dbug/Makefile.in 2009-09-10 02:58:14.000000000 +0200 | ||
@@ -746,19 +746,19 @@ | ||
-groff -mm user.r > $@ | ||
|
||
output1.r: factorial | ||
- ./factorial 1 2 3 4 5 | cat > $@ | ||
+ mysql-factorial 1 2 3 4 5 | cat > $@ | ||
|
||
output2.r: factorial | ||
- ./factorial -\#t:o 2 3 | cat >$@ | ||
+ mysql-factorial -\#t:o 2 3 | cat >$@ | ||
|
||
output3.r: factorial | ||
- ./factorial -\#d:t:o 3 | cat >$@ | ||
+ mysql-factorial -\#d:t:o 3 | cat >$@ | ||
|
||
output4.r: factorial | ||
- ./factorial -\#d,result:o 4 | cat >$@ | ||
+ mysql-factorial -\#d,result:o 4 | cat >$@ | ||
|
||
output5.r: factorial | ||
- ./factorial -\#d:f,factorial:F:L:o 3 | cat >$@ | ||
+ mysql-factorial -\#d:f,factorial:F:L:o 3 | cat >$@ | ||
.c.r: | ||
@RM@ -f $@ | ||
@SED@ -e 's!\\!\\\\!g' $< > $@ | ||
diff -Naur mysql-5.1.38/extra/Makefile.am mysql-5.1.38.patch/extra/Makefile.am | ||
--- mysql-5.1.38/extra/Makefile.am 2009-08-21 14:09:23.000000000 +0200 | ||
+++ mysql-5.1.38.patch/extra/Makefile.am 2009-09-10 02:53:50.000000000 +0200 | ||
@@ -32,7 +32,7 @@ | ||
$(top_builddir)/include/mysqld_error.h: comp_err.c \ | ||
$(top_srcdir)/sql/share/errmsg.txt | ||
$(MAKE) $(AM_MAKEFLAGS) comp_err$(EXEEXT) | ||
- $(top_builddir)/extra/comp_err$(EXEEXT) \ | ||
+ mysql-comp_err$(EXEEXT) \ | ||
--charset=$(top_srcdir)/sql/share/charsets \ | ||
--out-dir=$(top_builddir)/sql/share/ \ | ||
--header_file=$(top_builddir)/include/mysqld_error.h \ | ||
diff -Naur mysql-5.1.38/extra/Makefile.in mysql-5.1.38.patch/extra/Makefile.in | ||
--- mysql-5.1.38/extra/Makefile.in 2009-08-21 14:17:16.000000000 +0200 | ||
+++ mysql-5.1.38.patch/extra/Makefile.in 2009-09-10 02:53:16.000000000 +0200 | ||
@@ -936,7 +936,7 @@ | ||
$(top_builddir)/include/mysqld_error.h: comp_err.c \ | ||
$(top_srcdir)/sql/share/errmsg.txt | ||
$(MAKE) $(AM_MAKEFLAGS) comp_err$(EXEEXT) | ||
- $(top_builddir)/extra/comp_err$(EXEEXT) \ | ||
+ mysql-comp_err$(EXEEXT) \ | ||
--charset=$(top_srcdir)/sql/share/charsets \ | ||
--out-dir=$(top_builddir)/sql/share/ \ | ||
--header_file=$(top_builddir)/include/mysqld_error.h \ | ||
diff -Naur mysql-5.1.38/scripts/Makefile.am mysql-5.1.38.patch/scripts/Makefile.am | ||
--- mysql-5.1.38/scripts/Makefile.am 2009-08-21 14:11:26.000000000 +0200 | ||
+++ mysql-5.1.38.patch/scripts/Makefile.am 2009-09-10 02:57:01.000000000 +0200 | ||
@@ -121,7 +121,7 @@ | ||
mysql_fix_privilege_tables_sql.c: comp_sql.c mysql_fix_privilege_tables.sql | ||
$(MAKE) $(AM_MAKEFLAGS) comp_sql$(EXEEXT) | ||
sleep 2 | ||
- $(top_builddir)/scripts/comp_sql$(EXEEXT) \ | ||
+ mysql-comp_sql$(EXEEXT) \ | ||
mysql_fix_privilege_tables \ | ||
$(top_srcdir)/scripts/mysql_fix_privilege_tables.sql $@ | ||
|
||
diff -Naur mysql-5.1.38/scripts/Makefile.in mysql-5.1.38.patch/scripts/Makefile.in | ||
--- mysql-5.1.38/scripts/Makefile.in 2009-08-21 14:17:23.000000000 +0200 | ||
+++ mysql-5.1.38.patch/scripts/Makefile.in 2009-09-10 02:57:11.000000000 +0200 | ||
@@ -802,7 +802,7 @@ | ||
mysql_fix_privilege_tables_sql.c: comp_sql.c mysql_fix_privilege_tables.sql | ||
$(MAKE) $(AM_MAKEFLAGS) comp_sql$(EXEEXT) | ||
sleep 2 | ||
- $(top_builddir)/scripts/comp_sql$(EXEEXT) \ | ||
+ mysql-comp_sql$(EXEEXT) \ | ||
mysql_fix_privilege_tables \ | ||
$(top_srcdir)/scripts/mysql_fix_privilege_tables.sql $@ | ||
|
||
diff -Naur mysql-5.1.38/sql/Makefile.am mysql-5.1.38.patch/sql/Makefile.am | ||
--- mysql-5.1.38/sql/Makefile.am 2009-08-21 14:12:24.000000000 +0200 | ||
+++ mysql-5.1.38.patch/sql/Makefile.am 2009-09-10 02:55:09.000000000 +0200 | ||
@@ -174,7 +174,7 @@ | ||
# this avoid the rebuild of the built files in a source dist | ||
lex_hash.h: gen_lex_hash.cc lex.h | ||
$(MAKE) $(AM_MAKEFLAGS) gen_lex_hash$(EXEEXT) | ||
- ./gen_lex_hash$(EXEEXT) > $@-t | ||
+ mysql-gen_lex_hash$(EXEEXT) > $@-t | ||
$(MV) $@-t $@ | ||
|
||
# For testing of udf_example.so | ||
diff -Naur mysql-5.1.38/sql/Makefile.in mysql-5.1.38.patch/sql/Makefile.in | ||
--- mysql-5.1.38/sql/Makefile.in 2009-08-21 14:17:25.000000000 +0200 | ||
+++ mysql-5.1.38.patch/sql/Makefile.in 2009-09-10 02:55:22.000000000 +0200 | ||
@@ -1302,7 +1302,7 @@ | ||
# this avoid the rebuild of the built files in a source dist | ||
lex_hash.h: gen_lex_hash.cc lex.h | ||
$(MAKE) $(AM_MAKEFLAGS) gen_lex_hash$(EXEEXT) | ||
- ./gen_lex_hash$(EXEEXT) > $@-t | ||
+ mysql-gen_lex_hash$(EXEEXT) > $@-t | ||
$(MV) $@-t $@ | ||
|
||
# We might have some stuff not built in this build, but that we want to install |
18 changes: 18 additions & 0 deletions
18
packages/graphics/glew/patches/glew-1.6.0-crosscompile.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- glew-1.6.0/config/Makefile.linux.orig 2011-05-07 12:17:35.143944898 -0600 | ||
+++ glew-1.6.0/config/Makefile.linux 2011-05-07 12:17:59.207718777 -0600 | ||
@@ -1,15 +1,7 @@ | ||
NAME = $(GLEW_NAME) | ||
-CC = cc | ||
-LD = cc | ||
PICFLAG = -fPIC | ||
M_ARCH ?= $(shell uname -m) | ||
-ifeq (x86_64,${M_ARCH}) | ||
-LDFLAGS.EXTRA = -L/usr/X11R6/lib64 | ||
-LIBDIR = $(GLEW_DEST)/lib64 | ||
-else | ||
-LDFLAGS.EXTRA = -L/usr/X11R6/lib | ||
LIBDIR = $(GLEW_DEST)/lib | ||
-endif | ||
LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11 | ||
LDFLAGS.STATIC = -Wl,-Bstatic | ||
LDFLAGS.DYNAMIC = -Wl,-Bdynamic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- glew-1.6.0/config/Makefile.linux.orig 2011-05-07 12:08:25.427908940 -0600 | ||
+++ glew-1.6.0/config/Makefile.linux 2011-05-07 12:08:50.345126195 -0600 | ||
@@ -1,15 +1,9 @@ | ||
NAME = $(GLEW_NAME) | ||
-CC = cc | ||
-LD = cc | ||
+CC = $(CC) | ||
+LD = $(CC) | ||
PICFLAG = -fPIC | ||
M_ARCH ?= $(shell uname -m) | ||
-ifeq (x86_64,${M_ARCH}) | ||
-LDFLAGS.EXTRA = -L/usr/X11R6/lib64 | ||
-LIBDIR = $(GLEW_DEST)/lib64 | ||
-else | ||
-LDFLAGS.EXTRA = -L/usr/X11R6/lib | ||
LIBDIR = $(GLEW_DEST)/lib | ||
-endif | ||
LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11 | ||
LDFLAGS.STATIC = -Wl,-Bstatic | ||
LDFLAGS.DYNAMIC = -Wl,-Bdynamic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/sh | ||
|
||
################################################################################ | ||
# This file is part of OpenELEC - http://www.openelec.tv | ||
# Copyright (C) 2009-2011 Stephan Raue ([email protected]) | ||
# | ||
# This Program is free software; you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation; either version 2, or (at your option) | ||
# any later version. | ||
# | ||
# This Program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with OpenELEC.tv; see the file COPYING. If not, write to | ||
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | ||
# http://www.gnu.org/copyleft/gpl.html | ||
################################################################################ | ||
|
||
. config/options $1 | ||
|
||
cd $PKG_BUILD | ||
|
||
make -f Makefile.lnx CC=$CC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/bin/sh | ||
|
||
################################################################################ | ||
# This file is part of OpenELEC - http://www.openelec.tv | ||
# Copyright (C) 2009-2011 Stephan Raue ([email protected]) | ||
# | ||
# This Program is free software; you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation; either version 2, or (at your option) | ||
# any later version. | ||
# | ||
# This Program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with OpenELEC.tv; see the file COPYING. If not, write to | ||
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | ||
# http://www.gnu.org/copyleft/gpl.html | ||
################################################################################ | ||
|
||
. config/options $1 | ||
|
||
mkdir -p $INSTALL/usr/sbin | ||
cp $PKG_BUILD/fsck_hfs.tproj/fsck_hfs $INSTALL/usr/sbin | ||
ln -sf fsck_hfs $INSTALL/usr/sbin/fsck.hfs | ||
ln -sf fsck_hfs $INSTALL/usr/sbin/fsck.hfsplus | ||
|
||
cp $PKG_BUILD/newfs_hfs.tproj/newfs_hfs $INSTALL/usr/sbin | ||
ln -sf newfs_hfs $INSTALL/usr/sbin/mkfs.hfs | ||
ln -sf newfs_hfs $INSTALL/usr/sbin/mkfs.hfsplus |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
################################################################################ | ||
# This file is part of OpenELEC - http://www.openelec.tv | ||
# Copyright (C) 2009-2011 Stephan Raue ([email protected]) | ||
# | ||
# This Program is free software; you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation; either version 2, or (at your option) | ||
# any later version. | ||
# | ||
# This Program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with OpenELEC.tv; see the file COPYING. If not, write to | ||
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | ||
# http://www.gnu.org/copyleft/gpl.html | ||
################################################################################ | ||
|
||
PKG_NAME="diskdev_cmds" | ||
PKG_VERSION="332.14" | ||
PKG_REV="1" | ||
PKG_ARCH="any" | ||
PKG_LICENSE="APSL" | ||
PKG_SITE="http://src.gnu-darwin.org/DarwinSourceArchive/expanded/diskdev_cmds/" | ||
PKG_URL="http://src.gnu-darwin.org/DarwinSourceArchive/apsl/$PKG_NAME-$PKG_VERSION.tar.gz" | ||
PKG_DEPENDS="" | ||
PKG_BUILD_DEPENDS="toolchain" | ||
PKG_PRIORITY="optional" | ||
PKG_SECTION="system" | ||
PKG_SHORTDESC="diskdev_cmds: hfs filesystem utilities" | ||
PKG_LONGDESC="The fsck and mkfs utliities for hfs and hfsplus filesystems." | ||
PKG_IS_ADDON="no" | ||
|
||
PKG_AUTORECONF="no" |
Oops, something went wrong.