PDA

View Full Version : 12/12 patch



Newby
12-12-2017, 10:35 PM
structs and opcodes..

battarro1
12-12-2017, 10:57 PM
This patch gives this errors.
[root@localhost showeq]# patch -p0 < 2.txtpatching file conf/zoneopcodes.xml
Hunk #1 FAILED at 3.
Hunk #2 FAILED at 41.
Hunk #3 FAILED at 86.
Hunk #4 FAILED at 123.
Hunk #5 FAILED at 195.
Hunk #6 FAILED at 307.
Hunk #7 FAILED at 367.
Hunk #8 FAILED at 587.
8 out of 8 hunks FAILED -- saving rejects to file conf/zoneopcodes.xml.rej
patching file src/everquest.h
Hunk #1 FAILED at 1096.
Hunk #2 FAILED at 2369.
Hunk #3 FAILED at 2393.
Hunk #4 FAILED at 2408.
4 out of 4 hunks FAILED -- saving rejects to file src/everquest.h.rej

madoc
12-13-2017, 02:45 AM
Works fine for me...

[root@centos7 ~]# svn co https://svn.code.sf.net/p/seq/svn/showeq/trunk showeq
<snip>
Checked out revision 896.
[root@centos7 ~]# cd showeq
[root@centos7 showeq]# patch -p0 < /tmp/diffs-171212.txt
patching file conf/zoneopcodes.xml
patching file src/everquest.h
[root@centos7 showeq]# make -f Makefile.dist build
Removing old files.......................................... done!
Adding libtool support...................................... done!
Adding libtool support...................................... done!
Generating aclocal.m4 from configure.in..................... done!
Generating configure headers (config.h.in).................. done!
Generating Makefile.in from Makefile.am..................... done!
Generating configure from configure.in...................... done!


******************************************
Success! Please type the following:

./configure && make && make install


This will configure, compile, and install
showeq
******************************************
[root@centos7 showeq]# ./configure && make && make install
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
<snip>

grump
12-13-2017, 12:28 PM
Patch applies fine for me.


-=>>patch -p0 < /tmp/diffs-171212.txt
patching file conf/zoneopcodes.xml
patching file src/everquest.h

However I get another error:


-=>>make -f Makefile.dist build
Removing old files.......................................... done!
Adding libtool support......................................make: *** [Makefile.dist:143: config.guess] Error 127

I am running the following:

Fedora 26
GNU Make 4.2.1
GNU patch 2.7.5

battarro1
12-13-2017, 04:03 PM
Can you attach the patched zoneopcodes.xml and everquest.h files?

BlueAdept
12-13-2017, 04:51 PM
SVN and Tarball have been updated.

Thanks Newby!