From: Debian Science Maintainers Date: Fri, 6 May 2011 13:52:41 +0000 (+0100) Subject: no-bitmaps-icon X-Git-Tag: archive/raspbian/7.3.0+dfsg1-4+rpi1~1^2^2~18 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9dacdeecd73ced04576bc73a29c7c179f206d904;p=opencascade.git no-bitmaps-icon Disable X11/bitmaps/icon.h inclusion (closes: #489127) Gbp-Pq: Name no-bitmaps-icon.patch --- diff --git a/ros/inc/InterfaceGraphic_X11.hxx b/ros/inc/InterfaceGraphic_X11.hxx index 2c7955509..dc0446071 100644 --- a/ros/inc/InterfaceGraphic_X11.hxx +++ b/ros/inc/InterfaceGraphic_X11.hxx @@ -27,6 +27,7 @@ Facility : CAS-CADE V1 # include # include +#if 0 # if defined (sun) || defined (SUNOS) || defined (__alpha) || defined (DECOSF1) || defined (sgi) || defined (IRIX) || defined (__hpux)|| defined (HPUX) # ifndef icon_width # include @@ -47,6 +48,7 @@ static unsigned char icon_bits[] = { # endif # endif /* ULTRIX */ +#endif # define WINDOW Window # define DISPLAY Display # define GLCONTEXT GLXContext diff --git a/ros/src/InterfaceGraphic/InterfaceGraphic_X11.hxx b/ros/src/InterfaceGraphic/InterfaceGraphic_X11.hxx index 2c7955509..dc0446071 100644 --- a/ros/src/InterfaceGraphic/InterfaceGraphic_X11.hxx +++ b/ros/src/InterfaceGraphic/InterfaceGraphic_X11.hxx @@ -27,6 +27,7 @@ Facility : CAS-CADE V1 # include # include +#if 0 # if defined (sun) || defined (SUNOS) || defined (__alpha) || defined (DECOSF1) || defined (sgi) || defined (IRIX) || defined (__hpux)|| defined (HPUX) # ifndef icon_width # include @@ -47,6 +48,7 @@ static unsigned char icon_bits[] = { # endif # endif /* ULTRIX */ +#endif # define WINDOW Window # define DISPLAY Display # define GLCONTEXT GLXContext