diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-16 11:57:19 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-16 11:57:19 +0000 |
commit | 61f62e5edc868fc4ae3b92af397397ee5056578a (patch) | |
tree | 81261ca75a34aa85973eeb3cd828878c4e72bcee /dev-tcltk/snack/files | |
parent | 433cb2e828d414c74b16d429f40d25e179b0a70f (diff) |
gentoo auto-resync : 16:01:2023 - 11:57:19
Diffstat (limited to 'dev-tcltk/snack/files')
-rw-r--r-- | dev-tcltk/snack/files/snack-2.2.10-implicit.patch | 92 | ||||
-rw-r--r-- | dev-tcltk/snack/files/snack-2.2.10-parallelMake.patch | 20 |
2 files changed, 112 insertions, 0 deletions
diff --git a/dev-tcltk/snack/files/snack-2.2.10-implicit.patch b/dev-tcltk/snack/files/snack-2.2.10-implicit.patch new file mode 100644 index 000000000000..965b1af0dbe2 --- /dev/null +++ b/dev-tcltk/snack/files/snack-2.2.10-implicit.patch @@ -0,0 +1,92 @@ +--- a/generic/sigproc2.c 2023-01-16 08:03:06.605091947 +0100 ++++ b/generic/sigproc2.c 2023-01-16 08:11:03.641089339 +0100 +@@ -465,9 +465,7 @@ + } + + /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ +-int get_window(dout, n, type) +- register double *dout; +- register int n; ++int get_window(register double *dout, register int n, int type) + { + static short *din = NULL; + static int n0 = 0; +@@ -506,9 +504,7 @@ + } + + /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ +-int get_float_window(fout, n, type) +- register float *fout; +- register int n; ++int get_float_window(register float *fout, register int n, int type) + { + static int n0 = 0; + static double *dout = NULL; +@@ -533,10 +529,7 @@ + } + + /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ +-int fwindow(din, dout, n, preemp, type) +- register short *din; +- register float *dout, preemp; +- register int n; ++int fwindow(register short *din, register float *dout, register int n, register float preemp, int type) + { + static float *fwind=NULL; + static int size=0, otype= (-100); +@@ -572,10 +565,7 @@ + + /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ + /* same as fwindow() but input is float */ +-int fwindow_f(din, dout, n, preemp, type) +- register float *din; +- register float *dout, preemp; +- register int n; ++int fwindow_f(register float *din, register float *dout, register int n, register float preemp, int type) + { + static float *fwind=NULL; + static int size=0, otype= (-100); +@@ -611,10 +601,7 @@ + + /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ + /* same as fwindow() but I/O is double */ +-int fwindow_d(din, dout, n, preemp, type) +- register double *din; +- register double *dout, preemp; +- register int n; ++int fwindow_d(register double *din, register double *dout, register int n, register double preemp, int type) + { + static float *fwind=NULL; + static int size=0, otype= (-100); +@@ -651,10 +638,7 @@ + + + /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ +-void w_window(din, dout, n, preemp, type) +- register short *din; +- register double *dout, preemp; +- register int n; ++void w_window(register short *din, register double *dout, register int n, register double preemp, int type) + { + switch(type) { + case 0: +--- a/generic/jkCanvSpeg.c 2023-01-16 08:25:51.880415841 +0100 ++++ b/generic/jkCanvSpeg.c 2023-01-16 08:26:43.667561725 +0100 +@@ -92,7 +92,7 @@ + Tk_Window tkwin, CONST84 char *value, char *recordPtr, + int offset); + +-static char *PrintColorMap(ClientData clientData, Tk_Window tkwin, ++static const char *PrintColorMap(ClientData clientData, Tk_Window tkwin, + char *recordPtr, int offset, + Tcl_FreeProc **freeProcPtr); + +@@ -1797,7 +1797,7 @@ + return TCL_OK; + } + +-static char* ++static const char* + PrintColorMap(ClientData clientData, Tk_Window tkwin, char *recordPtr, + int offset, Tcl_FreeProc **freeProcPtr) + { diff --git a/dev-tcltk/snack/files/snack-2.2.10-parallelMake.patch b/dev-tcltk/snack/files/snack-2.2.10-parallelMake.patch new file mode 100644 index 000000000000..53e79c0f1eff --- /dev/null +++ b/dev-tcltk/snack/files/snack-2.2.10-parallelMake.patch @@ -0,0 +1,20 @@ +--- a/unix/Makefile.in 2023-01-16 08:39:23.021056229 +0100 ++++ b/unix/Makefile.in 2023-01-16 08:40:31.485926112 +0100 +@@ -290,7 +290,7 @@ + SphereFile.o: $(GENERIC_DIR)/SphereFile.c + $(CC) -c $(CFLAGS) -DUSE_SNACK_STUBS $(GENERIC_DIR)/SphereFile.c + +-libsnacksphere${SHLIB_SUFFIX}: ${OBJNIST} ++libsnacksphere${SHLIB_SUFFIX}: ${OBJNIST} stublib + ${SHLIB_LD} ${OBJNIST} ${LIBNIST} -o libsnacksphere${SHLIB_SUFFIX} + + LIBOGG = @OGGLIBS@ -lc @TCL_LIB_SPEC@ -L. @SNACK_STUB_LIB_FLAG@ +@@ -299,7 +299,7 @@ + SnackOgg.o: $(GENERIC_DIR)/SnackOgg.c + $(CC) @OGGINC@ -c $(CFLAGS) -DUSE_SNACK_STUBS $(GENERIC_DIR)/SnackOgg.c + +-libsnackogg${SHLIB_SUFFIX}: ${OBJOGG} ++libsnackogg${SHLIB_SUFFIX}: ${OBJOGG} stublib + ${SHLIB_LD} ${OBJOGG} ${LIBOGG} -o libsnackogg${SHLIB_SUFFIX} + + install: |