How to install a .patch file

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
JWVD
New Cone
New Cone
Posts: 2
Joined: 19 Apr 2010 19:19

How to install a .patch file

Postby JWVD » 19 Apr 2010 19:28

Hi guys,

I have a patch file (http://techblog.unwiredappeal.com/2010/ ... patch.html), but I have no idea how to use it... Can't find anything on the internet. I tried to compile it while I pasted it into extras/contrib/src/Patches, but it didn't work, the --enable-livehttp argument said that it was invalid. Any idea how to get started? I'm running Mac OS X 10.6.2...

Thanks in advance,

Joost

Rémi Denis-Courmont
Developer
Developer
Posts: 15328
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How to install a .patch file

Postby Rémi Denis-Courmont » 19 Apr 2010 21:24

Go to the main VLC source directory, then run

Code: Select all

patch -p1 < PATH/vlc-livehttp.patch
and the proceed with compilation as normal.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

JWVD
New Cone
New Cone
Posts: 2
Joined: 19 Apr 2010 19:19

Re: How to install a .patch file

Postby JWVD » 20 Apr 2010 17:17

Thanks! Gonna try it soon, lets hope it works :)

Sandrine
New Cone
New Cone
Posts: 1
Joined: 10 Jun 2010 01:23

Re: How to install a .patch file

Postby Sandrine » 10 Jun 2010 01:36

I'm trying to patch my vlc application installed on mac OS , but I still have this problem
In my application, I have the contents folder, in which there are
Info.plist MacOS PkgInfo Resources
I tried the command, but I received the following error
patch -p1 < /Users/sandrine/Desktop/vlc-livehttp.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/modules/access_output/Modules.am b/modules/access_output/Modules.am
|index de6c5b5..6b12fd4 100644
|--- a/modules/access_output/Modules.am
|+++ b/modules/access_output/Modules.am
--------------------------
File to patch:

Could you please tell me which folder to choose ?
Thank you in advance

SANDRINE


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 30 guests