2010-09-13 12:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/package/harbour-win.spec.in
* harbour/package/harbour-wce.spec.in
! added HB_BUILD_EXTDEF=no to fix cross compilation
Question: in the past HB_BUILD_EXTDEF=no was set automatically
for cross compilation. Why we removed this setting?
* harbour/package/harbour.spec
! use libhbqt*.a for Harbour QT wrapper libraries instead of explicit
names which were not correctly synced.
* harbour/contrib/xhb/xhbmsgs.c
! fixed assign last character in string using [] operators in
xHarbour emulation library, i.e.;
cVal[ len( cVal ) ] := "*"
This commit is contained in:
@@ -16,6 +16,22 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2010-09-13 12:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/package/harbour-win.spec.in
|
||||
* harbour/package/harbour-wce.spec.in
|
||||
! added HB_BUILD_EXTDEF=no to fix cross compilation
|
||||
Question: in the past HB_BUILD_EXTDEF=no was set automatically
|
||||
for cross compilation. Why we removed this setting?
|
||||
|
||||
* harbour/package/harbour.spec
|
||||
! use libhbqt*.a for Harbour QT wrapper libraries instead of explicit
|
||||
names which were not correctly synced.
|
||||
|
||||
* harbour/contrib/xhb/xhbmsgs.c
|
||||
! fixed assign last character in string using [] operators in
|
||||
xHarbour emulation library, i.e.;
|
||||
cVal[ len( cVal ) ] := "*"
|
||||
|
||||
2010-09-13 11:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/src/rtl/hbzlib.c
|
||||
+ added new PRG function:
|
||||
|
||||
@@ -343,7 +343,7 @@ HB_FUNC( XHB_INDEX )
|
||||
{
|
||||
char * pszText;
|
||||
if( hb_itemGetWriteCL( pSelf, &pszText, &nLen ) &&
|
||||
nIndex < nLen )
|
||||
nIndex > 0 && nIndex <= nLen )
|
||||
pszText[ nIndex - 1 ] = cValue;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -83,6 +83,7 @@ unset HB_BUILD_CONTRIBS
|
||||
export HB_BUILD_PARTS=lib
|
||||
export HB_PLATFORM=wce
|
||||
export HB_HOST_BIN="$(pwd)/bin/linux/gcc"
|
||||
export HB_BUILD_EXTDEF=no
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
@@ -99,6 +100,7 @@ unset HB_COMPILER
|
||||
export HB_BUILD_PARTS=lib
|
||||
export HB_PLATFORM=wce
|
||||
export HB_HOST_BIN="$(pwd)/bin/linux/gcc"
|
||||
export HB_BUILD_EXTDEF=no
|
||||
|
||||
export HB_INSTALL_PKG_ROOT=${RPM_BUILD_ROOT}
|
||||
export HB_INSTALL_BIN=${RPM_BUILD_ROOT}/%{_bindir}
|
||||
|
||||
@@ -83,6 +83,7 @@ unset HB_BUILD_CONTRIBS
|
||||
export HB_BUILD_PARTS=lib
|
||||
export HB_PLATFORM=win
|
||||
export HB_HOST_BIN="$(pwd)/bin/linux/gcc"
|
||||
export HB_BUILD_EXTDEF=no
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
@@ -99,6 +100,7 @@ unset HB_COMPILER
|
||||
export HB_BUILD_PARTS=lib
|
||||
export HB_PLATFORM=win
|
||||
export HB_HOST_BIN="$(pwd)/bin/linux/gcc"
|
||||
export HB_BUILD_EXTDEF=no
|
||||
|
||||
export HB_INSTALL_PKG_ROOT=${RPM_BUILD_ROOT}
|
||||
export HB_INSTALL_BIN=${RPM_BUILD_ROOT}/%{_bindir}
|
||||
|
||||
@@ -588,10 +588,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{?_with_qt:%files qt}
|
||||
%{?_with_qt:%defattr(644,root,root,755)}
|
||||
%{?_with_qt:%dir %{_libdir}/%{name}}
|
||||
%{?_with_qt:%{_libdir}/%{name}/libhbqt.a}
|
||||
%{?_with_qt:%{_libdir}/%{name}/libhbqtcore.a}
|
||||
%{?_with_qt:%{_libdir}/%{name}/libhbqtgui.a}
|
||||
%{?_with_qt:%{_libdir}/%{name}/libhbqtnetwork.a}
|
||||
%{?_with_qt:%{_libdir}/%{name}/libhbqt*.a}
|
||||
%{?_with_qt:%{_libdir}/%{name}/libhbxbp.a}
|
||||
|
||||
######################################################################
|
||||
|
||||
Reference in New Issue
Block a user