Mercurial > mxe-octave
annotate 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 |
rev | line source |
---|---|
4058
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
1 --- librsb-1.2.0-rc2/rsb_sys.h.orig 2015-11-08 08:20:56.737959489 -0500 |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
2 +++ librsb-1.2.0-rc2/rsb_sys.h 2015-11-08 08:24:46.712072656 -0500 |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
3 @@ -204,6 +204,8 @@ |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
4 |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
5 #ifdef RSB_HAVE_BZERO |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
6 #define RSB_BZERO bzero /**< we have the chance of using a custom bzero function in this way */ |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
7 +#elif RSB_HAVE_MEMSET |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
8 +#define RSB_BZERO(a,b) memset(a,0,b) |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
9 #else /* RSB_HAVE_BZERO */ |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
10 #error "missing a definition of RSB_BZERO!" |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
11 #endif /* RSB_HAVE_BZERO */ |