]> git.pld-linux.org Git - packages/gpac.git/blame - gpac-cxx.patch
- release 3 (by relup.sh)
[packages/gpac.git] / gpac-cxx.patch
CommitLineData
663e8377
JB
1--- gpac-0.8.0/configure.orig 2020-03-14 20:22:30.223421888 +0100
2+++ gpac-0.8.0/configure 2020-03-15 14:04:05.355022427 +0100
3@@ -698,7 +698,7 @@
4
5
6 docxx() {
7- $cc -o $TMPO $TMPC $@ 0>/dev/null 2>$TMPL
8+ $cxx -o $TMPO $TMPC $@ 0>/dev/null 2>$TMPL
9 dolog $@
10 }
11
12@@ -1024,7 +1024,7 @@
13 #include <Platinum.h>
14 int main( void ) { return 0; }
15 EOF
16-if docxx -o $TMPO $TMPC -I$local_inc/platinum $LDFLAGS -L$local_lib -lPlatinum -lPltMediaServer -lPltMediaConnect -lPltMediaRenderer -lNeptune -lZlib -lpthread ; then
17+if docxx -I$local_inc/platinum $LDFLAGS -L$local_lib -lPlatinum -lPltMediaServer -lPltMediaConnect -lPltMediaRenderer -lNeptune -lZlib -lpthread ; then
18 has_platinum="yes"
19 fi
20
21@@ -1046,7 +1046,7 @@
22 return 0;
23 }
24 EOF
25-if docxx -o $TMPO $TMPC $LDFLAGS $avcap_cflags $avcap_ldflags ; then
26+if docxx $LDFLAGS $avcap_cflags $avcap_ldflags ; then
27 has_avcap="yes"
28 else
29 if test "$darwin" = "yes" ; then
30@@ -1056,7 +1056,7 @@
31 avcap_cflags="-I$local_inc -I$local_inc/avcap/linux"
32 avcap_ldflags="-lavcap -lpthread"
33 fi
34- if docxx -o $TMPO $TMPC $avcap_cflags $LDFLAGS -L$local_lib $avcap_ldflags ; then
35+ if docxx $avcap_cflags $LDFLAGS -L$local_lib $avcap_ldflags ; then
36 has_avcap="yes"
37 avcap_ldflags="-L$local_lib $avcap_ldflags"
38 fi
39@@ -2325,7 +2325,7 @@
40 if test "$pkg_config" != "no"; then
41 if test "$has_xul" = "no" ; then
42 if $pkg_config --exists libxul 2>>$logs ; then
43- if docxx -o $TMPO $TMPCXX `$pkg_config --cflags libxul` `$pkg_config --libs libxul` ; then
44+ if docxx `$pkg_config --cflags libxul` `$pkg_config --libs libxul` ; then
45 has_xul="system"
46 xul_flags="`$pkg_config --cflags libxul` `$pkg_config --libs libxul`"
47 fi
This page took 0.058218 seconds and 4 git commands to generate.