Jelajahi Sumber

fix release build for uClibc raspberry-pi

Waldemar Brodkorb 11 tahun lalu
induk
melakukan
e45bc457ab
48 mengubah file dengan 299 tambahan dan 420 penghapusan
  1. 3 3
      package/avahi/Makefile
  2. 0 13
      package/bison/patches/patch-Makefile_in.orig
  3. 8 6
      package/cairo/Makefile
  4. 2 2
      package/daq/Makefile
  5. 3 3
      package/fontconfig/Makefile
  6. 4 2
      package/freetype/Makefile
  7. 16 0
      package/freetype/patches/patch-builds_unix_freetype-config_in
  8. 13 0
      package/freetype/patches/patch-builds_unix_freetype2_in
  9. 0 11
      package/freetype/patches/patch-builds_unix_ltmain_sh
  10. 0 11
      package/freetype/patches/patch-builds_unix_unix-cc_in
  11. 1 1
      package/glib/Makefile
  12. 2 2
      package/lame/Makefile
  13. 0 11
      package/lame/patches/patch-ltmain_sh
  14. 16 0
      package/libXft/patches/patch-src_xftglyphs_c
  15. 0 12
      package/libaio/patches/patch-src_Makefile.orig
  16. 2 0
      package/libaudiofile/Makefile
  17. 11 0
      package/libbluray/patches/patch-src_libbluray_decoders_textst_render_c
  18. 7 5
      package/libgd/Makefile
  19. 0 10
      package/libgd/patches/patch-gd_io_h
  20. 11 0
      package/libgd/patches/patch-src_gd_bmp_c
  21. 132 1
      package/libglew/patches/patch-Makefile
  22. 0 11
      package/libglew/patches/patch-Makefile.orig
  23. 0 26
      package/libglew/patches/patch-config_Makefile_linux.orig
  24. 0 23
      package/libx264/patches/patch-configure.orig
  25. 2 2
      package/libxml2/Makefile
  26. 2 0
      package/m4/Makefile
  27. 10 1
      package/orbit2/patches/patch-configure
  28. 10 1
      package/orbit2/patches/patch-linc2_src_Makefile_in
  29. 10 8
      package/pango/Makefile
  30. 6 4
      package/poppler/Makefile
  31. 2 2
      package/pycurl/Makefile
  32. 2 3
      package/python2/Makefile
  33. 0 0
      package/python2/patches/patch-Lib_distutils_sysconfig_py
  34. 1 0
      package/rxvt-unicode/Makefile
  35. 0 19
      package/taglib/patches/patch-taglib_pc_cmake.orig
  36. 0 60
      package/tinyxml/patches/patch-Makefile.orig
  37. 0 26
      package/transproxy/patches/patch-Makefile.orig
  38. 0 24
      package/urlgrabber/patches/patch-setup_py.orig
  39. 3 2
      package/vlc/Makefile
  40. 0 20
      package/vlc/patches/patch-configure
  41. 4 4
      package/vlc/patches/patch-modules_misc_inhibit_xdg_c
  42. 0 10
      package/vlc/patches/patch-modules_misc_inhibit_xscreensaver_c
  43. 0 30
      package/vlc/patches/patch-src_posix_linux_specific_c
  44. 0 11
      package/weechat/patches/patch-configure_ac.orig
  45. 5 1
      package/wget/Makefile
  46. 11 0
      package/wget/patches/patch-Makefile_am
  47. 0 25
      package/wpa_supplicant/patches/patch-wpa_supplicant_Makefile.orig
  48. 0 14
      package/yajl/patches/patch-CMakeLists_txt.orig

+ 3 - 3
package/avahi/Makefile

@@ -4,9 +4,9 @@
 include ${TOPDIR}/rules.mk
 
 PKG_NAME:=		avahi
-PKG_VERSION:=		0.6.30
-PKG_RELEASE:=		2
-PKG_MD5SUM:=		e4db89a2a403ff4c47d66ac66fad1f43
+PKG_VERSION:=		0.6.31
+PKG_RELEASE:=		1
+PKG_MD5SUM:=		2f22745b8f7368ad5a0a3fddac343f2d
 PKG_DESCR:=		mDNS daemon
 PKG_SECTION:=		dhcp
 PKG_BUILDDEP:=		libdaemon expat gdbm glib gettext-tiny gtk+ dbus

+ 0 - 13
package/bison/patches/patch-Makefile_in.orig

