Mercurial > mxe-octave
diff src/librsb-1-nobzero.patch @ 4058:c7e31c07c915
of-sparsrb: add new package
* src/librsb.mk: new file
* src/librsb-1-nobzero.patch: new patch
* src/of-sparsersb.mk: new file
* src/of-sparsersb-1-cross-build.patch: new patch
* src/libgomp.mk: install libgomp.spec to build tools
* build_packages.m: add sparserb package
* index.html: add librsb and of-sparsersb packages
* Makefile.in: add sparsersb package to of-
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 22 Nov 2015 19:01:31 -0500 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/librsb-1-nobzero.patch Sun Nov 22 19:01:31 2015 -0500 @@ -0,0 +1,11 @@ +--- librsb-1.2.0-rc2/rsb_sys.h.orig 2015-11-08 08:20:56.737959489 -0500 ++++ librsb-1.2.0-rc2/rsb_sys.h 2015-11-08 08:24:46.712072656 -0500 +@@ -204,6 +204,8 @@ + + #ifdef RSB_HAVE_BZERO + #define RSB_BZERO bzero /**< we have the chance of using a custom bzero function in this way */ ++#elif RSB_HAVE_MEMSET ++#define RSB_BZERO(a,b) memset(a,0,b) + #else /* RSB_HAVE_BZERO */ + #error "missing a definition of RSB_BZERO!" + #endif /* RSB_HAVE_BZERO */