diff --git a/gnome/applications/vinagre.xml b/gnome/applications/vinagre.xml index 3d71aac894..f324d9657d 100644 --- a/gnome/applications/vinagre.xml +++ b/gnome/applications/vinagre.xml @@ -108,7 +108,7 @@ commands: -./configure --prefix=/usr \ +./configure --prefix=/usr CFLAGS="$CFLAGS -fcommon" \ --enable-compile-warnings=minimum && make diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 05e634cdd3..15b574826e 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -44,6 +44,16 @@ May 14th, 2020 + + [pierre] - Fix building transcode with GCC-10. + + + [pierre] - Fix building vinagre with GCC-10. + + + [pierre] - Fix building dhcp with GCC-10. From a patch + by Xi Ruoyao. + [pierre] - Fix building menu-cache with GCC-10. diff --git a/multimedia/videoutils/transcode.xml b/multimedia/videoutils/transcode.xml index d8d5156c38..6ffe3dbdd5 100644 --- a/multimedia/videoutils/transcode.xml +++ b/multimedia/videoutils/transcode.xml @@ -188,9 +188,10 @@ $(find . -name Makefile.in -exec grep -l 'docsdir =' {} \;) && patch -Np1 -i ../transcode-&transcode-version;-ffmpeg4-1.patch && -./configure --prefix=/usr \ - --enable-alsa \ - --enable-libmpeg2 && +./configure --prefix=/usr \ + CFLAGS="$CFLAGS -fcommon" \ + --enable-alsa \ + --enable-libmpeg2 && make diff --git a/networking/connect/dhcp.xml b/networking/connect/dhcp.xml index d2edfe2f12..9abd793929 100644 --- a/networking/connect/dhcp.xml +++ b/networking/connect/dhcp.xml @@ -127,6 +127,15 @@ Installation of ISC DHCP + + First, fix a build issue with GCC 10 and later: + + +sed -i '/o.*dhcp_type/d' server/mdb.c && +sed -r '/u.*(local|remote)_port/d' \ + -i client/dhclient.c \ + relay/dhcrelay.c + This package does not support parallel build.