[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

(half of a) patch for oval-interpreter



Hi,

hitting now:
| ../../src/linux/SystemInfo.cpp:296: error: ‘SIOCGIFHWADDR’ was not declared in this scope
with oval-interpreter and the attached patch. Kind of a nasty one, but
well, could have worked out of the box. :D

Volunteers?

Mraw,
KiBi.
--- oval-interpreter-5.4.2/project/linux/Makefile
+++ oval-interpreter-5.4.2+kbsd/project/linux/Makefile
@@ -57,7 +57,7 @@
 LIBS = -lxerces-c -lxalan-c -lpcre -lpopt
 
 # Determine what platform the source is being build on
-PLATFORM = $(shell uname | tr '[a-z]' '[A-Z]')
+PLATFORM = $(shell uname | tr '[a-z]' '[A-Z]' | sed 's/^GNU.*/LINUX/')
 
 # Determine what package management system is being used 
 PACKAGE_RPM  = $(shell /usr/bin/env rpm  --version 2>/dev/null)
Seulement dans oval-interpreter-5.4.2+kbsd/project/linux: Makefile~
Seulement dans oval-interpreter-5.4.2+kbsd/project/linux: Release

Attachment: signature.asc
Description: Digital signature


Reply to: