Browse Source

libXScrnsaver: disable malloc0returnsnull

Waldemar Brodkorb 8 years ago
parent
commit
8f334ab4d0

+ 1 - 1
package/libXScrnSaver/Makefile

@@ -21,7 +21,7 @@ include $(ADK_TOPDIR)/mk/package.mk
 
 $(eval $(call PKG_template,LIBXSCRNSAVER,libxscrnsaver,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
 
-CONFIGURE_ARGS+=	--enable-malloc0returnsnull
+CONFIGURE_ARGS+=	--disable-malloc0returnsnull
 
 libxscrnsaver-install:
 	$(INSTALL_DIR) $(IDIR_LIBXSCRNSAVER)/usr/lib

+ 5 - 5
package/xorg-server/patches/patch-hw_xfree86_common_compiler_h

@@ -1,8 +1,8 @@
 from alpinelinux
 
---- xorg-server-1.15.0.orig/hw/xfree86/common/compiler.h	2013-12-15 08:48:09.000000000 +0100
-+++ xorg-server-1.15.0/hw/xfree86/common/compiler.h	2014-03-21 12:53:48.834417415 +0100
-@@ -727,26 +727,26 @@ xf86WriteMmio32LeNB(__volatile__ void *b
+--- xorg-server-1.18.0.orig/hw/xfree86/common/compiler.h	2015-10-28 19:15:36.000000000 +0100
++++ xorg-server-1.18.0/hw/xfree86/common/compiler.h	2016-01-08 01:41:49.582326445 +0100
+@@ -525,26 +525,26 @@ xf86WriteMmio32Le(__volatile__ void *bas
  #define PORT_SIZE short
  #endif
  
@@ -33,7 +33,7 @@ from alpinelinux
          val;
  }
  
-@@ -754,21 +754,21 @@ static __inline__ unsigned int
+@@ -552,21 +552,21 @@ static __inline__ unsigned int
  inb(unsigned PORT_SIZE port)
  {
      return *(volatile unsigned char *) (((unsigned PORT_SIZE) (port)) +
@@ -58,7 +58,7 @@ from alpinelinux
  }
  
  #if defined(__mips__)
-@@ -995,7 +995,7 @@ inl(unsigned short port)
+@@ -758,7 +758,7 @@ inl(unsigned short port)
      return xf86ReadMmio32Le((void *) ioBase, port);
  }
  

+ 4 - 4
package/xorg-server/patches/patch-hw_xfree86_os-support_linux_lnx_video_c

@@ -1,6 +1,6 @@
---- xorg-server-1.15.0.orig/hw/xfree86/os-support/linux/lnx_video.c	2013-12-27 18:38:52.000000000 +0100
-+++ xorg-server-1.15.0/hw/xfree86/os-support/linux/lnx_video.c	2014-03-21 13:14:06.821293270 +0100
-@@ -473,7 +473,7 @@ unmapVidMem(int ScreenNum, pointer Base,
+--- xorg-server-1.18.0.orig/hw/xfree86/os-support/linux/lnx_video.c	2015-08-03 16:44:08.000000000 +0200
++++ xorg-server-1.18.0/hw/xfree86/os-support/linux/lnx_video.c	2016-01-08 01:41:49.618324040 +0100
+@@ -79,7 +79,7 @@ xf86OSInitVidMem(VidMemInfoPtr pVidMem)
  /* I/O Permissions section                                                 */
  /***************************************************************************/
  
@@ -9,7 +9,7 @@
  volatile unsigned char *ioBase = NULL;
  
  #ifndef __NR_pciconfig_iobase
-@@ -484,7 +484,11 @@ static Bool
+@@ -90,7 +90,11 @@ static Bool
  hwEnableIO(void)
  {
      int fd;