summaryrefslogtreecommitdiff
path: root/graphics/xmrm/files/patch-xmrm_mpeg_main.cc
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2011-10-09 02:47:51 +0000
committerDoug Barton <dougb@FreeBSD.org>2011-10-09 02:47:51 +0000
commitc3ef22e5074da76f3c1ee829ef48d204ce040fc8 (patch)
treee774af268961483556ceccc49ef1a585f2e45ce0 /graphics/xmrm/files/patch-xmrm_mpeg_main.cc
parent- Upgrade to 0.12. (diff)
Remove ports maintainted by ports@ which have passed their EXPIRATION_DATE
astro/gkrellsun Abandonware astro/xrmap No more distfiles audio/midimountain Abandonware audio/gkrellmss Abandonware audio/gnapster Abandonware databases/xbase No more public distfiles databases/xbsql No more public distfiles games/gtkabale No more public distfiles games/battleball No more public distfiles, does not compile on ia64 or sparc64 games/race No more public distfiles games/stvef-paks No more public distfiles games/stvef-server No more public distfiles games/tome No more public distfiles games/qkmj No more public distfiles games/oilwar No more public distfiles games/xbaby No more public distfiles games/xword Abandonware games/kslide No more public distfiles graphics/xmrm No more public distfiles, does not compile on amd64 or sparc64 graphics/giftrans Upstream disappeared and distfile is not available graphics/wildmagic BROKEN for more than 6 months, does not fetch irc/ircd-rusnet No more public distfiles irc/tkirc No more public distfiles korean/mizifont No more public distfiles lang/freetxl No more public distfiles math/nsc2ke No more public distfiles misc/mgp-mode.el No more public distfiles multimedia/p5-RIFF-Info No more public distfiles net/p5-Net-OpenDHT No more public distfiles net/mudix No more public distfiles net-im/newsbot No more public distfiles net-im/libicq2000 Abandonware net-im/gossip No longer maintain by upstream, use net-im/empathy instead net-im/ickle Abandonware net-mgmt/nipper BROKEN for more than 6 month, does not fetch net-p2p/mldonkey-serverspy No more public distfiles news/p5-Gateway No more public distfiles print/epsmerge No more public distfiles science/at No more public distfiles science/pyvox No more public distfiles security/p5-Email-Obfuscate No more public distfiles security/libparanoia No more public distfiles security/execwrap No more public distfiles
Diffstat (limited to 'graphics/xmrm/files/patch-xmrm_mpeg_main.cc')
-rw-r--r--graphics/xmrm/files/patch-xmrm_mpeg_main.cc75
1 files changed, 0 insertions, 75 deletions
diff --git a/graphics/xmrm/files/patch-xmrm_mpeg_main.cc b/graphics/xmrm/files/patch-xmrm_mpeg_main.cc
deleted file mode 100644
index 618f0b081b80..000000000000
--- a/graphics/xmrm/files/patch-xmrm_mpeg_main.cc
+++ /dev/null
@@ -1,75 +0,0 @@
---- xmrm_mpeg_main.cc.orig Tue Mar 10 07:00:00 1998
-+++ xmrm_mpeg_main.cc Sun Nov 13 16:25:33 2005
-@@ -8,6 +8,7 @@
- #include <forms.h>
- #include <unistd.h>
- #include "xmrm_mpeg.h"
-+#include "const.h"
-
- #define MAX_PIC_NUM 999
- #define BORDER_WIDTH -1
-@@ -50,11 +51,11 @@
- //------------------------------
- names_n_numbers::names_n_numbers()
- {
-- START_Frame = NULL;
-- START_fname_only = NULL;
-- END_Frame = NULL;
-+ START_Frame = (char*)NULL;
-+ START_fname_only = (char*)NULL;
-+ END_Frame = (char*)NULL;
-
-- filename_ppm = filename_yuv = extension = NULL;
-+ filename_ppm = filename_yuv = extension = (char*)NULL;
-
- abs_count = first_width = first_height = start_number = 0;
- end_number = MAX_PIC_NUM;
-@@ -68,7 +69,7 @@
- {
- int count = 0;
-
-- backup_class->number_str = ".000.";
-+ strcpy(backup_class->number_str, ".000.");
-
- while ( !(*ext = strstr(fname_only,backup_class->number_str)) && (count <= MAX_PIC_NUM) )
- {
-@@ -329,7 +330,7 @@
- TIFFSetField(tif,TIFFTAG_IMAGELENGTH,even_height);
- TIFFSetField(tif,TIFFTAG_BITSPERSAMPLE,8);
- TIFFSetField(tif,TIFFTAG_SAMPLESPERPIXEL,4);
-- TIFFSetField(tif,TIFFTAG_COMPRESSION,COMPRESSION_LZW); // free for non-commercial use (so I read)
-+ TIFFSetField(tif,TIFFTAG_COMPRESSION,COMPRESSION_DEFLATE);
- TIFFSetField(tif,TIFFTAG_PLANARCONFIG,PLANARCONFIG_CONTIG);
- TIFFSetField(tif,TIFFTAG_PHOTOMETRIC,PHOTOMETRIC_RGB);
- TIFFSetField(tif,TIFFTAG_ORIENTATION,ORIENTATION_TOPLEFT);
-@@ -417,7 +418,7 @@
- // Check for even picture size
- if ( (tif_w % 2) || (tif_h % 2) )
- {
-- work_class->even = ".even";
-+ strcpy(work_class->even,".even");
- if ( Even_Size( tif, tif_w, tif_h) )
- return 1;
- }
-@@ -713,8 +714,8 @@
- break;
-
- case 2: // Choose Start/Stop Frame
-- backup_class->START_Frame = NULL;
-- backup_class->END_Frame = NULL;
-+ backup_class->START_Frame = (char*)NULL;
-+ backup_class->END_Frame = (char*)NULL;
-
- fl_hide_object(fd_CREATE_MPEG->BT_Go);
-
-@@ -786,8 +787,8 @@
- }
-
- // redirect TIFF-Error- and Warnig-Handler
-- (void) TIFFSetErrorHandler(NULL);
-- (void) TIFFSetWarningHandler(NULL);
-+ (TIFFErrorHandler) TIFFSetErrorHandler((TIFFErrorHandler)NULL);
-+ (TIFFErrorHandler) TIFFSetWarningHandler((TIFFErrorHandler)NULL);
-
- // show the first form
- fl_hide_object(fd_CREATE_MPEG->BT_Go);