summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-11 21:37:36 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-11 21:37:36 +0200
commita26b2d9502bc57f975c4da59685d8fe412541762 (patch)
tree55e6a2326b8032c77a446ffe799a1d3564405d9e
parent2b1f67debe40049cbaa2f008d6de788ba6d17ca0 (diff)
parent0e9ca8afb6da39fea0555d5882e8eb293c3efb62 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
-rw-r--r--package/MesaLib/patches/patch-src_gallium_auxiliary_util_u_debug_symbol_c15
-rw-r--r--package/bcm2835-vc/Makefile25
-rw-r--r--package/boost/Makefile1
-rw-r--r--package/eglibc/Makefile14
-rw-r--r--package/eglibc/files/nsswitch.conf20
-rw-r--r--package/ffmpeg/Makefile14
-rw-r--r--package/firefox/Makefile54
-rw-r--r--package/firefox/patches/patch-configure21
-rw-r--r--package/firefox/patches/patch-content_base_public_nsContentUtils_h11
-rw-r--r--package/firefox/patches/patch-content_media_nsAudioStream_cpp11
-rw-r--r--package/firefox/patches/patch-ipc_chromium_src_base_debug_util_posix_cc35
-rw-r--r--package/firefox/patches/patch-ipc_chromium_src_base_file_util_cc12
-rw-r--r--package/firefox/patches/patch-ipc_chromium_src_base_file_util_linux_cc10
-rw-r--r--package/firefox/patches/patch-ipc_chromium_src_base_process_util_h21
-rw-r--r--package/firefox/patches/patch-ipc_chromium_src_base_time_posix_cc11
-rw-r--r--package/firefox/patches/patch-ipc_chromium_src_build_build_config_h15
-rw-r--r--package/firefox/patches/patch-js_src_Makefile_in11
-rw-r--r--package/firefox/patches/patch-js_src_ctypes_CTypes_cpp11
-rw-r--r--package/firefox/patches/patch-js_src_jscpucfg_cpp14
-rw-r--r--package/firefox/patches/patch-js_src_jsnum_h11
-rw-r--r--package/firefox/patches/patch-js_src_jsprf_cpp20
-rw-r--r--package/firefox/patches/patch-js_src_xpconnect_src_xpcconvert_cpp20
-rw-r--r--package/firefox/patches/patch-security_coreconf_Linux_mk15
-rw-r--r--package/firefox/patches/patch-security_coreconf_command_mk11
-rw-r--r--package/firefox/patches/patch-security_nss_lib_freebl_stubs_c11
-rw-r--r--package/firefox/patches/patch-xpcom_ds_nsMathUtils_h11
-rw-r--r--package/firefox/patches/patch-xpcom_threads_nsThread_cpp17
-rw-r--r--package/glibc/Makefile5
-rw-r--r--package/glibc/files/nsswitch.conf20
-rw-r--r--package/harfbuzz/Makefile6
-rw-r--r--package/libdrm/patches/patch-ltmain_sh11
-rw-r--r--package/libjpeg-turbo/Makefile24
-rw-r--r--package/libstdcxx/Makefile13
-rw-r--r--package/libx264/Makefile27
-rw-r--r--package/libx264/patches/patch-configure23
-rw-r--r--package/libx264/patches/patch-configure.orig11
-rw-r--r--package/mpd/files/mpd.conf2
-rw-r--r--package/nspr/Makefile4
-rw-r--r--package/nss/Makefile21
-rw-r--r--package/nss/patches/001-lfs-nss-config+nss_pc.patch241
-rw-r--r--package/nss/patches/patch-mozilla_security_coreconf_Linux_mk33
-rw-r--r--package/nss/patches/patch-mozilla_security_coreconf_UNIX_mk12
-rw-r--r--package/nss/patches/patch-mozilla_security_coreconf_arch_mk11
-rw-r--r--package/nss/patches/patch-mozilla_security_coreconf_command_mk11
-rw-r--r--package/nss/patches/patch-mozilla_security_coreconf_nsinstall_Makefile11
-rw-r--r--package/nss/patches/patch-mozilla_security_coreconf_rules_mk20
-rw-r--r--package/nss/patches/patch-mozilla_security_nss_cmd_shlibsign_sign_sh10
-rw-r--r--package/nss/patches/patch-mozilla_security_nss_lib_freebl_stubs_c11
-rw-r--r--package/nss/patches/patch-nss_cmd_shlibsign_sign_sh12
-rw-r--r--package/nss/patches/patch-nss_coreconf_Linux_mk24
-rw-r--r--package/nss/patches/patch-nss_coreconf_UNIX_mk12
-rw-r--r--package/nss/patches/patch-nss_coreconf_command_mk11
-rw-r--r--package/nss/patches/patch-nss_coreconf_nsinstall_Makefile23
-rw-r--r--package/nss/patches/patch-nss_coreconf_rules_mk11
-rw-r--r--package/nss/patches/patch-nss_manifest_mn8
-rw-r--r--package/nss/src/nss/config/Makefile41
-rw-r--r--package/nss/src/nss/config/nss-config.in155
-rw-r--r--package/nss/src/nss/config/nss.pc.in12
-rw-r--r--package/omxplayer/Makefile10
-rw-r--r--package/omxplayer/patches/patch-Makefile13
-rw-r--r--package/omxplayer/patches/patch-Makefile_include50
-rw-r--r--package/omxplayer/patches/patch-OMXPlayerSubtitles_cpp6
-rw-r--r--package/omxplayer/patches/patch-omxplayer26
-rw-r--r--package/sqlite/Makefile10
-rw-r--r--package/sqlite/patches/patch-ltmain_sh11
-rw-r--r--package/xbmc/Makefile5
-rw-r--r--package/xbmc/patches/patch-xbmc_Application_cpp4
-rw-r--r--package/xf86-video-cirrus/Makefile2
-rw-r--r--package/xf86-video-cirrus/patches/patch-ltmain_sh11
-rw-r--r--scripts/scan-pkgs.sh4
-rw-r--r--scripts/xbmc-fix.sh7
-rw-r--r--target/packages/pkg-available/mpdbox1
72 files changed, 635 insertions, 803 deletions
diff --git a/package/MesaLib/patches/patch-src_gallium_auxiliary_util_u_debug_symbol_c b/package/MesaLib/patches/patch-src_gallium_auxiliary_util_u_debug_symbol_c
index f1d92ca8c..b5da190a5 100644
--- a/package/MesaLib/patches/patch-src_gallium_auxiliary_util_u_debug_symbol_c
+++ b/package/MesaLib/patches/patch-src_gallium_auxiliary_util_u_debug_symbol_c
@@ -1,5 +1,5 @@
--- Mesa-8.0.5.orig/src/gallium/auxiliary/util/u_debug_symbol.c 2012-10-24 21:03:59.000000000 +0200
-+++ Mesa-8.0.5/src/gallium/auxiliary/util/u_debug_symbol.c 2013-09-25 17:45:12.000000000 +0200
++++ Mesa-8.0.5/src/gallium/auxiliary/util/u_debug_symbol.c 2013-10-08 12:13:11.000000000 +0200
@@ -151,23 +151,6 @@ debug_symbol_name_dbghelp(const void *ad
}
#endif
@@ -24,3 +24,16 @@
void
debug_symbol_name(const void *addr, char* buf, unsigned size)
{
+@@ -176,12 +159,6 @@ debug_symbol_name(const void *addr, char
+ if(buf[0])
+ return;
+ #endif
+-
+-#ifdef __GLIBC__
+- debug_symbol_name_glibc(addr, buf, size);
+- if(buf[0])
+- return;
+-#endif
+
+ util_snprintf(buf, size, "%p", addr);
+ buf[size - 1] = 0;
diff --git a/package/bcm2835-vc/Makefile b/package/bcm2835-vc/Makefile
index aa5a1fad8..1251ce8d3 100644
--- a/package/bcm2835-vc/Makefile
+++ b/package/bcm2835-vc/Makefile
@@ -4,9 +4,10 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= bcm2835-vc
-PKG_VERSION:= 0.2
-PKG_RELEASE:= 3
-PKG_MD5SUM:= d16840805c020af92cd2268a0291228b
+# actually f65a4eef05ee436976f9be219d3db841d3d6b8ec from 05.10.2013
+PKG_VERSION:= 0.3
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 027d42d1ba803fabdc6bc4ec78d52e67
PKG_DESCR:= vc tools for raspberry pi (bcm2835)
PKG_SECTION:= base
PKG_DEPENDS:= libpthread
@@ -15,24 +16,26 @@ PKG_SITES:= http://openadk.org/distfiles/
PKG_LIBC_DEPENDS:= eglibc glibc
PKG_SYSTEM_DEPENDS:= raspberry-pi
-PKG_SUBPKGS:= BCM2835_VC BCM2835_VC_DEV
+PKG_SUBPKGS:= BCM2835_VC
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BCM2835_VC,bcm2835-vc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,BCM2835_VC_DEV,bcm2835-vc-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIG_STYLE:= manual
-BUILD_STYLE:= manual
-INSTALL_STYLE:= manual
+
+do-configure:
+ (cd $(WRKBUILD) && cmake .)
bcm2835-vc-install:
- ${CP} ${WRKBUILD}/* ${IDIR_BCM2835_VC}
+ $(INSTALL_DIR) ${IDIR_BCM2835_VC}/opt/vc/{bin,lib}
+ $(CP) ${WRKINST}/opt/vc/lib/* ${IDIR_BCM2835_VC}/opt/vc/lib
+ $(CP) ${WRKINST}/opt/vc/bin/* ${IDIR_BCM2835_VC}/opt/vc/bin
# required for xbmc
(cd ${IDIR_BCM2835_VC}/opt/vc/lib && ln -sf libEGL.so libEGL.so.1)
- -rm -rf ${IDIR_BCM2835_VC}/opt/vc/include
+ -rm -rf ${STAGING_DIR}/opt/vc
mkdir -p ${STAGING_DIR}/opt/vc
- ${CP} ${WRKBUILD}/opt/vc/lib ${STAGING_DIR}/opt/vc
- ${CP} ${WRKBUILD}/opt/vc/include ${STAGING_DIR}/opt/vc
+ ${CP} ${WRKINST}/opt/vc/lib ${STAGING_DIR}/opt/vc
+ ${CP} ${WRKINST}/opt/vc/include ${STAGING_DIR}/opt/vc
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/boost/Makefile b/package/boost/Makefile
index cce3246fa..d0ac60891 100644
--- a/package/boost/Makefile
+++ b/package/boost/Makefile
@@ -9,6 +9,7 @@ PKG_RELEASE:= 2
PKG_MD5SUM:= efbfbff5a85a9330951f243d0a46e4b9
PKG_DESCR:= boost C++ library
PKG_SECTION:= libs
+PKG_BUILDDEP:= gettext-tiny
PKG_URL:= http://www.boost.org/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=boost/}
diff --git a/package/eglibc/Makefile b/package/eglibc/Makefile
index 9f37255cf..3261ba314 100644
--- a/package/eglibc/Makefile
+++ b/package/eglibc/Makefile
@@ -24,16 +24,6 @@ INSTALL_STYLE:= manual
# compile nothing, eglibc is already build in toolchain directory
do-install:
-ifeq ($(ADK_TARGET_WITH_MULTILIB),y)
- for abi in $(TABI); do \
- ${INSTALL_DIR} $(IDIR_EGLIBC)/lib$${abi/*:/} $(IDIR_EGLIBC)/usr/lib$${abi/*:/} ; \
- $(CP) $(STAGING_TARGET_DIR)/lib/ld* $(IDIR_EGLIBC)/lib$${abi/*:/} ; \
- -for file in libc libcrypt libdl libm libresolv libutil libnsl libnss_dns libnss_files; do \
- $(CP) $(STAGING_TARGET_DIR)-$${abi/*:/}/lib/$$file.so* $(IDIR_EGLIBC)/lib$${abi/*:/}; \
- $(CP) $(STAGING_TARGET_DIR)-$${abi/*:/}/lib/$$file-$(PKG_VERSION).so $(IDIR_EGLIBC)/lib$${abi/*:/}; \
- done ; \
- done
-else
${INSTALL_DIR} $(IDIR_EGLIBC)/$(ADK_TARGET_LIBC_PATH) \
$(IDIR_EGLIBC)/usr/lib $(IDIR_EGLIBC)/usr/bin
$(CP) $(STAGING_TARGET_DIR)/lib/ld* $(IDIR_EGLIBC)/$(ADK_TARGET_LIBC_PATH)
@@ -45,9 +35,9 @@ else
ifeq ($(ADK_LOCALES),y)
$(CP) $(STAGING_TARGET_DIR)/usr/bin/locale $(IDIR_EGLIBC)/usr/bin
endif
-endif
${INSTALL_DIR} $(IDIR_EGLIBC)/etc
- ${INSTALL_DATA} ${STAGING_TARGET_DIR}/etc/{gai,nscd,nsswitch}.conf ${IDIR_EGLIBC}/etc
+ ${INSTALL_DATA} ${STAGING_TARGET_DIR}/etc/gai.conf ${IDIR_EGLIBC}/etc
+ ${INSTALL_DATA} ./files/nsswitch.conf ${IDIR_EGLIBC}/etc
eglibc-static-install:
${INSTALL_DIR} $(IDIR_EGLIBC_STATIC)/usr/lib
diff --git a/package/eglibc/files/nsswitch.conf b/package/eglibc/files/nsswitch.conf
new file mode 100644
index 000000000..53bb9d3dd
--- /dev/null
+++ b/package/eglibc/files/nsswitch.conf
@@ -0,0 +1,20 @@
+# /etc/nsswitch.conf
+#
+# Example configuration of GNU Name Service Switch functionality.
+#
+
+passwd: files
+group: files
+initgroups: files
+shadow: files
+gshadow: files
+
+hosts: files dns
+networks: files dns
+
+protocols: files
+services: files
+ethers: files
+rpc: files
+
+netgroup: files
diff --git a/package/ffmpeg/Makefile b/package/ffmpeg/Makefile
index 21fd3bc99..131d1856a 100644
--- a/package/ffmpeg/Makefile
+++ b/package/ffmpeg/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= ffmpeg
PKG_VERSION:= 2.0.1
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= dd71a1baedb2daa3e4d21e0651daa918
PKG_DESCR:= record, convert and stream audio & video
PKG_SECTION:= libs
@@ -31,7 +31,14 @@ PKGSC_FFPROBE:= multimedia
PKGSS_FFPROBE:= libffmpeg
PKG_FLAVOURS_LIBFFMPEG:= WITH_AAC WITH_MP3 WITH_VP8 WITH_THEORA
-PKG_FLAVOURS_LIBFFMPEG+= WITH_XVID WITH_VORBIS
+PKG_FLAVOURS_LIBFFMPEG+= WITH_XVID WITH_VORBIS WITH_X264
+
+PKGFD_WITH_X264:= with X264 decoding support
+PKGFS_WITH_X264:= libx264
+PKGFB_WITH_X264:= libx264
+ifeq ($(ADK_PACKAGE_LIBFFMPEG_WITH_X264),y)
+PKG_FDEPENDS+= libx264
+endif
PKGFD_WITH_AAC:= with AAC encoding support
PKGFS_WITH_AAC:= libfaac
@@ -130,6 +137,9 @@ CONFIGURE_ARGS:= --prefix=/usr \
--enable-postproc \
${CONFIGURE_CPU_OPTS}
+ifeq ($(ADK_PACKAGE_LIBFFMPEG_WITH_X264),y)
+CONFIGURE_ARGS+= --enable-libx264
+endif
ifeq ($(ADK_PACKAGE_LIBFFMPEG_WITH_AAC),y)
CONFIGURE_ARGS+= --enable-libfaac
endif
diff --git a/package/firefox/Makefile b/package/firefox/Makefile
index bf3f7d8cb..621f46e45 100644
--- a/package/firefox/Makefile
+++ b/package/firefox/Makefile
@@ -4,17 +4,18 @@
include $(TOPDIR)/rules.mk
PKG_NAME:= firefox
-PKG_VERSION:= 5.0.1
+PKG_VERSION:= 24.0
PKG_RELEASE:= 1
-PKG_MD5SUM:= 6d1f43e402cec84459a3d7f950bd5192
+PKG_MD5SUM:= 06a4c0fe8d3a979aea2fce8d0fdbf328
PKG_DESCR:= graphical webbrowser
PKG_SECTION:= x11/apps
-PKG_DEPENDS:= libpthread alsa-lib dbus-glib glib libgtk libpng libtiff libxcursor libffi
-PKG_DEPENDS+= nspr nss libjpeg libatk pango cairo libxt libx11 libstdcxx hicolor-icon-theme
-PKG_DEPENDS+= libxdamage libxfixes libidl libsqlite libxcomposite gdk-pixbuf libintl librt libgcc
-PKG_DEPENDS+= harfbuzz
-PKG_BUILDDEP:= alsa-lib dbus-glib glib gtk+ libIDL libX11 MesaLib libtiff gdk-pixbuf
-PKG_BUILDDEP+= nspr nss jpeg libXt fontconfig sqlite atk libpng hicolor-icon-theme
+PKG_DEPENDS:= libpthread alsa-lib glib libgtk libpng libtiff libxcursor libffi
+PKG_DEPENDS+= nspr nss libjpeg-turbo libatk pango cairo libxt libx11 libstdcxx hicolor-icon-theme
+PKG_DEPENDS+= libxdamage libxfixes libidl libsqlite libxcomposite gdk-pixbuf librt libgcc
+PKG_DEPENDS+= harfbuzz mesalib libvpx libbz2 ca-certificates
+PKG_BUILDDEP:= alsa-lib glib gtk+ libIDL libX11 MesaLib libtiff gdk-pixbuf
+PKG_BUILDDEP+= nspr nss libjpeg-turbo libXt fontconfig sqlite atk libpng hicolor-icon-theme
+PKG_BUILDDEP+= libvpx pango gettext-tiny bzip2
PKG_URL:= http://www.mozilla.org/
PKG_SITES:= http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${PKG_VERSION}/source/
PKG_NOPARALLEL:= 1
@@ -31,6 +32,13 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,FIREFOX,firefox,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+ifeq ($(ADK_DEBUG),y)
+CONFIGURE_ARGS+= --enable-debug --enable-logging
+else
+CONFIGURE_ARGS+= --disable-debug --disable-logging
+endif
+
+
CONFIGURE_ENV+= CROSS_COMPILE=1 \
HOST_CC="${CC_FOR_BUILD}" \
HOST_CPPFLAGS="${CPPFLAGS_FOR_BUILD}" \
@@ -45,27 +53,36 @@ CONFIGURE_ENV+= CROSS_COMPILE=1 \
ac_cv_sqlite_secure_delete=yes \
ac_cv_sqlite_threadsafe=yes \
ac_cv_sqlite_enable_fts3=yes \
- ac_cv_sqlite_enable_unlock_notify=yes \
- ac_cv_thread_keyword=no \
- ac_cv_sizeof_int_p=4
+ ac_cv_sqlite_enable_unlock_notify=yes
CONFIGURE_ARGS+= --enable-application=browser \
--enable-official-branding \
--with-system-zlib \
+ --with-system-bz2 \
+ --with-system-png \
--with-system-cairo \
--with-system-pixman \
--with-system-jpeg \
--with-system-nss \
--with-system-nspr \
+ --with-system-pango \
+ --with-system-libvpx \
+ --enable-system-ffi \
--enable-system-sqlite \
+ --disable-libnotify \
--with-libIDL-prefix=${STAGING_TARGET_DIR}/usr \
--with-glib-prefix=${STAGING_TARGET_DIR}/usr \
+ --enable-chrome-format=jar \
+ --enable-necko-protocols=all \
--enable-libxul \
- --disable-libnotify \
+ --enable-alsa \
+ --disable-pulseaudio \
+ --disable-gstreamer \
+ --disable-gio \
+ --disable-gconf \
--disable-accessibility \
--disable-smil \
--disable-dbus \
- --disable-debug \
- --disable-logging \
+ --disable-gamepad \
--disable-strip \
--disable-install-strip \
--disable-tests \
@@ -73,6 +90,7 @@ CONFIGURE_ARGS+= --enable-application=browser \
--disable-static \
--disable-gnomeui \
--disable-gnomevfs \
+ --disable-gstreamer \
--disable-optimize \
--disable-necko-wifi \
--disable-svg \
@@ -80,14 +98,18 @@ CONFIGURE_ARGS+= --enable-application=browser \
--disable-jemalloc \
--disable-crashreporter \
--disable-updater \
- --disable-libjpeg-turbo \
--disable-xpcom-fastload \
- --disable-elf-hack
+ --disable-url-classifier \
+ --disable-safe-browsing \
+ --disable-elf-hack
TARGET_LDFLAGS+= -L$(STAGING_DIR)/usr/lib64 -L$(STAGING_DIR)/usr/lib32
XAKE_FLAGS+= OS_RELEASE="2.6" HOST_CC=$(CC_FOR_BUILD) HOST_LDFLAGS=$(LDFLAGS_FOR_BUILD)
XAKE_FLAGS+= ARCHFLAG="${TARGET_CFLAGS} ${TARGET_CPPFLAGS} ${TARGET_LDFLAGS} -lnss3 -lnssutil3 -lsmime3 -lssl3 -fPIC"
+pre-build:
+ -mkdir ${WRKBUILD}/js/src/.deps
+
firefox-install:
$(INSTALL_DIR) $(IDIR_FIREFOX)/usr/bin
$(INSTALL_DIR) $(IDIR_FIREFOX)/usr/lib
diff --git a/package/firefox/patches/patch-configure b/package/firefox/patches/patch-configure
deleted file mode 100644
index e996423f4..000000000
--- a/package/firefox/patches/patch-configure
+++ /dev/null
@@ -1,21 +0,0 @@
---- mozilla-release.orig/configure 2011-07-08 03:30:27.000000000 +0200
-+++ mozilla-release/configure 2013-04-04 16:11:25.000000000 +0200
-@@ -12617,7 +12617,7 @@ fi
-
- if test "x$ac_cv_va_val_copy" = "xno"; then
- cat >> confdefs.h <<\EOF
--#define HAVE_VA_LIST_AS_ARRAY 1
-+#define HAVE_VA_LIST_AS_ARRAY 0
- EOF
-
- fi
-@@ -23504,6 +23504,9 @@ fi
- fi
- fi
-
-+HOST_LIBIDL_CFLAGS=`env PKG_CONFIG_LIBDIR=${PKG_HOSTLIB_DIR} ${BUILD_LIBIDL_CONFIG} --cflags`
-+HOST_LIBIDL_LIBS=`env PKG_CONFIG_LIBDIR=${PKG_HOSTLIB_DIR} ${BUILD_LIBIDL_CONFIG} --libs`
-+
- if test -n "$CROSS_COMPILE"; then
- case "$target" in
- *-mingw*)
diff --git a/package/firefox/patches/patch-content_base_public_nsContentUtils_h b/package/firefox/patches/patch-content_base_public_nsContentUtils_h
deleted file mode 100644
index 7f4a8f0dd..000000000
--- a/package/firefox/patches/patch-content_base_public_nsContentUtils_h
+++ /dev/null
@@ -1,11 +0,0 @@
---- mozilla-release.orig/content/base/public/nsContentUtils.h 2011-07-08 03:15:15.000000000 +0200
-+++ mozilla-release/content/base/public/nsContentUtils.h 2011-07-29 15:50:34.000000000 +0200
-@@ -1928,7 +1928,7 @@ inline NS_HIDDEN_(PRBool) NS_FloatIsFini
- #ifdef WIN32
- return _finite(f);
- #else
-- return finite(f);
-+ return isfinite(f);
- #endif
- }
-
diff --git a/package/firefox/patches/patch-content_media_nsAudioStream_cpp b/package/firefox/patches/patch-content_media_nsAudioStream_cpp
deleted file mode 100644
index 23525db87..000000000
--- a/package/firefox/patches/patch-content_media_nsAudioStream_cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- mozilla-release.orig/content/media/nsAudioStream.cpp 2011-07-08 03:15:16.000000000 +0200
-+++ mozilla-release/content/media/nsAudioStream.cpp 2011-07-29 15:50:34.000000000 +0200
-@@ -566,7 +566,7 @@ PRInt64 nsAudioStreamLocal::GetSampleOff
- #if defined(XP_WIN)
- positionType = SA_POSITION_WRITE_HARDWARE;
- #endif
-- PRInt64 position = 0;
-+ int64_t position = 0;
- if (sa_stream_get_position(static_cast<sa_stream_t*>(mAudioHandle),
- positionType, &position) == SA_SUCCESS) {
- return position / sizeof(short);
diff --git a/package/firefox/patches/patch-ipc_chromium_src_base_debug_util_posix_cc b/package/firefox/patches/patch-ipc_chromium_src_base_debug_util_posix_cc
deleted file mode 100644
index da3ec2866..000000000
--- a/package/firefox/patches/patch-ipc_chromium_src_base_debug_util_posix_cc
+++ /dev/null
@@ -1,35 +0,0 @@
---- mozilla-2.0.orig/ipc/chromium/src/base/debug_util_posix.cc 2011-03-19 00:33:46.000000000 +0100
-+++ mozilla-2.0/ipc/chromium/src/base/debug_util_posix.cc 2011-04-24 07:55:10.000000000 +0200
-@@ -11,10 +11,6 @@
- #include <sys/stat.h>
- #include <sys/types.h>
- #include <unistd.h>
--#ifndef ANDROID
--#include <execinfo.h>
--#include <sys/sysctl.h>
--#endif
-
- #include "base/basictypes.h"
- #include "base/eintr_wrapper.h"
-@@ -119,11 +115,7 @@ StackTrace::StackTrace() {
- const int kMaxCallers = 256;
-
- void* callers[kMaxCallers];
--#ifndef ANDROID
-- int count = backtrace(callers, kMaxCallers);
--#else
- int count = 0;
--#endif
-
- // Though the backtrace API man page does not list any possible negative
- // return values, we still still exclude them because they would break the
-@@ -138,9 +130,6 @@ StackTrace::StackTrace() {
-
- void StackTrace::PrintBacktrace() {
- fflush(stderr);
--#ifndef ANDROID
-- backtrace_symbols_fd(&trace_[0], trace_.size(), STDERR_FILENO);
--#endif
- }
-
- void StackTrace::OutputToStream(std::ostream* os) {
diff --git a/package/firefox/patches/patch-ipc_chromium_src_base_file_util_cc b/package/firefox/patches/patch-ipc_chromium_src_base_file_util_cc
deleted file mode 100644
index 882ed195a..000000000
--- a/package/firefox/patches/patch-ipc_chromium_src_base_file_util_cc
+++ /dev/null
@@ -1,12 +0,0 @@
---- mozilla-release.orig/ipc/chromium/src/base/file_util.cc 2011-07-08 03:15:22.000000000 +0200
-+++ mozilla-release/ipc/chromium/src/base/file_util.cc 2012-10-03 13:44:11.000000000 +0200
-@@ -8,9 +8,7 @@
- #include <io.h>
- #endif
- #include <stdio.h>
--#if defined(ANDROID)
- #include <unistd.h>
--#endif
-
- #include <fstream>
-
diff --git a/package/firefox/patches/patch-ipc_chromium_src_base_file_util_linux_cc b/package/firefox/patches/patch-ipc_chromium