diff --git a/srcpkgs/z80ex/patches/fix-cflags.patch b/srcpkgs/z80ex/patches/fix-cflags.patch new file mode 100644 index 00000000000..6743da255e5 --- /dev/null +++ b/srcpkgs/z80ex/patches/fix-cflags.patch @@ -0,0 +1,13 @@ +Index: CMakeLists.txt +=================================================================== +--- CMakeLists.txt.orig ++++ CMakeLists.txt +@@ -11,7 +11,7 @@ option (OPSTEP_FAST_AND_ROUGH "Fast and + + #ALL_CFLAGS := -fPIC -fno-common -ansi -pedantic -Wall -pipe -O2 -I. -I./include + if (CMAKE_COMPILER_IS_GNUCC) +- set (CMAKE_C_FLAGS "-fPIC -fno-common -ansi -pedantic -Wall -pipe -O2") ++ set (CMAKE_C_FLAGS "-fPIC -fno-common -ansi -pedantic -Wall -pipe ${CMAKE_C_FLAGS}") + endif () + + include_directories(BEFORE . include) diff --git a/srcpkgs/z80ex/template b/srcpkgs/z80ex/template index 00a24a6fb90..5437f53d33d 100644 --- a/srcpkgs/z80ex/template +++ b/srcpkgs/z80ex/template @@ -1,11 +1,11 @@ # Template file for 'z80ex' pkgname=z80ex version=1.1.21 -revision=1 +revision=2 build_style=cmake short_desc="ZiLOG Z80 CPU emulation library" maintainer="Diogo Leal " -license="GPL-2" +license="GPL-2.0-only" homepage="https://sourceforge.net/projects/z80ex/" distfiles="${SOURCEFORGE_SITE}/project/z80ex/z80ex/${version}/z80ex-${version}.tar.gz" checksum=6f5e521d068a614b41e10180ad4ae45b1bc258ec28c962543feb9078856c2530