-
Notifications
You must be signed in to change notification settings - Fork 10
/
compile-fixes.patch
48 lines (45 loc) · 1.81 KB
/
compile-fixes.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
--- package/feeds/packages/libvorbisidec/Makefile
+++ package/feeds/packages/libvorbisidec/Makefile
@@ -13,7 +13,7 @@ PKG_VERSION:=1.0.3-$(PKG_REV)
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=git://git.xiph.org/tremor.git
+PKG_SOURCE_URL:=https://git.xiph.org/tremor.git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=b56ffce0c0773ec5ca04c466bc00b1bbcaf65aef
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
--- scripts/config/Makefile
+++ scripts/config/Makefile
@@ -29,7 +29,7 @@ all: conf mconf
conf: $(conf-objs)
mconf: $(mconf-objs) $(lxdialog-objs)
- $(CC) -o $@ $^ $(call check_lxdialog,ldflags $(CC))
+ $(CC) -o $@ $^ $(call check_lxdialog,ldflags $(CC)) -ltinfo
clean:
rm -f *.o lxdialog/*.o $(clean-files) conf mconf
--- /dev/null
+++ target/linux/generic/patches-3.18/035-devtoolset-libtinfo-fix.patch
@@ -0,0 +1,11 @@
+--- a/scripts/kconfig/Makefile
++++ b/scripts/kconfig/Makefile
+@@ -210,7 +210,7 @@ HOSTLOADLIBES_gconf = `pkg-config --libs
+ HOSTCFLAGS_gconf.o = `pkg-config --cflags gtk+-2.0 gmodule-2.0 libglade-2.0` \
+ -Wno-missing-prototypes
+
+-HOSTLOADLIBES_mconf = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ldflags $(HOSTCC))
++HOSTLOADLIBES_mconf = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ldflags $(HOSTCC)) -ltinfo
+
+ HOSTLOADLIBES_nconf = $(shell \
+ pkg-config --libs menuw panelw ncursesw 2>/dev/null \
--- /dev/null
+++ tools/cmake/patches/105-devtoolset-libtinfo-fix.patch
@@ -0,0 +1,9 @@
+--- a/Source/CursesDialog/CMakeLists.txt
++++ b/Source/CursesDialog/CMakeLists.txt
+@@ -33,5 +33,6 @@ include_directories(${CURSES_INCLUDE_PAT
+ add_executable(ccmake ${CURSES_SRCS} )
+ target_link_libraries(ccmake CMakeLib)
+ target_link_libraries(ccmake cmForm)
++target_link_libraries(ccmake tinfo)
+
+ install(TARGETS ccmake DESTINATION bin)