summaryrefslogtreecommitdiff
path: root/games/sdlquake2/files/patch-gl_image.c
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2016-07-04 20:48:23 +0000
committerRene Ladan <rene@FreeBSD.org>2016-07-04 20:48:23 +0000
commit19f31a471be151c3b37c2a53435168e9ee3e74cf (patch)
tree239999706f3f6d8d0babe480ab358d7675c96f78 /games/sdlquake2/files/patch-gl_image.c
parentUpdate converters/wkhtmltopdf to 0.12.3.2 (diff)
Remove expired ports without open PRs:
2016-07-04 security/openpgpsdk: Broken for more than 6 months 2016-07-04 security/radiusniff: Broken for more than 6 months 2016-07-04 security/pear-Auth_OpenID: Broken for more than 6 months 2016-07-04 security/sshit: Broken for more than 6 months 2016-07-04 security/ifd-slb_rf60: Broken for more than 6 months 2016-07-04 security/rainbowcrack: Broken for more than 6 months 2016-07-04 security/vlog: Broken for more than 6 months 2016-07-04 security/cryptstring: Broken for more than 6 months 2016-07-04 x11/libdnd: Broken for more than 6 months 2016-07-04 x11/xlupe: Broken for more than 6 months 2016-07-04 x11/xco: Broken for more than 6 months 2016-07-04 x11/xclick: Broken for more than 6 months 2016-07-04 devel/ocfpcsc: Broken for more than 6 months 2016-07-04 devel/dits: Broken for more than 6 months 2016-07-04 devel/ruby-cache: Broken for more than 6 months 2016-07-04 devel/rapidsvn: Broken for more than 6 months 2016-07-04 devel/svnkit: Broken for more than 6 months 2016-07-04 devel/py-EnthoughtBase: Broken for more than 6 months 2016-07-04 devel/cl-uffi: Broken for more than 6 months 2016-07-04 devel/ruby-event-loop: Broken for more than 6 months 2016-07-04 devel/libqxt: Broken for more than 6 months 2016-07-04 devel/dasm: Broken for more than 6 months 2016-07-04 devel/libopendaap: Broken for more than 6 months 2016-07-04 devel/cl-uffi-sbcl: Depends on expiring devel/cl-uffi 2016-07-04 devel/cvs2p4: Broken for more than 6 months 2016-07-04 devel/bufferpool: Broken for more than 6 months 2016-07-04 devel/ifd-test: Broken for more than 6 months 2016-07-04 devel/eric4: Broken for more than 6 months 2016-07-04 devel/uclmmbase: Broken for more than 6 months 2016-07-04 devel/obfuscatejs: Broken for more than 6 months 2016-07-04 devel/oniguruma: Broken for more than 6 months 2016-07-04 devel/libbnr: Broken for more than 6 months 2016-07-04 devel/c4: Broken for more than 6 months 2016-07-04 devel/memcheck: Broken for more than 6 months 2016-07-04 devel/liblcfg: Broken for more than 6 months 2016-07-04 devel/omake: Broken for more than 6 months 2016-07-04 devel/svndelta: Broken for more than 6 months 2016-07-04 devel/papp: Broken for more than 6 months 2016-07-04 devel/mk: Broken for more than 6 months 2016-07-04 devel/avltree: Broken for more than 6 months 2016-07-04 devel/cbind: Broken for more than 6 months 2016-07-04 devel/tclgetopts: Broken for more than 6 months 2016-07-04 devel/antlrworks: Broken for more than 6 months 2016-07-04 devel/acme: Broken for more than 6 months 2016-07-04 devel/libopensync022: Broken for more than 6 months 2016-07-04 archivers/epkg: Broken for more than 6 months 2016-07-04 print/enscriptfonts: Broken for more than 6 months 2016-07-04 print/mup: Broken for more than 6 months 2016-07-04 lang/lua-mode.el: Broken for more than 6 months 2016-07-04 lang/s9fes: Broken for more than 6 months 2016-07-04 lang/alisp: Broken for more than 6 months 2016-07-04 lang/intel2gas: Broken for more than 6 months 2016-07-04 lang/stalin: Broken for more than 6 months 2016-07-04 french/eric4: Depends on expiring devel/eric4 2016-07-04 textproc/exslt: Broken for more than 6 months 2016-07-04 textproc/xt: Broken for more than 6 months 2016-07-04 textproc/ssddiff: Broken for more than 6 months 2016-07-04 textproc/xslint: Broken for more than 6 months 2016-07-04 textproc/cbedic: Broken for more than 6 months 2016-07-04 textproc/tralics: Broken for more than 6 months 2016-07-04 textproc/docbookide.el: Broken for more than 6 months 2016-07-04 textproc/glpi-plugins-AdditionalReports: Broken for more than 6 months 2016-07-04 textproc/tdhkit: Broken for more than 6 months 2016-07-04 textproc/p5-Groonga-API: Broken for more than 6 months 2016-07-04 textproc/glpi-plugins-DataInjection: Broken for more than 6 months 2016-07-04 dns/ldnsm: Broken for more than 6 months 2016-07-04 japanese/guesswork-classic: Broken for more than 6 months 2016-07-04 japanese/texinfo: Broken for more than 6 months 2016-07-04 japanese/jyuroku: Broken for more than 6 months 2016-07-04 japanese/mtools: Broken for more than 6 months 2016-07-04 palm/pdbar: Broken for more than 6 months 2016-07-04 graphics/gplot: Broken for more than 6 months 2016-07-04 graphics/white_dune: Broken for more than 6 months 2016-07-04 graphics/whirlgif: Broken for more than 6 months 2016-07-04 graphics/libaux: Broken for more than 6 months 2016-07-04 graphics/import-pictures: Broken for more than 6 months 2016-07-04 math/xgobi: Broken for more than 6 months 2016-07-04 math/fricas: Broken for more than 6 months 2016-07-04 math/dcdflib: Broken for more than 6 months 2016-07-04 math/libneural: Broken for more than 6 months 2016-07-04 math/open-axiom: Broken for more than 6 months 2016-07-04 irc/nefarious: Broken for more than 6 months 2016-07-04 irc/slirc: Broken for more than 6 months 2016-07-04 irc/ratbox-respond: Broken for more than 6 months 2016-07-04 irc/qwebirc: Broken for more than 6 months 2016-07-04 biology/platon: Broken for more than 6 months 2016-07-04 news/slnr: Broken for more than 6 months 2016-07-04 science/jmol: Broken for more than 6 months 2016-07-04 net/nstxd: Broken for more than 6 months 2016-07-04 net/sprinkle: Broken for more than 6 months 2016-07-04 editors/ssam: Broken for more than 6 months 2016-07-04 editors/fb: Broken for more than 6 months 2016-07-04 misc/quotes: Broken for more than 6 months 2016-07-04 misc/boxquote.el: Broken for more than 6 months 2016-07-04 misc/pypanda: Broken for more than 6 months 2016-07-04 misc/cuecat: Broken for more than 6 months 2016-07-04 deskutils/displaycalibrator: Broken for more than 6 months 2016-07-04 german/eric4: Depends on expiring devel/eric4 2016-07-04 multimedia/vic: Depends on expiring devel/uclmmbase 2016-07-04 multimedia/ggrab: Broken for more than 6 months 2016-07-04 emulators/dynamips: Broken for more than 6 months 2016-07-04 emulators/dynamips-devel: Broken for more than 6 months 2016-07-04 emulators/sim6811: Broken for more than 6 months 2016-07-04 emulators/minivmac: Broken for more than 6 months 2016-07-04 cad/qcad-partslib: Broken for more than 6 months 2016-07-04 comms/dump1090_mr: Broken for more than 6 months 2016-07-04 x11-fm/asfiles: Depends on expiring x11/libdnd 2016-07-04 x11-fonts/fonts-te: Broken for more than 6 months 2016-07-04 sysutils/rsyncmanager: Broken for more than 6 months 2016-07-04 sysutils/jfbterm: Broken for more than 6 months 2016-07-04 sysutils/daedalus: Broken for more than 6 months 2016-07-04 sysutils/pcfclock: Broken for more than 6 months 2016-07-04 sysutils/vlogger: Broken for more than 6 months 2016-07-04 sysutils/bontmia: Broken for more than 6 months 2016-07-04 mail/pop3gwd: Broken for more than 6 months 2016-07-04 mail/mailtray: Broken for more than 6 months 2016-07-04 mail/pflogstats: Broken for more than 6 months 2016-07-04 mail/exact: Broken for more than 6 months 2016-07-04 mail/wmpop3: Broken for more than 6 months 2016-07-04 mail/qmail-conf: Broken for more than 6 months 2016-07-04 mail/gld: Broken for more than 6 months 2016-07-04 mail/dsbl-testers: Broken for more than 6 months 2016-07-04 mail/vqregister: Broken for more than 6 months 2016-07-04 mail/atmail: Broken for more than 6 months 2016-07-04 mail/ml: Broken for more than 6 months 2016-07-04 net-im/icb: Broken for more than 6 months 2016-07-04 net-im/cicquin: Broken for more than 6 months 2016-07-04 net-im/pidgin-manualsize: Broken for more than 6 months 2016-07-04 net-im/pidgin-rhythmbox: Broken for more than 6 months 2016-07-04 russian/eric4: Depends on expiring devel/eric4 2016-07-04 russian/fortune-bashorgru: Broken for more than 6 months 2016-07-04 www/xpi-clearfields: Broken for more than 6 months 2016-07-04 www/pecl-varnish: Broken for more than 6 months 2016-07-04 www/py-requests-oauth-hook: Broken for more than 6 months 2016-07-04 www/hudson: Broken for more than 6 months 2016-07-04 www/xpi-mldonkey: Broken for more than 6 months 2016-07-04 www/xpi-cookiesafe: Broken for more than 6 months 2016-07-04 www/trac-mastertickets: Broken for more than 6 months 2016-07-04 www/dotclear: Broken for more than 6 months 2016-07-04 www/ruby-wgettsv: Broken for more than 6 months 2016-07-04 www/wwwstat: Broken for more than 6 months 2016-07-04 www/xpi-prism: Broken for more than 6 months 2016-07-04 www/xpi-fasterfox: Broken for more than 6 months 2016-07-04 www/siteframe: Broken for more than 6 months 2016-07-04 www/py-urljr: Broken for more than 6 months 2016-07-04 www/reviewboard: Broken for more than 6 months 2016-07-04 www/xpi-tabletools: Broken for more than 6 months 2016-07-04 www/wikindx: Broken for more than 6 months 2016-07-04 www/typolight: Broken for more than 6 months 2016-07-04 www/varnish-libvmod-header: Broken for more than 6 months 2016-07-04 www/xpi-gbrain: Broken for more than 6 months 2016-07-04 www/trac-robotstxt: Broken for more than 6 months 2016-07-04 www/simplog: Broken for more than 6 months 2016-07-04 www/chtml: Broken for more than 6 months 2016-07-04 databases/postgresql_autodoc: Broken for more than 6 months 2016-07-04 databases/oracle_odbc_driver: Broken for more than 6 months 2016-07-04 databases/mysql-xql: Broken for more than 6 months 2016-07-04 databases/mysql-udf-sys: Broken for more than 6 months 2016-07-04 games/lucidlife: Broken for more than 6 months 2016-07-04 games/gma: Broken for more than 6 months 2016-07-04 games/smiley: Broken for more than 6 months 2016-07-04 games/noegnud-littlehack: Broken for more than 6 months 2016-07-04 games/sdlquake2: Broken for more than 6 months 2016-07-04 games/daimonin: Depends on expiring games/daimonin-music 2016-07-04 games/noegnud-nethack: Broken for more than 6 months 2016-07-04 games/xbomber: Broken for more than 6 months 2016-07-04 games/xwelltris: Broken for more than 6 months 2016-07-04 games/ftjava: Broken for more than 6 months 2016-07-04 games/daimonin-music: Broken for more than 6 months 2016-07-04 games/gno3dtet: Broken for more than 6 months 2016-07-04 games/qtv: Broken for more than 6 months 2016-07-04 games/xwordpy: Broken for more than 6 months 2016-07-04 games/netris: Broken for more than 6 months 2016-07-04 games/rt2-demo: Broken for more than 6 months 2016-07-04 games/noegnud-addons: Broken for more than 6 months 2016-07-04 games/noegnud-nethack-deet: Broken for more than 6 months 2016-07-04 games/live-f1: Broken for more than 6 months 2016-07-04 games/xonix: Broken for more than 6 months 2016-07-04 games/fgkicker: Broken for more than 6 months 2016-07-04 games/tank: Depends on expiring graphics/libaux 2016-07-04 games/linux-nwserver: Broken for more than 6 months 2016-07-04 games/quake2-zaero: Broken for more than 6 months 2016-07-04 games/pyching: Broken for more than 6 months 2016-07-04 games/thevalley: Broken for more than 6 months 2016-07-04 games/xroads: Broken for more than 6 months 2016-07-04 games/fxsudoku: Broken for more than 6 months 2016-07-04 games/sudoku: Broken for more than 6 months 2016-07-04 games/kmancala: Broken for more than 6 months 2016-07-04 games/plonx: Broken for more than 6 months 2016-07-04 games/wmminichess: Broken for more than 6 months 2016-07-04 games/noegnud-slashem: Broken for more than 6 months 2016-07-04 games/latrine: Broken for more than 6 months 2016-07-04 games/pysycache-themes: Broken for more than 6 months 2016-07-04 games/nibbles: Broken for more than 6 months 2016-07-04 games/hlstatsx: Broken for more than 6 months 2016-07-04 audio/streamtuner: Broken for more than 6 months 2016-07-04 audio/mangler: Broken for more than 6 months 2016-07-04 audio/hawkvoice: Broken for more than 6 months 2016-07-04 audio/alac: Broken for more than 6 months 2016-07-04 x11-wm/e-module-mpdule: Broken for more than 6 months 2016-07-04 x11-wm/e-module-tclock: Broken for more than 6 months 2016-07-04 x11-wm/musca: Broken for more than 6 months 2016-07-04 x11-wm/e-module-places: Broken for more than 6 months 2016-07-04 x11-wm/e-module-forecasts: Broken for more than 6 months 2016-07-04 x11-wm/e-module-net: Broken for more than 6 months 2016-07-04 x11-wm/e-module-penguins: Broken for more than 6 months 2016-07-04 ftp/fget: Broken for more than 6 months 2016-07-04 net-mgmt/netmond: Broken for more than 6 months 2016-07-04 net-mgmt/ipfm: Broken for more than 6 months
Notes
Notes: svn path=/head/; revision=418057
Diffstat (limited to 'games/sdlquake2/files/patch-gl_image.c')
-rw-r--r--games/sdlquake2/files/patch-gl_image.c113
1 files changed, 0 insertions, 113 deletions
diff --git a/games/sdlquake2/files/patch-gl_image.c b/games/sdlquake2/files/patch-gl_image.c
deleted file mode 100644
index 82d14970163f..000000000000
--- a/games/sdlquake2/files/patch-gl_image.c
+++ /dev/null
@@ -1,113 +0,0 @@
---- gl_image.c.orig 2005-05-19 20:56:13 UTC
-+++ gl_image.c
-@@ -555,7 +555,7 @@ typedef struct {
- size_t Pos;
- } TPngFileBuffer;
-
--void __cdecl PngReadFunc(png_struct *Png, png_bytep buf, png_size_t size)
-+void PngReadFunc(png_struct *Png, png_bytep buf, png_size_t size)
- {
- TPngFileBuffer *PngFileBuffer=(TPngFileBuffer*)png_get_io_ptr(Png);
- memcpy(buf,PngFileBuffer->Buffer+PngFileBuffer->Pos,size);
-@@ -621,7 +621,7 @@ void LoadPNG (const char *name, byte **p
-
- png_read_info(png_ptr, info_ptr);
-
-- if (info_ptr->height > MAX_TEXTURE_DIMENSIONS)
-+ if (png_get_image_height(png_ptr, info_ptr) > MAX_TEXTURE_DIMENSIONS)
- {
- png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL);
- ri.FS_FreeFile (PngFileBuffer.Buffer);
-@@ -629,28 +629,28 @@ void LoadPNG (const char *name, byte **p
- return;
- }
-
-- if (info_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
-+ if (png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_PALETTE)
- {
- png_set_palette_to_rgb (png_ptr);
- png_set_filler(png_ptr, 0xFF, PNG_FILLER_AFTER);
- }
-
-- if (info_ptr->color_type == PNG_COLOR_TYPE_RGB)
-+ if (png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_RGB)
- png_set_filler(png_ptr, 0xFF, PNG_FILLER_AFTER);
-
-- if ((info_ptr->color_type == PNG_COLOR_TYPE_GRAY) && info_ptr->bit_depth < 8)
-+ if ((png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_GRAY) && png_get_bit_depth(png_ptr, info_ptr) < 8)
- png_set_gray_1_2_4_to_8(png_ptr);
-
- if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS))
- png_set_tRNS_to_alpha(png_ptr);
-
-- if (info_ptr->color_type == PNG_COLOR_TYPE_GRAY || info_ptr->color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
-+ if (png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_GRAY || png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_GRAY_ALPHA)
- png_set_gray_to_rgb(png_ptr);
-
-- if (info_ptr->bit_depth == 16)
-+ if (png_get_bit_depth(png_ptr, info_ptr) == 16)
- png_set_strip_16(png_ptr);
-
-- if (info_ptr->bit_depth < 8)
-+ if (png_get_bit_depth(png_ptr, info_ptr) < 8)
- png_set_packing(png_ptr);
-
- if (png_get_gAMA(png_ptr, info_ptr, &file_gamma))
-@@ -660,15 +660,15 @@ void LoadPNG (const char *name, byte **p
-
- rowbytes = png_get_rowbytes(png_ptr, info_ptr);
-
-- *pic = malloc (info_ptr->height * rowbytes);
-+ *pic = malloc (png_get_image_height(png_ptr, info_ptr) * rowbytes);
-
-- for (i = 0; i < info_ptr->height; i++)
-+ for (i = 0; i < png_get_image_height(png_ptr, info_ptr); i++)
- row_pointers[i] = *pic + i*rowbytes;
-
- png_read_image(png_ptr, row_pointers);
-
-- *width = info_ptr->width;
-- *height = info_ptr->height;
-+ *width = png_get_image_width(png_ptr, info_ptr);
-+ *height = png_get_image_height(png_ptr, info_ptr);
-
- png_read_end(png_ptr, end_info);
- png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
-@@ -1007,24 +1007,24 @@ NiceAss: Code from Q2Ice
- =================================================================
- */
-
--void __cdecl jpg_null(j_decompress_ptr cinfo)
-+void jpg_null(j_decompress_ptr cinfo)
- {
- }
-
--unsigned char __cdecl jpg_fill_input_buffer(j_decompress_ptr cinfo)
-+unsigned char jpg_fill_input_buffer(j_decompress_ptr cinfo)
- {
- ri.Con_Printf(PRINT_ALL, "Premature end of JPEG data\n");
- return 1;
- }
-
--void __cdecl jpg_skip_input_data(j_decompress_ptr cinfo, long num_bytes)
-+void jpg_skip_input_data(j_decompress_ptr cinfo, long num_bytes)
- {
-
- cinfo->src->next_input_byte += (size_t) num_bytes;
- cinfo->src->bytes_in_buffer -= (size_t) num_bytes;
- }
-
--void jpeg_mem_src(j_decompress_ptr cinfo, byte *mem, int len)
-+void local_jpeg_mem_src(j_decompress_ptr cinfo, byte *mem, int len)
- {
- cinfo->src = (struct jpeg_source_mgr *)(*cinfo->mem->alloc_small)((j_common_ptr) cinfo, JPOOL_PERMANENT, sizeof(struct jpeg_source_mgr));
- cinfo->src->init_source = jpg_null;
-@@ -1065,7 +1065,7 @@ void LoadJPG (const char *filename, byte
-
- cinfo.err = jpeg_std_error(&jerr);
- jpeg_create_decompress(&cinfo);
-- jpeg_mem_src(&cinfo, rawdata, rawsize);
-+ local_jpeg_mem_src(&cinfo, rawdata, rawsize);
- jpeg_read_header(&cinfo, true);
- jpeg_start_decompress(&cinfo);
-