diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-board/ace/files | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-board/ace/files')
-rw-r--r-- | games-board/ace/files/ace-1.4-CC.patch | 17 | ||||
-rw-r--r-- | games-board/ace/files/ace-1.4-clang.patch | 15 | ||||
-rw-r--r-- | games-board/ace/files/ace-1.4-gold.patch | 144 | ||||
-rw-r--r-- | games-board/ace/files/ace-1.4-libpng15.patch | 29 | ||||
-rw-r--r-- | games-board/ace/files/ace-1.4-no-xpm.patch | 24 |
5 files changed, 229 insertions, 0 deletions
diff --git a/games-board/ace/files/ace-1.4-CC.patch b/games-board/ace/files/ace-1.4-CC.patch new file mode 100644 index 000000000000..ec9045d25765 --- /dev/null +++ b/games-board/ace/files/ace-1.4-CC.patch @@ -0,0 +1,17 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Fri Jan 4 17:19:04 UTC 2013 +Subject: build system + + +--- ace-1.4/lib/Makefile.am ++++ ace-1.4/lib/Makefile.am +@@ -25,7 +25,7 @@ + ./make-imglib -n cards -i $(srcdir)/png -d images.d $(srcdir)/images.in images.c + + make-imglib : make-imglib.c +- $(BUILD_CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(srcdir)/make-imglib.c -o make-imglib -lpng -lz ++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(srcdir)/make-imglib.c -o make-imglib -lpng -lz + + text2c : text2c.c +- $(BUILD_CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(srcdir)/text2c.c -o text2c -lpng -lz ++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(srcdir)/text2c.c -o text2c -lpng -lz diff --git a/games-board/ace/files/ace-1.4-clang.patch b/games-board/ace/files/ace-1.4-clang.patch new file mode 100644 index 000000000000..b021efe517de --- /dev/null +++ b/games-board/ace/files/ace-1.4-clang.patch @@ -0,0 +1,15 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Fri Jan 4 17:41:20 UTC 2013 +Subject: fix build with clang + +--- ace-1.4/lib/make-imglib.c ++++ ace-1.4/lib/make-imglib.c +@@ -202,7 +202,7 @@ + char *rv; + if (string) { + next = string; +- return; ++ return 0; + } + while (*next && !isgraph(*next)) next++; + if (!*next) return 0; diff --git a/games-board/ace/files/ace-1.4-gold.patch b/games-board/ace/files/ace-1.4-gold.patch new file mode 100644 index 000000000000..62665d61b880 --- /dev/null +++ b/games-board/ace/files/ace-1.4-gold.patch @@ -0,0 +1,144 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Tue Sep 25 13:18:57 UTC 2012 +Subject: build system + +fix gold linker compilation +https://bugs.gentoo.org/show_bug.cgi?id=435826 + +--- configure.in ++++ configure.in +@@ -44,6 +44,9 @@ + AC_PROG_INSTALL + AC_PROG_LN_S + AC_PROG_MAKE_SET ++AC_PATH_PROG([PKGCONFIG], [pkg-config]) ++AS_IF([test "x$PKGCONFIG" = "x"], ++ [AC_MSG_ERROR([pkg-config not found!])]) + + AC_CHECK_PROGS(BUILD_CC,gcc cc ${CC},gcc) + AC_CHECK_PROG(AR,${AR:-ar},${AR:-ar},ar) +@@ -55,6 +58,10 @@ + dnl doesn't work if gd isn't where the compiler can find it + dnl AC_CHECK_LIB(gd, gdImageCreateFromGif) + ++PKG_CHECK_MODULES([X], [x11]) ++PKG_CHECK_MODULES([Z], [zlib]) ++PKG_CHECK_MODULES([PNG], [libpng]) ++ + dnl Checks for header files. + + AC_PATH_XTRA +@@ -69,57 +76,6 @@ + AC_FUNC_UTIME_NULL + AC_CHECK_FUNCS(gettimeofday mkdir strdup strstr) + +-opt_gd= +-AC_ARG_WITH(z,[ --with-z=DIR location of the ZLIB library],opt_z=$withval) +-AC_ARG_WITH(png,[ --with-png=DIR location of the PNG library],opt_png=$withval) +- +-case "$with_z" in +- yes|no) AC_MSG_ERROR([ +-*** Directory must be specified for --with-z]) +- ;; +- "") +- Z_CFLAGS= +- Z_LIBS=-lz +- ;; +- *) +- if test -f $with_z/include/z.h +- then +- Z_CFLAGS=-I$with_z/include +- else +- Z_CFLAGS=-I$with_z +- fi +- if test -f $with_z/lib/libz.a +- then +- Z_LIBS=$with_z/lib/libz.a +- else +- Z_LIBS=$with_z/libz.a +- fi +- ;; +-esac +- +-case "$with_png" in +- yes|no) AC_MSG_ERROR([ +-*** Directory must be specified for --with-png]) +- ;; +- "") +- PNG_CFLAGS= +- PNG_LIBS= +- ;; +- *) +- if test -f $with_png/lib/png.h +- then +- PNG_CFLAGS=-I$with_png/lib +- else +- PNG_CFLAGS=-I$with_png/include/X11 +- fi +- if test -f $with_png/lib/libPng.a +- then +- PNG_LIBS="-L$with_png/lib" +- else +- PNG_LIBS="-L$with_png" +- fi +- ;; +-esac + + AC_SUBST(Z_CFLAGS) + AC_SUBST(Z_LIBS) +@@ -127,6 +83,9 @@ + AC_SUBST(PNG_CFLAGS) + AC_SUBST(PNG_LIBS) + ++AC_SUBST(X_LIBS) ++AC_SUBST(X_CFLAGS) ++ + AC_SUBST(PDA) + + AC_OUTPUT(Makefile lib/Makefile games/Makefile tests/Makefile) +--- lib/Makefile.am ++++ lib/Makefile.am +@@ -5,18 +5,19 @@ + + CLEANFILES = images.c images.d + +-INCLUDES = $(X_CFLAGS) @PDA@ +-AM_LDFLAGS = $(X_LIBS) ++INCLUDES = $(X_CFLAGS) $(PNG_CFLAGS) $(Z_CFLAGS) @PDA@ + + BUILD_CC = @BUILD_CC@ + AR = @AR@ + STRIP = @STRIP@ + +-libcards_la_LDFLAGS = -version-info 1:0:0 $(AM_LDFLAGS) ++libcards_la_LDFLAGS = -version-info 1:0:0 + + libcards_la_SOURCES = table.c help.c stack.c imagelib.c xwin.c \ + images.c table_rn.c funcs.c + ++libcards_la_LIBADD = $(X_LIBS) $(PNG_LIBS) $(Z_LIBS) ++ + # table_ai.c table_ck.c table_dc.c table_dg.c \ + #table_dp.c table_in.c table_ky.c table_rd.c table_rs.c + +--- games/Makefile.am ++++ games/Makefile.am +@@ -30,8 +30,7 @@ + + STRIP = @STRIP@ + +-INCLUDES = -I$(srcdir)/../lib $(X_CFLAGS) @PDA@ +-AM_LDFLAGS = $(X_LIBS) ++INCLUDES = -I$(srcdir)/../lib @PDA@ + + canfield_SOURCES = canfield.c canfield-img.c + freecell_SOURCES = freecell.c freecell-help.c freecell-img.c +@@ -52,7 +51,7 @@ + solitaire-help.c solitaire-img.c spider-help.c spider-img.c \ + taipedit-help.c taipedit-img.c taipei-help.c taipei-img.c + +-LDADD = ../lib/libcards.la -lpng -lz -lX11 -lm ++LDADD = ../lib/libcards.la -lm + + EXTRA_DIST = $(wildcard *.png) $(wildcard *.tp) + diff --git a/games-board/ace/files/ace-1.4-libpng15.patch b/games-board/ace/files/ace-1.4-libpng15.patch new file mode 100644 index 000000000000..f0ec4e9f6359 --- /dev/null +++ b/games-board/ace/files/ace-1.4-libpng15.patch @@ -0,0 +1,29 @@ +--- lib/make-imglib.c ++++ lib/make-imglib.c +@@ -86,7 +86,7 @@ + png_ptr = png_create_read_struct (PNG_LIBPNG_VER_STRING, 0, 0, 0); + info_ptr = png_create_info_struct (png_ptr); + +- if (setjmp (png_ptr->jmpbuf)) { ++ if (setjmp (png_jmpbuf(png_ptr))) { + fclose (f); + continue; + } +--- lib/xwin.c ++++ lib/xwin.c +@@ -824,13 +824,13 @@ + png_ptr = png_create_read_struct (PNG_LIBPNG_VER_STRING, 0, 0, 0); + info_ptr = png_create_info_struct (png_ptr); + +- if (setjmp (png_ptr->jmpbuf)) { ++ if (setjmp (png_jmpbuf(png_ptr))) { + fprintf(stderr, "Invalid PNG image!\n"); + return; + } + + file_bytes = src->file_data; +- png_set_read_fn (png_ptr, (voidp)&file_bytes, (png_rw_ptr)png_reader); ++ png_set_read_fn (png_ptr, (png_voidp)&file_bytes, (png_rw_ptr)png_reader); + + png_read_info (png_ptr, info_ptr); + diff --git a/games-board/ace/files/ace-1.4-no-xpm.patch b/games-board/ace/files/ace-1.4-no-xpm.patch new file mode 100644 index 000000000000..25b06754be42 --- /dev/null +++ b/games-board/ace/files/ace-1.4-no-xpm.patch @@ -0,0 +1,24 @@ +--- lib/table.c.orig 2008-01-15 15:05:27.000000000 -0500 ++++ lib/table.c 2010-09-29 17:34:40.925310980 -0400 +@@ -23,7 +23,6 @@ + #include <X11/Xutil.h> + #include <X11/keysym.h> + #include <X11/Xatom.h> +-#include <X11/xpm.h> + + #define CD printf("%d: %d %d %d %d\n", __LINE__, ex, ey, ew, eh) + #undef CD +@@ -165,13 +164,6 @@ + xwin_create (width, height); + } + +-typedef struct PicRec { +- Pixmap pixmap; +- Pixmap mask; +- char **xpm_data; +- int image_table_index; +-} PicRec; +- + int get_picture_default_width = CARD_WIDTH; + int get_picture_default_height = CARD_HEIGHT; + |