@@ -1,13 +0,0 @@
---- bison-3.0.1.orig/Makefile.in	2013-11-12 14:57:09.000000000 +0100
-+++ bison-3.0.1/Makefile.in	2013-11-27 18:39:58.000000000 +0100
-@@ -5134,8 +5134,8 @@ $(CROSS_OPTIONS_TEXI): doc/bison.help $(
- doc/refcard.pdf: doc/refcard.tex
- 	$(AM_V_GEN) cd doc && pdftex $(abs_top_srcdir)/doc/refcard.tex
- $(top_srcdir)/doc/bison.help: src/bison$(EXEEXT)
--	$(AM_V_GEN)src/bison$(EXEEXT) --version >doc/bison.help.tmp
--	$(AM_V_at) src/bison$(EXEEXT) --help   >>doc/bison.help.tmp
-+	bison$(EXEEXT) --version >doc/bison.help.tmp
-+	bison$(EXEEXT) --help   >>doc/bison.help.tmp
- 	$(AM_V_at)$(top_srcdir)/build-aux/move-if-change doc/bison.help.tmp $@
- 
- # Depend on configure to get version number changes.

+ 8 - 6
package/cairo/Makefile

@@ -4,9 +4,9 @@
 include ${TOPDIR}/rules.mk
 
 PKG_NAME:=		cairo
-PKG_VERSION:=		1.10.2
-PKG_RELEASE:=		3
-PKG_MD5SUM:=		f101a9e88b783337b20b2e26dfd26d5f
+PKG_VERSION:=		1.12.16
+PKG_RELEASE:=		1
+PKG_MD5SUM:=		a1304edcdc99282f478b995ee5f8f854
 PKG_DESCR:=		cairo graphics library
 PKG_SECTION:=		libs
 PKG_DEPENDS:=		fontconfig libfreetype libpng libx11 pixman
@@ -17,7 +17,7 @@ PKG_URL:=		http://cairographics.org/
 PKG_SITES:=		http://cairographics.org/releases/
 PKG_OPTS:=		dev
 
-#DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.xz
+DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.xz
 
 ifeq ($(ADK_STATIC),y)
 PKG_OPTS+=		libonly
@@ -34,11 +34,13 @@ ifeq (,$(filter cris,$(TARGET_ARCH)))
 TARGET_CFLAGS:=         $(filter-out -Os,$(TARGET_CFLAGS))
 endif
 CONFIGURE_ARGS+=	--enable-ft=yes \
+			--enable-fc=yes \
 			--enable-tee=yes \
 			--enable-xlib=yes
 
 cairo-install:
-	${INSTALL_DIR} ${IDIR_CAIRO}/usr/lib
-	${CP} ${WRKINST}/usr/lib/libcairo.so* ${IDIR_CAIRO}/usr/lib
+	${INSTALL_DIR} ${IDIR_CAIRO}/usr/lib/cairo
+	${CP} ${WRKINST}/usr/lib/libcairo*.so* ${IDIR_CAIRO}/usr/lib
+	${CP} ${WRKINST}/usr/lib/cairo/*.so* ${IDIR_CAIRO}/usr/lib/cairo
 
 include ${TOPDIR}/mk/pkg-bottom.mk

+ 2 - 2
package/daq/Makefile

@@ -9,8 +9,8 @@ PKG_RELEASE:=		3
 PKG_MD5SUM:=		a00855a153647df76d47f1ea454f74ae
 PKG_DESCR:=		daq
 PKG_SECTION:=		libs
-PKG_DEPENDS:=		libpcap
-PKG_BUILDDEP:=		libpcap autotool
+PKG_DEPENDS:=		libpcap libdnet
+PKG_BUILDDEP:=		libpcap libdnet autotool
 PKG_URL:=		http://www.snort.org
 PKG_SITES:=		http://openadk.org/distfiles/
 PKG_OPTS:=		dev

+ 3 - 3
package/fontconfig/Makefile

@@ -4,9 +4,9 @@
 include ${TOPDIR}/rules.mk
 
 PKG_NAME:=		fontconfig
-PKG_VERSION:=		2.10.91
-PKG_RELEASE:=		2
-PKG_MD5SUM:=		0a8edc63aa79377b2bf44e469d5bbbb7
+PKG_VERSION:=		2.11.0
+PKG_RELEASE:=		1
+PKG_MD5SUM:=		84278204cd7f36adbea7ad8094e039ac
 PKG_DESCR:=		library for configuring and customizing font access
 PKG_SECTION:=		libs
 PKG_DEPENDS:=		libxml2

+ 4 - 2
package/freetype/Makefile

@@ -4,9 +4,9 @@
 include ${TOPDIR}/rules.mk
 
 PKG_NAME:=		freetype
-PKG_VERSION:=		2.4.4
+PKG_VERSION:=		2.5.1
 PKG_RELEASE:=		1
-PKG_MD5SUM:=		9273efacffb683483e58a9e113efae9f
+PKG_MD5SUM:=		a359993ad0dc23323c676b04fdb57110
 PKG_DESCR:=		A free, high-quality and portable font engine
 PKG_SECTION:=		libs
 PKG_DEPENDS:=		zlib
@@ -24,6 +24,8 @@ include ${TOPDIR}/mk/package.mk
 
 $(eval $(call PKG_template,LIBFREETYPE,libfreetype,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
 
+CONFIGURE_ARGS+=	--without-png
+
 libfreetype-install:
 	${INSTALL_DIR} ${IDIR_LIBFREETYPE}/usr/lib
 	${CP} ${WRKINST}/usr/lib/libfreetype.so* ${IDIR_LIBFREETYPE}/usr/lib

+ 16 - 0
package/freetype/patches/patch-builds_unix_freetype-config_in

@@ -0,0 +1,16 @@
+--- freetype-2.5.1.orig/builds/unix/freetype-config.in	2013-11-12 13:33:36.000000000 +0100
++++ freetype-2.5.1/builds/unix/freetype-config.in	2013-12-06 15:56:16.000000000 +0100
+@@ -13,10 +13,10 @@ LC_ALL=C
+ export LC_ALL
+ 
+ prefix="%prefix%"
+-exec_prefix="%exec_prefix%"
++exec_prefix="${prefix}/bin"
+ exec_prefix_set="no"
+-includedir="%includedir%"
+-libdir="%libdir%"
++includedir="${prefix}/include"
++libdir="${prefix}/lib"
+ enable_shared="%build_libtool_libs%"
+ 
+ usage()

+ 13 - 0
package/freetype/patches/patch-builds_unix_freetype2_in

@@ -0,0 +1,13 @@
+--- freetype-2.5.1.orig/builds/unix/freetype2.in	2013-11-12 13:53:44.000000000 +0100
++++ freetype-2.5.1/builds/unix/freetype2.in	2013-12-06 16:08:11.000000000 +0100
+@@ -1,7 +1,7 @@
+ prefix="%prefix%"
+-exec_prefix="%exec_prefix%"
+-libdir="%libdir%"
+-includedir="%includedir%/freetype2"
++exec_prefix="${prefix}"
++libdir="${prefix}/lib"
++includedir="${prefix}/include/freetype2"
+ 
+ Name: FreeType 2
+ Description: A free, high-quality, and portable font engine.

+ 0 - 11
package/freetype/patches/patch-builds_unix_ltmain_sh

@@ -1,11 +0,0 @@
---- freetype-2.3.11.orig/builds/unix/ltmain.sh	2009-10-10 20:37:53.000000000 +0200
-+++ freetype-2.3.11/builds/unix/ltmain.sh	2011-01-14 00:21:25.000000000 +0100
-@@ -4765,7 +4765,7 @@ func_mode_link ()
-       # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
-       # @file GCC response files
-       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
--      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
-+      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto*)
-         func_quote_for_eval "$arg"
- 	arg="$func_quote_for_eval_result"
-         func_append compile_command " $arg"

+ 0 - 11
package/freetype/patches/patch-builds_unix_unix-cc_in

@@ -1,11 +0,0 @@
---- freetype-2.4.4.orig/builds/unix/unix-cc.in	2010-08-31 13:04:28.000000000 +0200
-+++ freetype-2.4.4/builds/unix/unix-cc.in	2011-02-05 18:05:59.000000000 +0100
-@@ -101,7 +101,7 @@ LDFLAGS := @LDFLAGS@
- CCraw_build  := @CC_BUILD@	# native CC of building system
- E_BUILD      := @EXEEXT_BUILD@	# extension for exexutable on building system
- EXPORTS_LIST := $(OBJ_DIR)/ftexport.sym
--CCexe        := $(CCraw_build)	# used to compile `apinames' only
-+CCexe        := $(CCraw_build) $(CFLAGS_FOR_BUILD)	# used to compile `apinames' only
- 
- 
- # Library linking

+ 1 - 1
package/glib/Makefile

@@ -11,7 +11,7 @@ PKG_MD5SUM:=		2f4b15f7ef43d8702d067ab987bf7aba
 PKG_DESCR:=		low-level core library that forms the basis of GTK+
 PKG_SECTION:=		libs
 PKG_DEPENDS:=		libpthread
-PKG_BUILDDEP:=		libffi gettext-tiny libiconv-tiny glib-host zlib
+PKG_BUILDDEP:=		libffi gettext-tiny libiconv-tiny glib-host zlib libelf dbus
 PKG_URL:=		http://www.gtk.org/
 PKG_SITES:=		http://ftp.gnome.org/pub/gnome/sources/glib/${PKG_EXTRAVER}/
 PKG_NOPARALLEL:=	1

+ 2 - 2
package/lame/Makefile

@@ -4,9 +4,9 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=		lame
-PKG_VERSION:=		3.98.4
+PKG_VERSION:=		3.99
 PKG_RELEASE:=		1
-PKG_MD5SUM:=		8e9866ad6b570c6c95c8cba48060473f
+PKG_MD5SUM:=		7abacd1d0a65a63733335786015626db
 PKG_DESCR:=		LAME MP3 encoder
 PKG_SECTION:=		multimedia
 PKG_DEPENDS:=		libncurses

+ 0 - 11
package/lame/patches/patch-ltmain_sh

@@ -1,11 +0,0 @@
---- lame-398-2.orig/ltmain.sh	2008-01-03 01:00:01.000000000 +0100
-+++ lame-398-2/ltmain.sh	2011-01-15 22:13:38.000000000 +0100
-@@ -1693,7 +1693,7 @@ EOF
-       # -F/path gives path to uninstalled frameworks, gcc on darwin
-       # @file GCC response files
-       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
--      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
-+      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto)
- 
- 	# Unknown arguments in both finalize_command and compile_command need
- 	# to be aesthetically quoted because they are evaled later.

+ 16 - 0
package/libXft/patches/patch-src_xftglyphs_c

@@ -0,0 +1,16 @@
+--- libXft-2.3.1.orig/src/xftglyphs.c	2012-06-02 18:36:35.000000000 +0200
++++ libXft-2.3.1/src/xftglyphs.c	2013-12-07 12:17:23.000000000 +0100
+@@ -21,10 +21,10 @@
+  */
+ 
+ #include "xftint.h"
+-#include <freetype/ftoutln.h>
+-#include <freetype/ftlcdfil.h>
++#include <ftoutln.h>
++#include <ftlcdfil.h>
+ 
+-#include <freetype/ftsynth.h>
++#include <ftsynth.h>
+ 
+ /*
+  * Validate the memory info for a font

+ 0 - 12
package/libaio/patches/patch-src_Makefile.orig

@@ -1,12 +0,0 @@
---- libaio-0.3.109.orig/src/Makefile	2009-10-09 20:17:02.000000000 +0200
-+++ libaio-0.3.109/src/Makefile	2012-08-18 12:46:43.000000000 +0200
-@@ -3,7 +3,8 @@ includedir=$(prefix)/include
- libdir=$(prefix)/lib
- 
- ARCH := $(shell uname -m | sed -e s/i.86/i386/)
--CFLAGS := -nostdlib -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 -fPIC
-+CFLAGS ?= -nostdlib -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 -fPIC
-+CFLAGS += -nostdlib -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 -fPIC
- SO_CFLAGS=-shared $(CFLAGS)
- L_CFLAGS=$(CFLAGS)
- LINK_FLAGS=

+ 2 - 0
package/libaudiofile/Makefile

@@ -10,6 +10,8 @@ PKG_MD5SUM:=		2731d79bec0acef3d30d2fc86b0b72fd
 PKG_DESCR:=		audiofile library
 PKG_SECTION:=		libs
 PKG_URL:=		http://audiofile.68k.org/
+PKG_BUILDDEP:=		flac
+PKG_DEPENDS:=		libflac
 PKG_SITES:=		http://audiofile.68k.org/
 PKG_LIBNAME:=		libaudiofile
 PKG_OPTS:=		dev

+ 11 - 0
package/libbluray/patches/patch-src_libbluray_decoders_textst_render_c

@@ -0,0 +1,11 @@
+--- libbluray-0.4.0.orig/src/libbluray/decoders/textst_render.c	2013-09-18 10:52:01.000000000 +0200
++++ libbluray-0.4.0/src/libbluray/decoders/textst_render.c	2013-12-08 15:47:03.000000000 +0100
+@@ -30,7 +30,7 @@
+ #ifdef HAVE_FT2
+ #include <ft2build.h>
+ #include FT_FREETYPE_H
+-#include <freetype/ftsynth.h>
++#include <ftsynth.h>
+ #endif
+ 
+ #include "textst_render.h"

+ 7 - 5
package/libgd/Makefile

@@ -3,19 +3,21 @@
 
 include ${TOPDIR}/rules.mk
 
-PKG_NAME:=		gd
-PKG_VERSION:=		2.0.35
-PKG_RELEASE:=		2
-PKG_MD5SUM:=		982963448dc36f20cb79b6e9ba6fdede
+PKG_NAME:=		libgd
+PKG_VERSION:=		2.1.0
+PKG_RELEASE:=		1
+PKG_MD5SUM:=		03588159bf4faab9079849c8d709acc6
 PKG_DESCR:=		A library for the dynamic creation of images
 PKG_SECTION:=		libs
 PKG_DEPENDS:=		libjpeg libpng
 PKG_BUILDDEP:=		libpng jpeg
 PKG_URL:=		http://www.libgd.org/
-PKG_SITES:=		http://www.libgd.org/releases/
+PKG_SITES:=		https://bitbucket.org/libgd/gd-libgd/downloads/
 PKG_LIBNAME:=		libgd
 PKG_OPTS:=		dev
 
+DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.xz
+
 include ${TOPDIR}/mk/package.mk
 
 $(eval $(call PKG_template,LIBGD,libgd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))

+ 0 - 10
package/libgd/patches/patch-gd_io_h

@@ -1,10 +0,0 @@
---- gd-2.0.36.orig/gd_io.h	2007-11-27 09:30:34.000000000 +0100
-+++ gd-2.0.36/gd_io.h	2012-10-14 16:10:30.000000000 +0200
-@@ -26,6 +26,7 @@ typedef struct gdIOCtx
- 
-   void (*gd_free) (struct gdIOCtx *);
- 
-+  void    *data;
- }
- gdIOCtx;
- 

+ 11 - 0
package/libgd/patches/patch-src_gd_bmp_c

@@ -0,0 +1,11 @@
+--- libgd-2.1.0.orig/src/gd_bmp.c	2013-06-25 11:58:23.000000000 +0200
++++ libgd-2.1.0/src/gd_bmp.c	2013-12-08 16:23:11.000000000 +0100
+@@ -792,7 +792,7 @@ static int bmp_read_1bit(gdImagePtr im,
+ 	}
+ 
+ 	/* The line must be divisible by 4, else its padded with NULLs */
+-	padding = ((int)ceill(0.1 * info->width)) % 4;
++	padding = ((int)ceil(0.1 * info->width)) % 4;
+ 	if (padding) {
+ 		padding = 4 - padding;
+ 	}

+ 132 - 1
package/libglew/patches/patch-Makefile

@@ -1,5 +1,23 @@
 --- glew-1.10.0.orig/Makefile	2013-07-22 16:11:22.000000000 +0200
-+++ glew-1.10.0/Makefile	2013-07-30 13:16:20.000000000 +0200
++++ glew-1.10.0/Makefile	2013-12-08 15:26:15.000000000 +0100
+@@ -31,13 +31,13 @@
+ include config/version
+ 
+ SHELL = /bin/sh
+-SYSTEM ?= $(shell config/config.guess | cut -d - -f 3 | sed -e 's/[0-9\.]//g;')
+-SYSTEM.SUPPORTED = $(shell test -f config/Makefile.$(SYSTEM) && echo 1)
++SYSTEMS ?= $(shell config/config.guess | cut -d - -f 3 | sed -e 's/[0-9\.]//g;')
++SYSTEM.SUPPORTED = $(shell test -f config/Makefile.$(SYSTEMS) && echo 1)
+ 
+ ifeq ($(SYSTEM.SUPPORTED), 1)
+-include config/Makefile.$(SYSTEM)
++include config/Makefile.$(SYSTEMS)
+ else
+-$(error "Platform '$(SYSTEM)' not supported")
++$(error "Platform '$(SYSTEMS)' not supported")
+ endif
+ 
+ GLEW_DEST ?= /usr
 @@ -71,7 +71,8 @@ else
  OPT = $(POPT)
  endif
@@ -10,3 +28,116 @@
  
  all debug: glew.lib glew.lib.mx glew.bin
  
+@@ -83,14 +84,14 @@ LIB.LIBS           := $(GL_LDFLAGS)
+ LIB.SRCS           := src/glew.c
+ LIB.SRCS.NAMES     := $(notdir $(LIB.SRCS))
+ 
+-LIB.OBJS           := $(addprefix tmp/$(SYSTEM)/default/static/,$(LIB.SRCS.NAMES))
++LIB.OBJS           := $(addprefix tmp/$(SYSTEMS)/default/static/,$(LIB.SRCS.NAMES))
+ LIB.OBJS           := $(LIB.OBJS:.c=.o)
+-LIB.SOBJS          := $(addprefix tmp/$(SYSTEM)/default/shared/,$(LIB.SRCS.NAMES))
++LIB.SOBJS          := $(addprefix tmp/$(SYSTEMS)/default/shared/,$(LIB.SRCS.NAMES))
+ LIB.SOBJS          := $(LIB.SOBJS:.c=.o)
+ 
+-LIB.OBJS.MX        := $(addprefix tmp/$(SYSTEM)/mx/static/,$(LIB.SRCS.NAMES))
++LIB.OBJS.MX        := $(addprefix tmp/$(SYSTEMS)/mx/static/,$(LIB.SRCS.NAMES))
+ LIB.OBJS.MX        := $(LIB.OBJS.MX:.c=.o)
+-LIB.SOBJS.MX       := $(addprefix tmp/$(SYSTEM)/mx/shared/,$(LIB.SRCS.NAMES))
++LIB.SOBJS.MX       := $(addprefix tmp/$(SYSTEMS)/mx/shared/,$(LIB.SRCS.NAMES))
+ LIB.SOBJS.MX       := $(LIB.SOBJS.MX:.c=.o)
+ 
+ glew.lib: lib lib/$(LIB.SHARED) lib/$(LIB.STATIC) glew.pc
+@@ -114,11 +115,11 @@ ifneq ($(STRIP),)
+ 	$(STRIP) -x $@
+ endif
+ 
+-tmp/$(SYSTEM)/default/static/glew.o: src/glew.c include/GL/glew.h include/GL/wglew.h include/GL/glxew.h
++tmp/$(SYSTEMS)/default/static/glew.o: src/glew.c include/GL/glew.h include/GL/wglew.h include/GL/glxew.h
+ 	@mkdir -p $(dir $@)
+ 	$(CC) -DGLEW_NO_GLU -DGLEW_STATIC $(CFLAGS) $(CFLAGS.SO) -o $@ -c $<
+ 
+-tmp/$(SYSTEM)/default/shared/glew.o: src/glew.c include/GL/glew.h include/GL/wglew.h include/GL/glxew.h
++tmp/$(SYSTEMS)/default/shared/glew.o: src/glew.c include/GL/glew.h include/GL/wglew.h include/GL/glxew.h
+ 	@mkdir -p $(dir $@)
+ 	$(CC) -DGLEW_NO_GLU $(CFLAGS) $(CFLAGS.SO) -o $@ -c $<
+ 
+@@ -154,11 +155,11 @@ ifneq ($(STRIP),)
+ 	$(STRIP) -x $@
+ endif
+ 
+-tmp/$(SYSTEM)/mx/static/glew.o: src/glew.c include/GL/glew.h include/GL/wglew.h include/GL/glxew.h
++tmp/$(SYSTEMS)/mx/static/glew.o: src/glew.c include/GL/glew.h include/GL/wglew.h include/GL/glxew.h
+ 	@mkdir -p $(dir $@)
+ 	$(CC) -DGLEW_NO_GLU -DGLEW_MX -DGLEW_STATIC $(CFLAGS) $(CFLAGS.SO) -o $@ -c $<
+ 
+-tmp/$(SYSTEM)/mx/shared/glew.o: src/glew.c include/GL/glew.h include/GL/wglew.h include/GL/glxew.h
++tmp/$(SYSTEMS)/mx/shared/glew.o: src/glew.c include/GL/glew.h include/GL/wglew.h include/GL/glxew.h
+ 	@mkdir -p $(dir $@)
+ 	$(CC) -DGLEW_NO_GLU -DGLEW_MX $(CFLAGS) $(CFLAGS.SO) -o $@ -c $<
+ 
+@@ -183,17 +184,17 @@ BIN.LIBS = -Llib $(LDFLAGS.DYNAMIC) -l$(
+ 
+ GLEWINFO.BIN       := glewinfo$(BIN.SUFFIX)
+ GLEWINFO.BIN.SRC   := src/glewinfo.c
+-GLEWINFO.BIN.OBJ   := $(addprefix tmp/$(SYSTEM)/default/shared/,$(notdir $(GLEWINFO.BIN.SRC)))
++GLEWINFO.BIN.OBJ   := $(addprefix tmp/$(SYSTEMS)/default/shared/,$(notdir $(GLEWINFO.BIN.SRC)))
+ GLEWINFO.BIN.OBJ   := $(GLEWINFO.BIN.OBJ:.c=.o)
+ 
+ VISUALINFO.BIN     := visualinfo$(BIN.SUFFIX)
+ VISUALINFO.BIN.SRC := src/visualinfo.c
+-VISUALINFO.BIN.OBJ := $(addprefix tmp/$(SYSTEM)/default/shared/,$(notdir $(VISUALINFO.BIN.SRC)))
++VISUALINFO.BIN.OBJ := $(addprefix tmp/$(SYSTEMS)/default/shared/,$(notdir $(VISUALINFO.BIN.SRC)))
+ VISUALINFO.BIN.OBJ := $(VISUALINFO.BIN.OBJ:.c=.o)
+ 
+ # Don't build glewinfo or visualinfo for NaCL, yet.
+ 
+-ifneq ($(filter nacl%,$(SYSTEM)),)
++ifneq ($(filter nacl%,$(SYSTEMS)),)
+ glew.bin: glew.lib bin
+ else
+ glew.bin: glew.lib bin bin/$(GLEWINFO.BIN) bin/$(VISUALINFO.BIN) 
+@@ -233,7 +234,7 @@ install.mx:  install.include install.lib
+ install.lib: glew.lib
+ 	$(INSTALL) -d -m 0755 $(LIBDIR)
+ # runtime
+-ifeq ($(filter-out mingw% cygwin,$(SYSTEM)),)
++ifeq ($(filter-out mingw% cygwin,$(SYSTEMS)),)
+ 	$(INSTALL) -d -m 0755 $(BINDIR)
+ 	$(INSTALL) -m 0755 lib/$(LIB.SHARED) $(BINDIR)/
+ else
+@@ -244,7 +245,7 @@ ifneq ($(LN),)
+ endif
+ 
+ # development files
+-ifeq ($(filter-out mingw% cygwin,$(SYSTEM)),)
++ifeq ($(filter-out mingw% cygwin,$(SYSTEMS)),)
+ 	$(INSTALL) -m 0644 lib/$(LIB.DEVLNK) $(LIBDIR)/
+ endif
+ ifneq ($(LN),)
+@@ -255,7 +256,7 @@ endif
+ install.lib.mx: glew.lib.mx
+ 	$(INSTALL) -d -m 0755 $(LIBDIR)
+ # runtime
+-ifeq ($(filter-out mingw% cygwin,$(SYSTEM)),)
++ifeq ($(filter-out mingw% cygwin,$(SYSTEMS)),)
+ 	$(INSTALL) -d -m 0755 $(BINDIR)
+ 	$(INSTALL) -m 0755 lib/$(LIB.SHARED.MX) $(BINDIR)/
+ else
+@@ -265,7 +266,7 @@ ifneq ($(LN),)
+ 	$(LN) $(LIB.SHARED.MX) $(LIBDIR)/$(LIB.SONAME.MX)
+ endif
+ # development files
+-ifeq ($(filter-out mingw% cygwin,$(SYSTEM)),)
++ifeq ($(filter-out mingw% cygwin,$(SYSTEMS)),)
+ 	$(INSTALL) -m 0644 lib/$(LIB.DEVLNK.MX) $(LIBDIR)/
+ endif
+ ifneq ($(LN),)
+@@ -298,7 +299,7 @@ uninstall:
+ 	$(RM) $(INCDIR)/glew.h
+ 	$(RM) $(INCDIR)/glxew.h
+ 	$(RM) $(LIBDIR)/$(LIB.DEVLNK) $(LIBDIR)/$(LIB.DEVLNK.MX)
+-ifeq ($(filter-out mingw% cygwin,$(SYSTEM)),)
++ifeq ($(filter-out mingw% cygwin,$(SYSTEMS)),)
+ 	$(RM) $(BINDIR)/$(LIB.SHARED) $(BINDIR)/$(LIB.SHARED.MX)
+ else
+ 	$(RM) $(LIBDIR)/$(LIB.SONAME) $(LIBDIR)/$(LIB.SONAME.MX)

+ 0 - 11
package/libglew/patches/patch-Makefile.orig

@@ -1,11 +0,0 @@
---- glew-1.10.0.orig/Makefile	2013-07-22 16:11:22.000000000 +0200
-+++ glew-1.10.0/Makefile	2013-07-30 13:15:41.000000000 +0200
-@@ -71,7 +71,7 @@ else
- OPT = $(POPT)
- endif
- INCLUDE = -Iinclude
--CFLAGS = $(OPT) $(WARN) $(INCLUDE) $(CFLAGS.EXTRA)
-+CFLAGS ?= $(OPT) $(WARN) $(INCLUDE) $(CFLAGS.EXTRA)
- 
- all debug: glew.lib glew.lib.mx glew.bin
- 

+ 0 - 26
package/libglew/patches/patch-config_Makefile_linux.orig

@@ -1,26 +0,0 @@
---- glew-1.10.0.orig/config/Makefile.linux	2013-07-22 16:11:22.000000000 +0200
-+++ glew-1.10.0/config/Makefile.linux	2013-07-30 13:14:42.000000000 +0200
-@@ -1,21 +1,7 @@
- NAME = $(GLEW_NAME)
--CC = cc
--LD = cc
-+CC ?= cc
-+LD ?= cc
- M_ARCH ?= $(shell uname -m)
--ARCH64 = false
--ifeq (x86_64,${M_ARCH})
--  ARCH64 = true
--endif
--ifeq (ppc64,${M_ARCH})
--  ARCH64 = true
--endif
--ifeq (${ARCH64},true)
--  LDFLAGS.EXTRA = -L/usr/X11R6/lib64 -L/usr/lib64
--  LIBDIR = $(GLEW_DEST)/lib64
--else
--  LDFLAGS.EXTRA = -L/usr/X11R6/lib -L/usr/lib
--  LIBDIR = $(GLEW_DEST)/lib
--endif
- LDFLAGS.GL = -lXmu -lXi -lGL -lXext -lX11
- LDFLAGS.STATIC = -Wl,-Bstatic
- LDFLAGS.DYNAMIC = -Wl,-Bdynamic

+ 0 - 23
package/libx264/patches/patch-configure.orig

@@ -1,23 +0,0 @@
---- libx264-1.0.orig/configure	2013-10-10 22:45:04.000000000 +0200
-+++ libx264-1.0/configure	2013-10-11 11:33:39.000000000 +0200
-@@ -985,9 +985,9 @@ if [ "$debug" = "yes" ]; then
- elif [ $ARCH = ARM ]; then
-     # arm-gcc-4.2 produces incorrect output with -ffast-math
-     # and it doesn't save any speed anyway on 4.4, so disable it
--    CFLAGS="-O3 -fno-fast-math $CFLAGS"
-+    CFLAGS="-fno-fast-math $CFLAGS"
- else
--    CFLAGS="-O3 -ffast-math $CFLAGS"
-+    CFLAGS="-ffast-math $CFLAGS"
- fi
- 
- if cc_check '' -fno-tree-vectorize ; then
-@@ -1136,7 +1136,7 @@ LIBX264=$LIBX264
- AR=$AR
- RANLIB=$RANLIB
- STRIP=$STRIP
--AS=$AS
-+AS=$CC
- ASFLAGS=$ASFLAGS
- RC=$RC
- RCFLAGS=$RCFLAGS

+ 2 - 2
package/libxml2/Makefile

@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
 
 PKG_NAME:=		libxml2
 PKG_VERSION:=		2.9.1
-PKG_RELEASE:=		4
+PKG_RELEASE:=		5
 PKG_MD5SUM:=		9c0cfef285d5c4a5c80d00904ddab380
 PKG_DESCR:=		XML C parser and toolkit
 PKG_SECTION:=		libs
@@ -45,7 +45,7 @@ AUTOTOOL_STYLE:=	autoreconf
 TARGET_CFLAGS:=		$(filter-out -flto,$(TARGET_CFLAGS))
 TARGET_LDFLAGS+=	-lpthread
 ifneq ($(ADK_PACKAGE_LIBXML2_PYTHON),)
-CONFIGURE_ARGS+=	--with-python=$(STAGING_TARGET_DIR)/usr
+CONFIGURE_ARGS+=	--with-python
 else
 CONFIGURE_ARGS+=	--without-python
 endif

+ 2 - 0
package/m4/Makefile

@@ -13,6 +13,8 @@ PKG_BUILDDEP:=		m4-host
 PKG_URL:=		http://www.gnu.org/software/m4/
 PKG_SITES:=		${MASTER_SITE_GNU:=m4/}
 
+PKG_LIBC_DEPENDS:=	eglibc glibc musl
+
 include ${TOPDIR}/mk/host.mk
 include ${TOPDIR}/mk/package.mk
 

+ 10 - 1
package/orbit2/patches/patch-configure

@@ -1,5 +1,5 @@
 --- ORBit2-2.14.19.orig/configure	2010-09-28 11:39:37.000000000 +0200
-+++ ORBit2-2.14.19/configure	2011-03-25 19:39:53.000000000 +0100
++++ ORBit2-2.14.19/configure	2013-12-08 19:30:23.000000000 +0100
 @@ -8373,7 +8373,7 @@ $as_echo_n "checking whether the $compil
      # here allows them to be overridden if necessary.
      runpath_var=LD_RUN_PATH
@@ -9,3 +9,12 @@
      # ancient GNU ld didn't support --whole-archive et. al.
      if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
+@@ -12950,7 +12950,7 @@ $as_echo "$WARN_CFLAGS" >&6; }
+ 
+ if test "$enable_maintainer_mode" = "yes"; then
+ 	DISABLE_DEPRECATED_CFLAGS=" \
+-		-DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES"
++		-DG_DISABLE_SINGLE_INCLUDES"
+ 
+ fi
+ 

+ 10 - 1
package/orbit2/patches/patch-linc2_src_Makefile_in

@@ -1,5 +1,5 @@
 --- ORBit2-2.14.19.orig/linc2/src/Makefile.in	2010-09-28 11:39:39.000000000 +0200
-+++ ORBit2-2.14.19/linc2/src/Makefile.in	2011-05-17 11:54:33.596610948 +0200
++++ ORBit2-2.14.19/linc2/src/Makefile.in	2013-12-08 19:32:44.000000000 +0100
 @@ -54,7 +54,7 @@ am_liblinc_la_OBJECTS = linc.lo linc-con
  liblinc_la_OBJECTS = $(am_liblinc_la_OBJECTS)
  liblinc_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
@@ -18,3 +18,12 @@
  DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
  depcomp = $(SHELL) $(top_srcdir)/depcomp
  am__depfiles_maybe = depfiles
+@@ -244,7 +244,7 @@ noinst_LTLIBRARIES = liblinc.la
+ #	-I$(top_srcdir)/include    
+ INCLUDES = -I$(top_builddir)/linc2/include \
+ 	-I$(top_srcdir)/linc2/include $(LINC_CFLAGS) $(WARN_CFLAGS) \
+-	-DG_DISABLE_DEPRECATED $(am__append_1)
++	$(am__append_1)
+ liblinc_la_SOURCES = \
+ 	linc.c			\
+ 	linc-connection.c	\

+ 10 - 8
package/pango/Makefile

@@ -4,17 +4,19 @@
 include ${TOPDIR}/rules.mk
 
 PKG_NAME:=		pango
-PKG_VERSION:=		1.28.3
-PKG_RELEASE:=		2
-PKG_MD5SUM:=		22ad1c8d3fda7e73b0798035f3dd96bc
+PKG_VERSION:=		1.36.1
+PKG_RELEASE:=		1
+PKG_MD5SUM:=		9e0d3a1ea395172f8c39ba98a4d2081a
 PKG_DESCR:=		pango library
 PKG_SECTION:=		libs
-PKG_BUILDDEP:=		libXft glib cairo libstdcxx fontconfig
+PKG_BUILDDEP:=		libXft glib cairo harfbuzz libstdcxx fontconfig
 PKG_URL:=		http://www.pango.org/
-PKG_SITES:=		${MASTER_SITE_GNOME:=pango/1.28/}
+PKG_SITES:=		${MASTER_SITE_GNOME:=pango/1.36/}
 PKG_NEED_CXX:=		1
 PKG_OPTS:=		dev
 
+DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.xz
+
 ifeq ($(ADK_STATIC),y)
 PKG_OPTS+=		libonly
 endif
@@ -28,10 +30,10 @@ CONFIGURE_ENV+=		ac_cv_path_EGREP="grep -E"
 
 pango-install:
 	$(INSTALL_DIR) $(IDIR_PANGO)/etc/pango
-	$(INSTALL_DIR) $(IDIR_PANGO)/usr/lib $(IDIR_PANGO)/usr/lib/pango/1.6.0/modules
+	$(INSTALL_DIR) $(IDIR_PANGO)/usr/lib $(IDIR_PANGO)/usr/lib/pango/1.8.0/modules
 	$(INSTALL_DATA) ./files/pango.modules $(IDIR_PANGO)/etc/pango
 	$(CP) $(WRKINST)/usr/lib/libpango*.so* $(IDIR_PANGO)/usr/lib
-	$(CP) $(WRKINST)/usr/lib/pango/1.6.0/modules/*.so \
-		$(IDIR_PANGO)/usr/lib/pango/1.6.0/modules
+	$(CP) $(WRKINST)/usr/lib/pango/1.8.0/modules/*.so \
+		$(IDIR_PANGO)/usr/lib/pango/1.8.0/modules
 
 include ${TOPDIR}/mk/pkg-bottom.mk

+ 6 - 4
package/poppler/Makefile

@@ -4,17 +4,19 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=		poppler
-PKG_VERSION:=		0.22.1
+PKG_VERSION:=		0.24.4
 PKG_RELEASE:=		1
-PKG_MD5SUM:=		50c259fdda538c1ba94b62aa25f7ec87
+PKG_MD5SUM:=		2da22b966cf7a2f8da5bf021e68188ce
 PKG_DESCR:=		pdf rendering library
 PKG_SECTION:=		libs
-PKG_BUILDDEP:=		fontconfig libstdcxx
-PKG_DEPENDS:=		fontconfig libstdcxx
+PKG_BUILDDEP:=		fontconfig libstdcxx libpng cairo
+PKG_DEPENDS:=		fontconfig libstdcxx libpng cairo
 PKG_URL:=		http://poppler.freedesktop.org/
 PKG_SITES:=		http://poppler.freedesktop.org/
 PKG_OPTS:=		dev
 
+DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.xz
+
 include $(TOPDIR)/mk/package.mk
 
 $(eval $(call PKG_template,POPPLER,poppler,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))

+ 2 - 2
package/pycurl/Makefile

@@ -4,9 +4,9 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=		pycurl
-PKG_VERSION:=		7.19.0
+PKG_VERSION:=		7.19.0.2
 PKG_RELEASE:=		1
-PKG_MD5SUM:=		919d58fe37e69fe87ce4534d8b6a1c7b
+PKG_MD5SUM:=		518be33976dbc6838e42495ada64b43f
 PKG_DESCR:=		Python module for fetching of files
 PKG_SECTION:=		lang
 PKG_BUILDDEP:=		python2 curl

+ 2 - 3
package/python2/Makefile

@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
 
 PKG_NAME:=		python2
 PKG_VERSION:=		2.7.5
-PKG_RELEASE:=		8
+PKG_RELEASE:=		9
 PKG_MD5SUM:=		b4f01a1d0ba0b46b05c73b2ac909b1df
 PKG_DESCR:=		Python scripting language (Version 2)
 PKG_SECTION:=		lang
@@ -97,6 +97,7 @@ CONFIGURE_ARGS:=	--with-threads \
 
 HOST_STYLE:=		auto
 HOST_CONFIGURE_ARGS:=	--with-threads \
+			--disable-ipv6 \
 			--disable-shared \
 			--disable-toolbox-glue \
 			--without-cxx-main
@@ -109,8 +110,6 @@ hostpost-install:
 pre-configure:
 	(cd $(WRKBUILD) && patch -p1 < \
 		$(TOPDIR)/package/python2/files/patch-Misc_python-config_in )
-	(cd $(WRKBUILD) && patch -p1 < \
-		$(TOPDIR)/package/python2/files/patch-Lib_distutils_sysconfig_py )
 	$(SED) "s#@EXENAME@#$(STAGING_HOST_DIR)/usr/bin/python#" \
 		$(WRKBUILD)/Misc/python-config.in
 

+ 0 - 0
package/python2/files/patch-Lib_distutils_sysconfig_py → package/python2/patches/patch-Lib_distutils_sysconfig_py


+ 1 - 0
package/rxvt-unicode/Makefile

@@ -23,6 +23,7 @@ include $(TOPDIR)/mk/package.mk
 
 $(eval $(call PKG_template,RXVT_UNICODE,rxvt-unicode,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
 
+TARGET_LDFLAGS+=	-lpthread
 CONFIGURE_ARGS+=	--disable-perl \
 			--disable-utmp \
 			--disable-afterimage

+ 0 - 19
package/taglib/patches/patch-taglib_pc_cmake.orig

@@ -1,19 +0,0 @@
---- taglib-1.8.orig/taglib.pc.cmake	2012-09-06 20:03:15.000000000 +0200
-+++ taglib-1.8/taglib.pc.cmake	2013-07-31 11:54:55.000000000 +0200
-@@ -1,11 +1,11 @@
- prefix=${CMAKE_INSTALL_PREFIX}
--exec_prefix=${CMAKE_INSTALL_PREFIX}
--libdir=${LIB_INSTALL_DIR}
--includedir=${INCLUDE_INSTALL_DIR}
-+exec_prefix=${prefix}
-+libdir=${prefix}/lib
-+includedir=${prefix}/include
- 
- Name: TagLib
- Description: Audio meta-data library
- Requires: 
- Version: ${TAGLIB_LIB_MAJOR_VERSION}.${TAGLIB_LIB_MINOR_VERSION}.${TAGLIB_LIB_PATCH_VERSION}
--Libs: -L${LIB_INSTALL_DIR} -ltag
--Cflags: -I${INCLUDE_INSTALL_DIR}/taglib 
-+Libs: -L${libdir} -ltag
-+Cflags: -I${includedir}/taglib 

+ 0 - 60
package/tinyxml/patches/patch-Makefile.orig

@@ -1,60 +0,0 @@
---- tinyxml.orig/Makefile	2013-07-30 15:47:27.000000000 +0200
-+++ tinyxml/Makefile	2013-07-30 15:47:25.000000000 +0200
-@@ -15,13 +15,13 @@ PROFILE        := NO
- 
- # TINYXML_USE_STL can be used to turn on STL support. NO, then STL
- # will not be used. YES will include the STL files.
--TINYXML_USE_STL := NO
-+TINYXML_USE_STL := YES
- 
- #****************************************************************************
- 
--CC     := gcc
--CXX    := g++
--LD     := g++
-+CC     ?= gcc
-+CXX    ?= g++
-+LD     := $(CXX)
- AR     := ar rc
- RANLIB := ranlib
- 
-@@ -41,9 +41,9 @@ ifeq (YES, ${DEBUG})
-    CXXFLAGS     := ${DEBUG_CXXFLAGS}
-    LDFLAGS      := ${DEBUG_LDFLAGS}
- else
--   CFLAGS       := ${RELEASE_CFLAGS}
--   CXXFLAGS     := ${RELEASE_CXXFLAGS}
--   LDFLAGS      := ${RELEASE_LDFLAGS}
-+   CFLAGS       ?= ${RELEASE_CFLAGS}
-+   CXXFLAGS     ?= ${RELEASE_CXXFLAGS}
-+   LDFLAGS      ?= ${RELEASE_LDFLAGS}
- endif
- 
- ifeq (YES, ${PROFILE})
-@@ -81,7 +81,7 @@ CXXFLAGS := ${CXXFLAGS} ${DEFS}
- # Targets of the build
- #****************************************************************************
- 
--OUTPUT := xmltest
-+OUTPUT := libtinyxml.so.2.6.2
- 
- all: ${OUTPUT}
- 
-@@ -90,7 +90,7 @@ all: ${OUTPUT}
- # Source files
- #****************************************************************************
- 
--SRCS := tinyxml.cpp tinyxmlparser.cpp xmltest.cpp tinyxmlerror.cpp tinystr.cpp
-+SRCS := tinyxml.cpp tinyxmlparser.cpp tinyxmlerror.cpp tinystr.cpp
- 
- # Add on the sources for libraries
- SRCS := ${SRCS}
-@@ -103,6 +103,8 @@ OBJS := $(addsuffix .o,$(basename ${SRCS
- 
- ${OUTPUT}: ${OBJS}
- 	${LD} -o $@ ${LDFLAGS} ${OBJS} ${LIBS} ${EXTRA_LIBS}
-+	${CXX} -shared -Wl,-soname,libtinyxml.so.2.6.2 -o $@ ${OBJS} ${LDFLAGS} ${LIBS} ${EXTRA_LIBS}
-+	ln -sf libtinyxml.so.2.6.2 libtinyxml.so
- 
- #****************************************************************************
- # common rules

+ 0 - 26
package/transproxy/patches/patch-Makefile.orig

@@ -1,26 +0,0 @@
---- transproxy-1.6.orig/Makefile	2004-03-31 14:19:34.000000000 +0200
-+++ transproxy-1.6/Makefile	2012-10-23 11:07:54.000000000 +0200
-@@ -64,17 +64,17 @@ OPTIONS += -DIPTABLES
- #OPTIONS += -DHAVE_GETOPT_H
- 
- # You may need to touch PREFIX, CC and CFLAGS.
--PREFIX = /usr/local
--INSTALL_PROGRAM = install -c -m 555 -o bin -g bin
--INSTALL_MAN = install -c -m 444 -o bin -g bin
-+PREFIX ?= $(DESTDIR)/usr
-+INSTALL_PROGRAM = install -c -m 555
-+INSTALL_MAN = install -c -m 444
- 
- # Some make's don't define this.
- RM      = rm -f
- 
- # Should be OK for GNU gcc.
--CC      = gcc
--CFLAGS  = -O2 -Wall
--LDFLAGS = -s
-+CC      ?= gcc
-+CFLAGS  ?= -O2 -Wall
-+LDFLAGS ?= -s
- 
- # For using BIND resolver instead of system resolver.
- #LIBS    += -lresolv	# Really old Linux has this.

+ 0 - 24
package/urlgrabber/patches/patch-setup_py.orig

@@ -1,24 +0,0 @@
---- urlgrabber-3.9.1.orig/setup.py	2009-02-23 22:37:16.000000000 +0100
-+++ urlgrabber-3.9.1/setup.py	2013-02-11 13:46:24.000000000 +0100
-@@ -1,16 +1,16 @@
- # urlgrabber distutils setup
- import re as _re
--import urlgrabber as _urlgrabber
-+#import urlgrabber as _urlgrabber
- 
- name = "urlgrabber"
- description = "A high-level cross-protocol url-grabber"
--long_description = _urlgrabber.__doc__
-+long_description = "A high-level cross-protocol url-grabber"
- license = "LGPL"
--version = _urlgrabber.__version__
--_authors = _re.split(r',\s+', _urlgrabber.__author__)
-+version = 3.9.1
-+_authors = _re.split(r',\s+', 'Michael D. Stenner, Ryan Tomayko')
- author       = ', '.join([_re.sub(r'\s+<.*',        r'', _) for _ in _authors])
- author_email = ', '.join([_re.sub(r'(^.*<)|(>.*$)', r'', _) for _ in _authors])
--url = _urlgrabber.__url__
-+url = "http://linux.duke.edu/projects/urlgrabber/"
- 
- packages = ['urlgrabber']
- package_dir = {'urlgrabber':'urlgrabber'}

+ 3 - 2
package/vlc/Makefile

@@ -4,9 +4,9 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=		vlc
-PKG_VERSION:=		2.0.7
+PKG_VERSION:=		2.1.1
 PKG_RELEASE:=		1
-PKG_MD5SUM:=		3b0e465b0990097b65abaf3e25589957
+PKG_MD5SUM:=		1331cd853d56762c96afcb92dd498348
 PKG_DESCR:=		Media Player
 PKG_SECTION:=		multimedia
 PKG_BUILDDEP:=		ffmpeg xcb-util libtheora libgcrypt libmad
@@ -15,6 +15,7 @@ PKG_URL:=		http://www.videolan.org/vlc/
 PKG_SITES:=		http://download.videolan.org/pub/videolan/vlc/$(PKG_VERSION)/
 
 PKG_ARCH_DEPENDS:=	!cris !avr32 !m68k
+PKG_LIBC_DEPENDS:=	eglibc glibc musl
 
 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.xz
 

+ 0 - 20
package/vlc/patches/patch-configure

@@ -1,20 +0,0 @@
---- vlc-2.0.3.orig/configure	2012-07-04 17:43:18.000000000 +0200
-+++ vlc-2.0.3/configure	2012-07-26 16:16:15.000000000 +0200
-@@ -24739,7 +24739,7 @@ fi
-   LIBS="${LIBS_save}"
- 
- 
-- for a in all extra sign-compare undef pointer-arith bad-function-cast write-strings missing-prototypes volatile-register-var error-implicit-function-declaration; do
-+ for a in all extra sign-compare undef pointer-arith bad-function-cast write-strings missing-prototypes volatile-register-var; do
- 
- 
-   CFLAGS_save="${CFLAGS}"
-@@ -46952,7 +46952,7 @@ fi
- 
- 
- VERSION_MESSAGE="${VERSION} ${CODENAME}"
--COPYRIGHT_MESSAGE="Copyright © ${COPYRIGHT_YEARS} VLC authors and VideoLAN"
-+COPYRIGHT_MESSAGE="Copyright ${COPYRIGHT_YEARS} VLC authors and VideoLAN"
- 
- cat >>confdefs.h <<_ACEOF
- #define VERSION_MESSAGE "${VERSION_MESSAGE}"

+ 4 - 4
package/vlc/patches/patch-modules_misc_inhibit_xdg_c

@@ -1,8 +1,8 @@
---- vlc-2.0.3.orig/modules/misc/inhibit/xdg.c	2011-12-08 19:00:26.000000000 +0100
-+++ vlc-2.0.3/modules/misc/inhibit/xdg.c	2012-07-26 16:36:07.000000000 +0200
-@@ -27,7 +27,6 @@
- #include <vlc_inhibit.h>
+--- vlc-2.1.1.orig/modules/misc/inhibit/xdg.c	2013-06-24 20:00:38.000000000 +0200
++++ vlc-2.1.1/modules/misc/inhibit/xdg.c	2013-12-06 19:42:43.000000000 +0100
+@@ -28,7 +28,6 @@
  #include <assert.h>
+ #include <errno.h>
  #include <signal.h>
 -#include <spawn.h>
  #include <sys/wait.h>

+ 0 - 10
package/vlc/patches/patch-modules_misc_inhibit_xscreensaver_c

@@ -1,10 +0,0 @@
---- vlc-2.0.3.orig/modules/misc/inhibit/xscreensaver.c	2011-12-08 19:00:26.000000000 +0100
-+++ vlc-2.0.3/modules/misc/inhibit/xscreensaver.c	2012-07-26 16:36:21.000000000 +0200
-@@ -39,7 +39,6 @@
- #include <sys/wait.h>
- #include <fcntl.h>
- #include <signal.h>
--#include <spawn.h>
- 
- /*****************************************************************************
-  * Local prototypes

+ 0 - 30
package/vlc/patches/patch-src_posix_linux_specific_c

@@ -1,30 +0,0 @@
---- vlc-2.0.3.orig/src/posix/linux_specific.c	2011-12-08 19:00:28.000000000 +0100
-+++ vlc-2.0.3/src/posix/linux_specific.c	2012-07-26 16:08:31.000000000 +0200
-@@ -83,27 +83,8 @@ static struct
-     unsigned refs;
- } once = { VLC_STATIC_MUTEX, 0 };
- 
--#ifdef __GLIBC__
--# include <gnu/libc-version.h>
--# include <stdlib.h>
--#endif
--
- void system_Init (void)
- {
--#ifdef __GLIBC__
--    const char *glcv = gnu_get_libc_version ();
--
--    /* gettext in glibc 2.5-2.7 is not thread-safe. LibVLC keeps crashing,
--     * especially in sterror_r(). Even if we have NLS disabled, the calling
--     * process might have called setlocale(). */
--    if (strverscmp (glcv, "2.5") >= 0 && strverscmp (glcv, "2.8") < 0)
--    {
--        fputs ("LibVLC has detected an unusable buggy GNU/libc version.\n"
--               "Please update to version 2.8 or newer.\n", stderr);
--        fflush (stderr);
--    }
--#endif
--
-     vlc_mutex_lock (&once.lock);
-     if (once.refs++ == 0)
-         set_libvlc_path ();

+ 0 - 11
package/weechat/patches/patch-configure_ac.orig

@@ -1,11 +0,0 @@
---- weechat-0.4.2.orig/configure.ac	2013-10-06 08:58:14.000000000 +0200
-+++ weechat-0.4.2/configure.ac	2013-11-07 10:05:15.000000000 +0100
-@@ -242,7 +242,7 @@ if test "x$ac_found_iconv_header" = "xye
-       LIBS="$LIBS $ICONV_LFLAGS"
-    fi
-    AC_MSG_CHECKING(for iconv usability in programs)
--   AC_TRY_RUN([
-+   AC_TRY_LINK([
-         #include <iconv.h>
-         int main(int argc, char **argv) {
-             iconv_t conv = iconv_open("ISO8859-1", "UTF-8");

+ 5 - 1
package/wget/Makefile

@@ -9,6 +9,7 @@ PKG_RELEASE:=		1
 PKG_MD5SUM:=		12edc291dba8127f2e9696e69f36299e
 PKG_DESCR:=		retrieving files using HTTP(S) and FTP
 PKG_SECTION:=		www
+PKG_BUILDDEP:=		autotool
 PKG_URL:=		http://www.gnu.org/software/wget/
 PKG_SITES:=		${MASTER_SITE_GNU:=wget/}
 
@@ -36,9 +37,12 @@ CONFIGURE_ARGS+=	--with-ssl=gnutls \
 			--with-libgnutls-prefix="$(STAGING_DIR)/usr"
 endif
 
+AUTOTOOL_STYLE:=	autoreconf
+
 wget-install:
 	${INSTALL_DIR} ${IDIR_WGET}/etc ${IDIR_WGET}/usr/bin
-	${INSTALL_DATA} ${WRKINST}/etc/wgetrc ${IDIR_WGET}/etc/
+	${INSTALL_DATA} ${WRKBUILD}/doc/sample.wgetrc \
+		${IDIR_WGET}/etc/wgetrc
 	${INSTALL_BIN} ${WRKINST}/usr/bin/wget ${IDIR_WGET}/usr/bin
 
 include ${TOPDIR}/mk/pkg-bottom.mk

+ 11 - 0
package/wget/patches/patch-Makefile_am

@@ -0,0 +1,11 @@
+--- wget-1.14.orig/Makefile.am	2012-05-13 16:44:48.000000000 +0200
++++ wget-1.14/Makefile.am	2013-12-06 17:00:51.000000000 +0100
+@@ -41,7 +41,7 @@ distuninstallcheck_listfiles = find . -t
+ ACLOCAL_AMFLAGS = -I m4
+ 
+ # subdirectories in the distribution
+-SUBDIRS = lib src doc po tests util
++SUBDIRS = lib src po tests util
+ 
+ EXTRA_DIST = ChangeLog.README MAILING-LIST \
+              msdos/ChangeLog msdos/config.h msdos/Makefile.DJ \

+ 0 - 25
package/wpa_supplicant/patches/patch-wpa_supplicant_Makefile.orig

@@ -1,25 +0,0 @@
---- wpa_supplicant-2.0.orig/wpa_supplicant/Makefile	2013-01-12 16:42:53.000000000 +0100
-+++ wpa_supplicant-2.0/wpa_supplicant/Makefile	2013-08-20 17:30:19.132133775 +0200
-@@ -999,9 +999,6 @@ CFLAGS += -DCONFIG_INTERNAL_LIBTOMMATH
- ifdef CONFIG_INTERNAL_LIBTOMMATH_FAST
- CFLAGS += -DLTM_FAST
- endif
--else
--LIBS += -ltommath
--LIBS_p += -ltommath
- endif
- CONFIG_INTERNAL_AES=y
- CONFIG_INTERNAL_DES=y
-@@ -1519,10 +1516,12 @@ preauth_test: $(OBJS_t2)
- 	@$(E) "  LD " $@
- 
- wpa_passphrase: $(OBJS_p)
-+	echo crypto: $(CONFIG_CRYPTO)
- 	$(Q)$(LDO) $(LDFLAGS) -o wpa_passphrase $(OBJS_p) $(LIBS_p)
- 	@$(E) "  LD " $@
- 
- wpa_cli: $(OBJS_c)
-+	echo crypto: $(CONFIG_CRYPTO)
- 	$(Q)$(LDO) $(LDFLAGS) -o wpa_cli $(OBJS_c) $(LIBS_c)
- 	@$(E) "  LD " $@
- 

+ 0 - 14
package/yajl/patches/patch-CMakeLists_txt.orig

@@ -1,14 +0,0 @@
---- yajl-2.0.1.orig/CMakeLists.txt	2011-04-28 04:48:41.000000000 +0200
-+++ yajl-2.0.1/CMakeLists.txt	2013-07-30 15:13:12.000000000 +0200
-@@ -64,11 +64,6 @@ ENDIF (WIN32)
- 
- 
- ADD_SUBDIRECTORY(src)
--ADD_SUBDIRECTORY(test)
--ADD_SUBDIRECTORY(reformatter)
--ADD_SUBDIRECTORY(verify)
--ADD_SUBDIRECTORY(example)
--ADD_SUBDIRECTORY(perf)
- 
- INCLUDE(YAJLDoc.cmake)
-