Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 271832 | Differences between
and this patch

Collapse All | Expand All

(-)a/HLLib/Makefile (-2 / +2 lines)
Lines 1-7 Link Here
1
CXX		=	g++
1
CXX		=	g++
2
HLLIB_VERS	=	2.0.10
2
HLLIB_VERS	=	$(shell awk -f get_version.awk < stdafx.h)
3
LDFLAGS		=	-shared -Wl,-soname,libhl.so.2
3
LDFLAGS		=	-shared -Wl,-soname,libhl.so.2
4
CXXFLAGS	=	-O2 -g -fpic -funroll-loops -fvisibility=hidden
4
CXXFLAGS	+=	-fpic -funroll-loops -fvisibility=hidden
5
PREFIX		=	/usr/local
5
PREFIX		=	/usr/local
6
sources		=	BSPFile.cpp Checksum.cpp DebugMemory.cpp DirectoryFile.cpp \
6
sources		=	BSPFile.cpp Checksum.cpp DebugMemory.cpp DirectoryFile.cpp \
7
			DirectoryFolder.cpp DirectoryItem.cpp Error.cpp FileMapping.cpp \
7
			DirectoryFolder.cpp DirectoryItem.cpp Error.cpp FileMapping.cpp \
(-)a/HLLib/get_version.awk (+19 lines)
Line 0 Link Here
1
#!/usr/bin/awk -f
2
3
# This script is called by the Makefile
4
# its job is to find and print the version
5
# of HLLib (from stdafx.h)
6
7
BEGIN {
8
  RVAL=1
9
}
10
11
$0 ~ /HL_VERSION_STRING/ && NF == 3 && RVAL == 1 {
12
  gsub("\"", "", $3)
13
  print $3
14
  RVAL=0
15
}
16
17
END {
18
  exit RVAL
19
}
(-)a/HLLib/stdafx.h (+2 lines)
Lines 47-53 Link Here
47
	typedef unsigned __int32	hlUInt32;
47
	typedef unsigned __int32	hlUInt32;
48
	typedef unsigned __int64	hlUInt64;
48
	typedef unsigned __int64	hlUInt64;
49
#else
49
#else
50
#	include <string.h>
50
#	include <stdint.h>
51
#	include <stdint.h>
52
#	include <ctype.h>
51
53
52
	typedef uint8_t		hlUInt8;
54
	typedef uint8_t		hlUInt8;
53
	typedef uint16_t	hlUInt16;
55
	typedef uint16_t	hlUInt16;

Return to bug 271832