View | Details | Raw Unified | Return to bug 254726
Collapse All | Expand All

(-)Makefile (-2 / +3 lines)
Lines 18-24 Link Here
18
		libfreetype.so:print/freetype2 \
18
		libfreetype.so:print/freetype2 \
19
		libsysinfo.so:devel/libsysinfo
19
		libsysinfo.so:devel/libsysinfo
20
20
21
USES=		cmake compiler:c++11-lang gl localbase:ldflags pkgconfig xorg
21
USES=		cmake compiler:c++11-lang dos2unix gl localbase:ldflags pkgconfig xorg
22
DOS2UNIX_FILES=	modules/juce_core/juce_core.h
22
USE_GL=		gl
23
USE_GL=		gl
23
USE_XORG=	x11 xcomposite xcursor xext xinerama xorgproto xrandr
24
USE_XORG=	x11 xcomposite xcursor xext xinerama xorgproto xrandr
24
25
Lines 30-36 Link Here
30
CMAKE_ON=	JUCE_BUILD_EXTRAS
31
CMAKE_ON=	JUCE_BUILD_EXTRAS
31
32
32
CXXFLAGS+=	-I${LOCALBASE}/include/freetype2
33
CXXFLAGS+=	-I${LOCALBASE}/include/freetype2
33
LDFLAGS+=	-pthread -lfreetype
34
LDFLAGS+=	-pthread -lfreetype -lpng16
34
LDFLAGS+=	-lGL # while building NetworkGraphicsDemo ld: error: undefined symbol: glXGetCurrentContext referenced by ld-temp.o
35
LDFLAGS+=	-lGL # while building NetworkGraphicsDemo ld: error: undefined symbol: glXGetCurrentContext referenced by ld-temp.o
35
LDFLAGS+=	-lasound # while building AudioPerformanceTest ld: error: undefined symbol: snd_seq_system_info_sizeof
36
LDFLAGS+=	-lasound # while building AudioPerformanceTest ld: error: undefined symbol: snd_seq_system_info_sizeof
36
LDFLAGS+=	-lsysinfo # while building Projucer ld: error: undefined symbol: sysinfo
37
LDFLAGS+=	-lsysinfo # while building Projucer ld: error: undefined symbol: sysinfo
(-)files/patch-modules_juce__core_juce__core.h (+14 lines)
Line 0 Link Here
1
--- modules/juce_core/juce_core.h.orig	2021-04-02 18:08:09 UTC
2
+++ modules/juce_core/juce_core.h
3
@@ -64,6 +64,11 @@
4
 
5
 #include "system/juce_TargetPlatform.h"
6
 
7
+#ifdef JUCE_INCLUDE_PNGLIB_CODE
8
+# undef JUCE_INCLUDE_PNGLIB_CODE
9
+#endif
10
+#define JUCE_INCLUDE_PNGLIB_CODE 0
11
+
12
 //==============================================================================
13
 /** Config: JUCE_FORCE_DEBUG
14
 

Return to bug 254726