Mercurial > mxe-octave
view src/mingw-epstool-1-fixes.patch @ 6503:bf4a0944be3a
* src/mpg123.mk: update to v1.31.1
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Thu, 03 Nov 2022 16:24:05 -0400 |
parents | 86d65a780bab |
children |
line wrap: on
line source
diff -urN epstool-3.08.orig/makefile epstool-3.08/makefile --- epstool-3.08.orig/makefile 2015-01-05 19:01:34.000000000 -0500 +++ epstool-3.08/makefile 2015-01-05 19:54:45.000000000 -0500 @@ -34,10 +34,12 @@ LONGFILEDEF= LONGFILEMOD=cfile +WGSVERMOD=wgsver -include $(SRCDIR)/unixcom.mak +#include $(SRCDIR)/unixcom.mak +include $(SRCDIR)/mingwcom.mak -EPSOBJPLAT=$(OD)xnodll$(OBJ) $(OD)$(LONGFILEMOD)$(OBJ) +EPSOBJPLAT=$(OD)xnodll$(OBJ) $(OD)$(LONGFILEMOD)$(OBJ) $(OD)$(WGSVERMOD)$(OBJ) EPSLIB=$(LIBPNGLIBS) BEGIN=$(OD)lib.rsp @@ -45,7 +47,7 @@ include $(SRCDIR)/common.mak -EPSTOOL_ROOT=/usr/local +EPSTOOL_ROOT=/ EPSTOOL_BASE=$(prefix)$(EPSTOOL_ROOT) EPSTOOL_DOCDIR=$(EPSTOOL_BASE)/share/doc/epstool-$(EPSTOOL_VERSION) EPSTOOL_MANDIR=$(EPSTOOL_BASE)/man diff -urN epstool-3.08.orig/src/mingwcom.mak epstool-3.08/src/mingwcom.mak --- epstool-3.08.orig/src/mingwcom.mak 1969-12-31 19:00:00.000000000 -0500 +++ epstool-3.08/src/mingwcom.mak 2015-01-05 20:00:18.000000000 -0500 @@ -0,0 +1,61 @@ +# Copyright (C) 2002-2005 Ghostgum Software Pty Ltd. All rights reserved. +# +# This software is provided AS-IS with no warranty, either express or +# implied. +# +# This software is distributed under licence and may not be copied, +# modified or distributed except as expressly authorised under the terms +# of the licence contained in the file LICENCE in this distribution. +# +# For more information about licensing, please refer to +# http://www.ghostgum.com.au/ or contact Ghostsgum Software Pty Ltd, +# 218 Gallaghers Rd, Glen Waverley VIC 3150, AUSTRALIA, +# Fax +61 3 9886 6616. +# + +# $Id: unixcom.mak,v 1.2 2005/01/11 11:40:19 ghostgum Exp $ +# Unix mingw makefile + + +INSTALL=install -m 644 +INSTALL_EXE=install -m 755 + +MAKE=make +CDEFS=-DNONAG $(LONGFILEDEF) +GSCDEBUG= -g +GSCFLAGS= $(CDEFS) -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -fno-builtin -fno-common -Wcast-qual -Wwrite-strings $(CDEBUG) $(GSCDEBUG) $(RPM_OPT_FLAGS) $(XINCLUDE) $(PFLAGS) $(LIBPNGCFLAGS) $(GTKCFLAGS) -I$(SRCWIN) +CCAUX=$(TOOL_PREFIX)gcc +CC=$(TOOL_PREFIX)gcc +LFLAGS=$(PLINK) $(LIBPNGLIBS) $(GTKLIBS) +CLINK=$(CC) $(LDFLAGS) +LINK=$(CC) $(LDFLAGS) + + +COMP=$(CC) -I$(SRCDIR) -I$(OBJDIR) $(CFLAGS) $(GSCFLAGS) + + +NUL= +DD=/$(NUL) +SRC=$(SRCDIR)/$(NUL) +SRCWIN=$(SRCWINDIR)/$(NUL) +OD=$(OBJDIR)/$(NUL) +BD=$(BINDIR)/$(NUL) +OBJ=.o +EXE=.exe +CO=-c + +FE=-o $(NUL) +FO=-o $(NUL) +FEO=-o $(OD) +FOO=-o $(OD) + +CP=cp -f +RM=rm -f +RMDIR=rm -rf + +default: $(BD)epstool$(EXE) + +$(OD)wgsver$(OBJ): $(SRCWIN)wgsver.c $(common_h) $(cdll_h) + $(COMP) $(FOO)wgsver$(OBJ) $(CO) $(SRCWIN)wgsver.c + +