libsmbios-2.2.28-cppunit-tests.patch 350 B

1234567891011
  1. --- libsmbios-2.2.28/src/libsmbios_c/smi/smi_linux.c
  2. +++ libsmbios-2.2.28/src/libsmbios_c/smi/smi_linux.c
  3. @@ -48,6 +48,7 @@
  4. #define bufsize 256
  5. // not in header file. for private use by unit tests.
  6. +LIBSMBIOS_C_DLL_SPEC void set_basedir(const char *); // needed to link tests
  7. void set_basedir(const char *newdir)
  8. {
  9. sysfs_basedir = newdir;