rpms/z88dk/F-8 z88dk-1.7-makefile-fixes.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 z88dk.spec, 1.6, 1.7

Kevin Kofler (kkofler) fedora-extras-commits at redhat.com
Thu Dec 6 08:24:14 UTC 2007


Author: kkofler

Update of /cvs/pkgs/rpms/z88dk/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15618/F-8

Modified Files:
	.cvsignore sources z88dk.spec 
Added Files:
	z88dk-1.7-makefile-fixes.patch 
Log Message:
Sync from devel:
* Thu Dec 6 2007 Kevin Kofler <Kevin at tigcc.ticalc.org> - 1.7-1
- update to 1.7
- use preferred SF URL
- mention TI calculators in description
- mkdir buildroot in install
- don't try to build target libs with host CFLAGS
- fix buggy makefiles leading to silently missing libraries

z88dk-1.7-makefile-fixes.patch:

--- NEW FILE z88dk-1.7-makefile-fixes.patch ---
diff -ur z88dk/libsrc/fcntl/dummy/Makefile z88dk-makefile-fixes/libsrc/fcntl/dummy/Makefile
--- z88dk/libsrc/fcntl/dummy/Makefile	2007-06-03 17:13:05.000000000 +0200
+++ z88dk-makefile-fixes/libsrc/fcntl/dummy/Makefile	2007-12-06 08:53:02.000000000 +0100
@@ -6,7 +6,7 @@
 	@echo ''
 	@echo '---> Building NDOS library <---'
 	@echo ''
-	$(LIBLINKER) -x$(OUTPUT_DIRECTORY)/ndos @ndoslist
+	$(LIBLINKER) -x../../$(OUTPUT_DIRECTORY)/ndos @ndoslist
 
 clean:
 	$(RM) *.sym *.map zcc_opt.def *.o*
diff -ur z88dk/libsrc/genmath/Makefile z88dk-makefile-fixes/libsrc/genmath/Makefile
--- z88dk/libsrc/genmath/Makefile	2007-06-11 14:45:08.000000000 +0200
+++ z88dk-makefile-fixes/libsrc/genmath/Makefile	2007-12-06 08:53:25.000000000 +0100
@@ -22,7 +22,7 @@
 all: genmath
 
 genmath: $(OBJECTS)
-	$(LIBLINKER) -x$../$(OUTPUT_DIRECTORY)/gen_math @genlist
+	$(LIBLINKER) -x../$(OUTPUT_DIRECTORY)/gen_math @genlist
 
 .c.o:
 	zcc $(CFLAGS) $*.c
diff -ur z88dk/libsrc/malloc/Makefile z88dk-makefile-fixes/libsrc/malloc/Makefile
--- z88dk/libsrc/malloc/Makefile	2007-06-11 14:45:09.000000000 +0200
+++ z88dk-makefile-fixes/libsrc/malloc/Makefile	2007-12-06 08:53:37.000000000 +0100
@@ -6,7 +6,7 @@
 include ../Make.config
 
 default:
-	$(LIBLINKER) -x$../$(OUTPUT_DIRECTORY)/malloc @malllist
+	$(LIBLINKER) -x../$(OUTPUT_DIRECTORY)/malloc @malllist
 
 clean:
 	$(RM) *.o* *.sym *.map *~ *.err zcc_opt.def *.i 
diff -ur z88dk/libsrc/time/Makefile z88dk-makefile-fixes/libsrc/time/Makefile
--- z88dk/libsrc/time/Makefile	2006-06-18 19:59:40.000000000 +0200
+++ z88dk-makefile-fixes/libsrc/time/Makefile	2007-12-06 08:52:10.000000000 +0100
@@ -11,6 +11,8 @@
 
 lzx: spectrum_time
 
+lnewbrain: time newbrain_time
+
 time: gmtime.o localtime.o mktime.o
 
 .c.o:
@@ -25,6 +27,9 @@
 spectrum_time:
 	cd spectrum ; $(MAKE) ; cd ..
 
