pngquant-1.0.diff

来自「神龙解压卡Linux下的完整开发包,绝对是超值超值超值」· DIFF 代码 · 共 41 行

DIFF
41
字号
diff -Naur pngquant-1.0.original/Makefile.unx pngquant-1.0/Makefile.unx--- pngquant-1.0.original/Makefile.unx	2002-10-22 10:54:15.000000000 -0700+++ pngquant-1.0/Makefile.unx	2002-10-22 11:00:49.000000000 -0700@@ -3,17 +3,9 @@  CC=gcc -PNGINC = ../libpng-PNGLIB = ../libpng+CFLAGS = -O3 -Wall -funroll-loops -fomit-frame-pointer -ZINC = ../zlib-ZLIB = ../zlib--CFLAGS = -O3 -Wall -I. -I$(PNGINC) -I$(ZINC) -funroll-loops -fomit-frame-pointer--#LDFLAGS = -L$(PNGLIB) -lpng -L$(ZLIB) -lz -lm-LDFLAGS = $(PNGLIB)/libpng.a -L$(ZLIB) -lz -lm-#LDFLAGS = $(PNGLIB)/libpng.a $(ZLIB)/libz.a -lm+LDFLAGS = -lpng -lz -lm  OBJS = pngquant.o rwpng.o  diff -Naur pngquant-1.0.original/pngquant.c pngquant-1.0/pngquant.c--- pngquant-1.0.original/pngquant.c	2002-10-22 10:54:15.000000000 -0700+++ pngquant-1.0/pngquant.c	2002-10-22 10:55:56.000000000 -0700@@ -620,9 +620,10 @@         fflush(stderr);     }     for (top_idx = newcolors-1, bot_idx = x = 0;  x < newcolors;  ++x) {-        if (PAM_GETA(acolormap[x].acolor) == maxval)-            remap[x] = top_idx--;-        else+       	    /* REALmagic France patch. We want color palette and trans palette to have the */+	    /* same number of entries. if (PAM_GETA(acolormap[x].acolor) == maxval) */+	    /*             remap[x] = top_idx--; */+	    /*         else */             remap[x] = bot_idx++;     }     if (verbose) {

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?