From b6c2a9f39ea60bdbbbdd3445400c6fe82f414f7a Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Wed, 29 Dec 2010 17:39:27 -0600 Subject: [PATCH] misc/fribid: Uncompressed the patch Signed-off-by: Robby Workman --- misc/fribid/fribid.SlackBuild | 2 +- misc/fribid/seamonkey-nss_compile_fix.patch | 30 ++++++++++++++++++ .../fribid/seamonkey-nss_compile_fix.patch.gz | Bin 666 -> 0 bytes 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 misc/fribid/seamonkey-nss_compile_fix.patch delete mode 100644 misc/fribid/seamonkey-nss_compile_fix.patch.gz diff --git a/misc/fribid/fribid.SlackBuild b/misc/fribid/fribid.SlackBuild index ac186b72bc..ccee7ccaae 100644 --- a/misc/fribid/fribid.SlackBuild +++ b/misc/fribid/fribid.SlackBuild @@ -73,7 +73,7 @@ find . \ -exec chmod 644 {} \; # patch to compile against system nss -zcat $CWD/seamonkey-nss_compile_fix.patch.gz | patch -p1 +patch -p1 < $CWD/seamonkey-nss_compile_fix.patch CFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/misc/fribid/seamonkey-nss_compile_fix.patch b/misc/fribid/seamonkey-nss_compile_fix.patch new file mode 100644 index 0000000000..bfcdb3ce91 --- /dev/null +++ b/misc/fribid/seamonkey-nss_compile_fix.patch @@ -0,0 +1,30 @@ +diff -ur fribid-0.1.2.orig/client/Makefile fribid-0.1.2/client/Makefile +--- fribid-0.1.2.orig/client/Makefile 2010-03-24 00:32:27.000000000 +0100 ++++ fribid-0.1.2/client/Makefile 2010-04-07 21:24:16.000000000 +0200 +@@ -22,10 +22,10 @@ + + CFLAGS ?= -O2 -g + COMMONCFLAGS=$(CFLAGS) -Wall -Wextra -std=c99 -pedantic -Wno-unused-parameter +-CCFLAGS=$(COMMONCFLAGS) -I../npapi/include `pkg-config --cflags 'gtk+-2.0 >= 2.12' glib-2.0 'nss >= 3.10' nspr` -DGTK_DISABLE_DEPRECATED=1 -DGDK_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1 ++CCFLAGS=$(COMMONCFLAGS) -I../npapi/include `pkg-config --cflags 'gtk+-2.0 >= 2.12' glib-2.0 'nss >= 2.0' nspr` -DGTK_DISABLE_DEPRECATED=1 -DGDK_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1 + # You may have to add -lpthread after $(LDFLAGS) on OpenBSD + LINKFLAGS=$(CFLAGS) $(LDFLAGS) -Wl,--as-needed +-LIBS=`pkg-config --libs 'gtk+-2.0 >= 2.12' glib-2.0 'nss >= 3.10' nspr` ++LIBS=`pkg-config --libs 'gtk+-2.0 >= 2.12' glib-2.0 'nss >= 2.0' nspr` + + # Files to be installed + LIB_PATH=`../configure --internal--get-define=LIB_PATH` +Endast i fribid-0.1.2/common: config.h +diff -ur fribid-0.1.2.orig/configure fribid-0.1.2/configure +--- fribid-0.1.2.orig/configure 2010-03-24 00:32:27.000000000 +0100 ++++ fribid-0.1.2/configure 2010-04-07 21:25:17.000000000 +0200 +@@ -171,7 +171,7 @@ + + oldifs=IFS + IFS=";" +-pkgconfigDeps="gtk+-2.0 >= 2.12;glib-2.0;nss >= 3.10;nspr;x11" ++pkgconfigDeps="gtk+-2.0 >= 2.12;glib-2.0;nss >= 2.0;nspr;x11" + + if ! pkg-config --exists $pkgconfigDeps; then + echo "Error: Unsatisfied dependencies: " >&2 +Endast i fribid-0.1.2/: configure~ diff --git a/misc/fribid/seamonkey-nss_compile_fix.patch.gz b/misc/fribid/seamonkey-nss_compile_fix.patch.gz deleted file mode 100644 index 76603f1898d901f5bc9ed48c08802a55f727bae2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 666 zcmV;L0%iRliwFo_+`LNy19N3zZEtRCWqB=bb8}x~Z*6dCY-L|&X?QMhVRU0?0KHUg zPunmM{yhJRTS1g5T$;FS6{*77lENwqMJp59Cu(9RwMd;Pb|>~_zkTk~0#YVjR_hVRab7gF1ldQg1=J7de&Byt1EChA(*dM(&$s7l>2wGXI65A7 zPsZ>u1RPPo)JjHYXQT5<9&Yben|FX$EX(XH?o7!5wc%lWZ~#~c&Xkd{RjC~3YOV#x zf|YD0j3@~nJs>>-ws-^AZK#43vLRKR&AEU{ahqbCt3;-N7$+G^HPlmc>mYSKI1GWh zKCMHV$(vu2y3%?fZo0l#2c?U00vMfKo?b_Takn?@Uq}6m&;6tBWj_l2g(`Yp^`wG0 z|HFT~|3~h_7JSX;Fk|0g%DxFOIWW!vv%*YE!8owQvIN_^!)O^-u3%IM)f-0yhJ*9d z%{q8=6|b^AM5a**!38Hc9Q4NFdKPS`ujY_Ae*^T8%td`~!Lj`zdJ*`I0I9UGWo&)5 zvGuMmx|g5AiRH1fGB1TSB$dsGVi{s8408L!ln7V1C#0`9(+1?mkIZMYTm?`8xl_Vl z=py&VHXxSb=Q_tq|A#$eGfStlxyGGE` zRDnmL&|z(pqV|fR_9Ld-3xe8rzF#BGYu{Jf)pP5WOyDi76^po&+GyBbgKmSF3PoTs zL_E!*)-TJv4B(5>%t)O`!GQ}~{9LG53LQWV4tMA?l&{FPDg8ly0z0Fsh&2WP0A~$E AdjJ3c