From 5b80bfd7bffd4c20d80b7c70a7130529e9a755dd Mon Sep 17 00:00:00 2001 From: ToshikazuOhiwa Date: Mon, 30 Mar 2020 09:24:26 +0900 Subject: agl-basesystem --- .../xscreensaver/files/fix-buildscripts.patch | 116 +++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/xscreensaver/files/fix-buildscripts.patch (limited to 'external/meta-openembedded/meta-oe/recipes-graphics/xscreensaver/files/fix-buildscripts.patch') diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/xscreensaver/files/fix-buildscripts.patch b/external/meta-openembedded/meta-oe/recipes-graphics/xscreensaver/files/fix-buildscripts.patch new file mode 100644 index 00000000..3a50eff8 --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/xscreensaver/files/fix-buildscripts.patch @@ -0,0 +1,116 @@ +--- xscreensaver-5.39.orig/configure.in ++++ xscreensaver-5.39/configure.in +@@ -14,6 +14,9 @@ + # + ############################################################################### + ++includedir='' ++libdir='' ++ + AH_TOP([ + /* config.h.in --- xscreensaver, Copyright (c) 1991-2014 Jamie Zawinski. + * +@@ -422,12 +425,12 @@ + + OBJCC="$CC" + +- AC_MSG_CHECKING([whether the compiler works on ANSI C]) +- AC_TRY_RUN([ main(int ac, char **av) { return 0; } ], +- AC_MSG_RESULT(yes), +- AC_MSG_RESULT(no) +- AC_MSG_ERROR(Couldn't build even a trivial ANSI C program: check CC.), +- AC_MSG_ERROR(Couldn't build even a trivial ANSI C program: check CC.)) ++# AC_MSG_CHECKING([whether the compiler works on ANSI C]) ++# AC_TRY_RUN([ main(int ac, char **av) { return 0; } ], ++# AC_MSG_RESULT(yes), ++# AC_MSG_RESULT(no) ++# AC_MSG_ERROR(Couldn't build even a trivial ANSI C program: check CC.), ++# AC_MSG_ERROR(Couldn't build even a trivial ANSI C program: check CC.)) + + if test -n "$GCC"; then + AC_MSG_RESULT(Turning on gcc compiler warnings.) +--- xscreensaver-5.39.orig/Makefile.in ++++ xscreensaver-5.39/Makefile.in +@@ -6,7 +6,7 @@ + VPATH = @srcdir@ + + SHELL = /bin/sh +-SUBDIRS = utils jwxyz hacks/images hacks hacks/glx driver po ++SUBDIRS = utils jwxyz hacks/images hacks driver + SUBDIRS2 = $(SUBDIRS) OSX android + TARFILES = README README.hacking README.VMS INSTALL \ + configure configure.in Makefile.in config.h.in \ +--- xscreensaver-5.39.orig/driver/Makefile.in ++++ xscreensaver-5.39/driver/Makefile.in +@@ -10,7 +10,7 @@ + top_srcdir = @top_srcdir@ + top_builddir = .. + +-install_prefix = ++install_prefix = ${DESTDIR} + prefix = @prefix@ + exec_prefix = @exec_prefix@ + bindir = @bindir@ +@@ -221,7 +221,7 @@ + SCRIPTS_1 = xscreensaver-getimage-file xscreensaver-getimage-video \ + xscreensaver-text + SCRIPTS_OSX = xscreensaver-getimage-desktop +-SCRIPTS = $(SCRIPTS_1) @SCRIPTS_OSX@ ++#SCRIPTS = $(SCRIPTS_1) @SCRIPTS_OSX@ + + HDRS = XScreenSaver_ad.h XScreenSaver_Xm_ad.h \ + xscreensaver.h prefs.h remote.h exec.h \ +--- xscreensaver-5.39.orig/hacks/Makefile.in ++++ xscreensaver-5.39/hacks/Makefile.in +@@ -10,7 +10,7 @@ + top_srcdir = @top_srcdir@ + top_builddir = .. + +-install_prefix = ++install_prefix = ${DESTDIR} + prefix = @prefix@ + exec_prefix = @exec_prefix@ + bindir = @bindir@ +@@ -122,7 +122,7 @@ + asm6502.c abstractile.c lcdscrub.c hexadrop.c \ + tessellimage.c delaunay.c recanim.c binaryring.c \ + webcollage-cocoa.m webcollage-helper-cocoa.m testx11.c +-SCRIPTS = vidwhacker webcollage ljlatest ++#SCRIPTS = vidwhacker webcollage ljlatest + + # Programs that are mentioned in XScreenSaver.ad, and that have XML files, + # but that are not shipped with xscreensaver itself. +@@ -163,7 +163,13 @@ + lcdscrub.o hexadrop.o tessellimage.o delaunay.o recanim.o \ + binaryring.o testx11.o + +-EXES = attraction blitspin bouboule braid decayscreen deco \ ++EXES = fontglide ++JPEG_EXES = webcollage-helper ++ ++RETIRED_EXES = ant bubbles critical flag forest hyperball hypercube laser \ ++ lightning lisa lissie lmorph rotor sphere spiral t3d vines \ ++ whirlygig worm xsublim juggle testx11 \ ++ attraction blitspin bouboule braid decayscreen deco \ + drift flame galaxy grav greynetic halo \ + helix hopalong ifs imsmap julia kaleidescope \ + maze moire noseguy pedal \ +@@ -179,17 +185,12 @@ + speedmine vermiculate twang apollonian euler2d \ + polyominoes thornbird fluidballs anemone halftone \ + metaballs eruption popsquares barcode piecewise cloudlife \ +- fontglide apple2 xanalogtv pong wormhole \ ++ apple2 xanalogtv pong wormhole \ + pacman fuzzyflakes anemotaxis memscroller substrate \ + intermomentary fireworkx fiberlamp boxfit interaggregate \ + celtic cwaves m6502 abstractile lcdscrub hexadrop \ + tessellimage binaryring \ + @JPEG_EXES@ +-JPEG_EXES = webcollage-helper +- +-RETIRED_EXES = ant bubbles critical flag forest hyperball hypercube laser \ +- lightning lisa lissie lmorph rotor sphere spiral t3d vines \ +- whirlygig worm xsublim juggle testx11 + + HACK_OBJS_1 = fps.o $(UTILS_BIN)/resources.o $(UTILS_BIN)/visual.o \ + $(UTILS_BIN)/usleep.o $(UTILS_BIN)/yarandom.o \ -- cgit 1.2.3-korg