+newbrain_time:
+	cd newbrain ; $(MAKE) ; cd ..
+
 clean:
 	$(RM) *.o* *.i *.sym *.map zcc_opt.def
 	$(RM) zx81/*.o*
diff -ur z88dk/libsrc/z88math/Makefile z88dk-makefile-fixes/libsrc/z88math/Makefile
--- z88dk/libsrc/z88math/Makefile	2007-06-03 17:13:07.000000000 +0200
+++ z88dk-makefile-fixes/libsrc/z88math/Makefile	2007-12-06 08:54:01.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 z88math: $(OBJECTS)
-	$(LIBLINKER) -x$(OUTPUT_DIRECTORY)/z88_math @z88list
+	$(LIBLINKER) -x../$(OUTPUT_DIRECTORY)/z88_math @z88list
 
 .c.o:
 	zcc $(CFLAGS) -math-z88 -D__Z88__ -D__NATIVE_MATH__ $*.c
diff -ur z88dk/libsrc/zxmath/Makefile z88dk-makefile-fixes/libsrc/zxmath/Makefile
--- z88dk/libsrc/zxmath/Makefile	2007-06-03 17:13:07.000000000 +0200
+++ z88dk-makefile-fixes/libsrc/zxmath/Makefile	2007-12-06 08:54:30.000000000 +0100
@@ -9,19 +9,19 @@
 
 zx_mathtiny:
 	rm -f *.o* ../mzx_tiny.lib
-	$(LIBLINKER) -DFORzx -DTINYMODE -x$(OUTPUT_DIRECTORY)/mzx_tiny @zxmlist
+	$(LIBLINKER) -DFORzx -DTINYMODE -x../$(OUTPUT_DIRECTORY)/mzx_tiny @zxmlist
 
 zx81_mathtiny:
 	rm -f *.o* ../m81_tiny.lib
-	$(LIBLINKER) -DFORzx81 -DTINYMODE -x$(OUTPUT_DIRECTORY)/m81_tiny @zxmlist
+	$(LIBLINKER) -DFORzx81 -DTINYMODE -x../$(OUTPUT_DIRECTORY)/m81_tiny @zxmlist
 
 zx_math:
 	rm -f *.o* ../mzx.lib
-	$(LIBLINKER) -DFORzx -x$(OUTPUT_DIRECTORY)/mzx @zxmlist
+	$(LIBLINKER) -DFORzx -x../$(OUTPUT_DIRECTORY)/mzx @zxmlist
 
 zx81_math:
 	rm -f *.o* ../m81.lib
-	$(LIBLINKER) -DFORzx81 -x$(OUTPUT_DIRECTORY)/m81 @zxmlist
+	$(LIBLINKER) -DFORzx81 -x../$(OUTPUT_DIRECTORY)/m81 @zxmlist
 
 clean:
 	rm -f *.o* *.sym *.map *.err 


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/z88dk/F-8/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	13 Jan 2006 00:19:34 -0000	1.2
+++ .cvsignore	6 Dec 2007 08:23:40 -0000	1.3
@@ -1 +1 @@
-z88dk-src-1.6.tgz
+z88dk-src-1.7.tgz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/z88dk/F-8/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	13 Jan 2006 00:19:34 -0000	1.2
+++ sources	6 Dec 2007 08:23:40 -0000	1.3
@@ -1 +1 @@
-5fd75dea26da3c3d863b9e15f6524af9  z88dk-src-1.6.tgz
+cbb910bcb8beb0b15b101a4420d3fb25  z88dk-src-1.7.tgz


Index: z88dk.spec
===================================================================
RCS file: /cvs/pkgs/rpms/z88dk/F-8/z88dk.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- z88dk.spec	27 Sep 2007 18:36:24 -0000	1.6
+++ z88dk.spec	6 Dec 2007 08:23:40 -0000	1.7
@@ -1,24 +1,27 @@
 Summary: A Z80 cross compiler
 Name: z88dk
-Version: 1.6
-Release: 11%{?dist}.1
+Version: 1.7
+Release: 1%{?dist}
 License: Artistic clarified
 Group: Development/Tools
-Source: http://dl.sf.net/z88dk/z88dk-src-%{version}.tgz
-Patch: z88make.patch
+Source: http://downloads.sourceforge.net/z88dk/z88dk-src-%{version}.tgz
+Patch0: z88make.patch
+Patch1: z88dk-1.7-makefile-fixes.patch
 URL: http://z88dk.sourceforge.net/
-Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 ExcludeArch: x86_64 ia64 ppc64
 
 %description
 z88dk is a Z80 cross compiler capable of generating binary files for a variety
-of Z80 based machines (such as the ZX81, Spectrum and Jupiter Ace).
+of Z80 based machines (such as the ZX81, Spectrum, Jupiter Ace and some TI
+calculators).
 
 %prep
 %setup -q -n z88dk
-%patch0 -p0 -b Makefile
+%patch0 -p0
+# Lots of buggy makefiles there
+%patch1 -p1
 %{_bindir}/find . -depth -name CVS -type d -exec %{__rm} -rf {} \;
-%{__mkdir} bin
 # Separate manpages from other docs and fix their permissions
 %{__mv} doc/netman .
 %{__chmod} 644 netman/man3z/*
@@ -38,12 +41,16 @@
 # Note: do not use %{?_smp_mflags} with make because the Makefiles don't support parallel builds
 %{__make} clean
 %{__make} -e
+# libs are target libraries, they won't build with host CFLAGS
+unset CFLAGS
+export CFLAGS
 %{__make} -e libs
 
 %install
 export Z80_OZFILES=%{_datadir}/z88dk-%{version}/lib/
 export ZCCCFG=%{_datadir}/z88dk-%{version}/lib/config/
 %{__rm} -rf %{buildroot}
+%{__mkdir} %{buildroot}
 %{makeinstall} install-libs
 %{__mkdir_p} %{buildroot}%{_mandir}/man3z
 %{__cp} -p netman/man3z/* %{buildroot}%{_mandir}/man3z
@@ -58,7 +65,7 @@
 %doc doc/fileio.txt doc/lib3d.txt doc/options.txt doc/packages.txt
 %doc doc/platforms.txt doc/retarget.txt doc/stdio.txt doc/ti.txt doc/z80asm.txt
 %doc doc/zxscrdrv.txt
-%doc EXTENSIONS LICENSE www
+%doc EXTENSIONS LICENSE
 # Examples might be worth putting in subpackage
 %doc examples
 %{_bindir}/appmake
@@ -69,14 +76,22 @@
 %{_mandir}/man3z/
 
 %changelog
+* Thu Dec 6 2007 Kevin Kofler <Kevin at tigcc.ticalc.org> - 1.7-1
+- update to 1.7
+- use preferred SF URL
+- mention TI calculators in description
+- mkdir buildroot in install
+- don't try to build target libs with host CFLAGS
+- fix buggy makefiles leading to silently missing libraries
+
 * Thu Sep 27 2007 Tom "spot" Callaway <tcallawa at redhat.com> 1.6-11.1
 - no ppc64
 
 * Thu Sep 27 2007 Tom "spot" Callaway <tcallawa at redhat.com> 1.6-11
 - fix license tag (Artistic clarified)
 
-* Thu Oct 05 2006 Christian Iseli <Christian.Iseli at licr.org> 1.6-10
- - rebuilt for unwind info generation, broken in gcc-4.1.1-21
+* Thu Oct 5 2006 Christian Iseli <Christian.Iseli at licr.org> 1.6-10
+- rebuilt for unwind info generation, broken in gcc-4.1.1-21
 
 * Tue Sep 19 2006 Paul F. Johnson <paul at all-the-johnsons.co.uk> - 1.6-9
 - rebuild




More information about the fedora-extras-commits mailing list