Author: matz Date: Thu Feb 21 17:57:30 2008 New Revision: 8853 URL: http://svn.opensuse.org/viewcvs/zypp?rev=8853&view=rev Log: Mean bug, when an inlined version of isExists uses a different layout of the PathInfo class, than the one in the library, due to different definition of _FILE_OFFSET_BITS in compiling libzypp and compiling zypper (that influences the size of "struct stat", and hence the layout of PathInfo objects :-( Modified: trunk/zypper/CMakeLists.txt Modified: trunk/zypper/CMakeLists.txt URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/CMakeLists.txt?rev=8853&r1=8852&r2=8853&view=diff ============================================================================== --- trunk/zypper/CMakeLists.txt (original) +++ trunk/zypper/CMakeLists.txt Thu Feb 21 17:57:30 2008 @@ -12,6 +12,7 @@ # VERSION INCLUDE( ${CMAKE_SOURCE_DIR}/VERSION.cmake ) SET( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}" ) +ADD_DEFINITIONS( -D_FILE_OFFSET_BITS=64 ) ADD_DEFINITIONS( -DVERSION=\\\"${VERSION}\\\" ) SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O2 -Wall -Woverloaded-virtual -fstack-protector" ) -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org