You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-libs/openslp/files/openslp-compile_fix.patch

15 lines
574 B

--- openslp-1.3.0/common/slp_spi.c~ 2004-03-04 03:38:49.000000000 +0100
+++ openslp-1.3.0/common/slp_spi.c 2004-03-04 03:38:49.000000000 +0100
@@ -267,9 +267,9 @@
fp = fopen(spifile,"r");
if(fp)
{
- result = xmalloc(sizeof(structSLPSpiHandle));
+ result = xmalloc(sizeof(struct _SLPSpiHandle));
if(result == 0) return 0;
- memset(result, 0, sizeof(structSLPSpiHandle));
+ memset(result, 0, sizeof(struct _SLPSpiHandle));
result->spifile = xstrdup(spifile);
result->cacheprivate = cacheprivate;