head 1.2; access; symbols pkgsrc-2015Q3:1.1.0.6 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.4 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.2 pkgsrc-2015Q1-base:1.1; locks; strict; comment @// @; 1.2 date 2015.10.24.19.18.45; author joerg; state dead; branches; next 1.1; commitid gqKjh0T5uvD6AoGy; 1.1 date 2015.02.20.23.39.31; author joerg; state Exp; branches; next ; commitid yXirQAfOxdwMVNay; desc @@ 1.2 log @Remove Haskell binding for old wxGTK versions, which doesn't work with modern GHC anyway. @ text @$NetBSD: patch-wxc_src_treectrl.cpp,v 1.1 2015/02/20 23:39:31 joerg Exp $ --- wxc/src/treectrl.cpp.orig 2015-02-20 22:58:12.000000000 +0000 +++ wxc/src/treectrl.cpp @@@@ -310,9 +310,9 @@@@ EWXWEXPORT(int, wxTreeCtrl_GetSelections *(((wxTreeItemId**)selections)[i]) = sel[i]; */ #if wxCHECK_VERSION(2,5,0) - selections[i] = (int)(((wxTreeItemId*)sel[i])->m_pItem); + selections[i] = (int)(intptr_t)(((wxTreeItemId*)sel[i])->m_pItem); #else - selections[i] = (int)(sel[i].m_pItem); + selections[i] = (int)(intptr_t)(sel[i].m_pItem); #endif } } @ 1.1 log @Build shared library. Fix soname passing. Fix format strings. Explicitly truncate pointers (XXX revisit by somewhere with more Haskellfu). Fix bit masking. @ text @d1 1 a1 1 $NetBSD$ @