From 3c326168b42d6f2cd92c0722dfedcfc4be9165c2 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 08:18:17 +0100 Subject: [PATCH] automatic rebuild by autodist [release 0.4.2-3mamba;Thu Sep 05 2013] --- README.md | 2 + openwince-0.4.2-detectflash.patch | 12 ++++++ openwince-0.4.2-pxabuswidth_header.patch | 19 ++++++++++ openwince-devel.spec | 48 ++++++++++++++++++++++++ 4 files changed, 81 insertions(+) create mode 100644 openwince-0.4.2-detectflash.patch create mode 100644 openwince-0.4.2-pxabuswidth_header.patch create mode 100644 openwince-devel.spec diff --git a/README.md b/README.md index 3338234..c915825 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # openwince-devel +This is a collection of the useful independent include files for C/Assembler developers. Released under BSD-style license. + diff --git a/openwince-0.4.2-detectflash.patch b/openwince-0.4.2-detectflash.patch new file mode 100644 index 0000000..ca28ee2 --- /dev/null +++ b/openwince-0.4.2-detectflash.patch @@ -0,0 +1,12 @@ +diff -Nru include-0.4.2.orig/brux/flash.h include-0.4.2/brux/flash.h +--- include-0.4.2.orig/brux/flash.h 2003-11-02 22:30:46.000000000 +0100 ++++ include-0.4.2/brux/flash.h 2006-08-23 17:28:29.000000000 +0200 +@@ -58,7 +58,7 @@ + #define FLASH_ERROR_BLOCK_LOCKED 3 + #define FLASH_ERROR_UNKNOWN 99 + +-void detectflash( bus_t *bus, uint32_t adr ); ++void detectflash( bus_t *bus ); + + void flashmem( bus_t *bus, FILE *f, uint32_t addr ); + void flashmsbin( bus_t *bus, FILE *f ); diff --git a/openwince-0.4.2-pxabuswidth_header.patch b/openwince-0.4.2-pxabuswidth_header.patch new file mode 100644 index 0000000..1858f98 --- /dev/null +++ b/openwince-0.4.2-pxabuswidth_header.patch @@ -0,0 +1,19 @@ +diff -ruN include/brux/bus.h includeMatej/brux/bus.h +--- include/brux/bus.h Fri Sep 5 16:42:22 2003 ++++ includeMatej/brux/bus.h Thu Dec 18 11:20:25 2003 +@@ -59,6 +59,7 @@ + uint32_t (*read_end)( bus_t *bus ); + uint32_t (*read)( bus_t *bus, uint32_t adr ); + void (*write)( bus_t *bus, uint32_t adr, uint32_t data ); ++ int (*init) (bus_t *bus); + } bus_driver_t; + + struct bus { +@@ -77,5 +78,6 @@ + #define bus_read(bus,adr) bus->driver->read(bus,adr) + #define bus_write(bus,adr,data) bus->driver->write(bus,adr,data) + #define bus_free(bus) bus->driver->free_bus(bus) ++#define bus_init(bus) bus->driver->init(bus) + + #endif /* BRUX_BUS_H */ + \ No newline at end of file diff --git a/openwince-devel.spec b/openwince-devel.spec new file mode 100644 index 0000000..47557ad --- /dev/null +++ b/openwince-devel.spec @@ -0,0 +1,48 @@ +Name: openwince-devel +Version: 0.4.2 +Release: 3mamba +Summary: a collection of the useful independent include files for C/Assembler developers +Group: Development/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://openwince.sourceforge.net/include/ +Source: http://downloads.sourceforge.net/sourceforge/openwince/include-%{version}.tar.bz2 +Patch0: openwince-0.4.2-detectflash.patch +Patch1: openwince-0.4.2-pxabuswidth_header.patch +License: BSD +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +This is a collection of the useful independent include files for C/Assembler developers. Released under BSD-style license. + +%prep +%setup -n include-%{version} -q +%patch1 -p1 + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%dir %{_includedir}/openwince +%{_includedir}/openwince/* +%doc AUTHORS COPYING ChangeLog NEWS README + +%changelog +* Thu Sep 05 2013 Automatic Build System 0.4.2-3mamba +- automatic rebuild by autodist + +* Tue Jan 16 2007 Silvan Calarco 0.4.2-2qilnx +- rebuilt + +* Wed Aug 23 2006 Silvan Calarco 0.4.2-1qilnx +- package created by autospec