<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Patching iexpress postgresql on itanium 11.23 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/patching-iexpress-postgresql-on-itanium-11-23/m-p/3405468#M863595</link>
    <description>Your patch file seems to be in unified diff format (created with diff -u), and HP-UX patch command doesn't understand unified diffs.&lt;BR /&gt;&lt;BR /&gt;GNU patch utility handles unified diffs so if you install it you should be able to apply your patch.</description>
    <pubDate>Fri, 22 Oct 2004 02:37:34 GMT</pubDate>
    <dc:creator>Ermin Borovac</dc:creator>
    <dc:date>2004-10-22T02:37:34Z</dc:date>
    <item>
      <title>Patching iexpress postgresql on itanium 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/patching-iexpress-postgresql-on-itanium-11-23/m-p/3405467#M863594</link>
      <description>I'm installing slony, a replication engine, on an ia64 box running 11.23 with iexpress postgresql 7.3.4.  Slony requires the source build tree be there, fully made.  The README.hp has a series of diffs at the bottom which one can apply to the 7.3.4 source to get it to build.&lt;BR /&gt;&lt;BR /&gt;Q:  How do you apply a patch created with "diff -Nur"?  patch doesn't seem to recognize it...&lt;BR /&gt;&lt;BR /&gt;$ head patchfile&lt;BR /&gt;diff -Nur postgresql-7.3.4-orig/configure postgresql-7.3.4/configure&lt;BR /&gt;--- postgresql-7.3.4-orig/configure     2003-07-22 21:09:40.000000000 -0700&lt;BR /&gt;+++ postgresql-7.3.4/configure  2003-10-13 16:46:10.000000000 -0700&lt;BR /&gt;@@ -1451,7 +1451,6 @@&lt;BR /&gt; # assembler code in src/include/storage/s_lock.h, so we just use&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;$ patch &amp;lt; patchfile                                                                    &lt;BR /&gt;Hmm...  I can't seem to find a patch in there anywhere.&lt;BR /&gt;&lt;BR /&gt;Ed&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Oct 2004 17:45:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/patching-iexpress-postgresql-on-itanium-11-23/m-p/3405467#M863594</guid>
      <dc:creator>Ed Loehr</dc:creator>
      <dc:date>2004-10-21T17:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Patching iexpress postgresql on itanium 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/patching-iexpress-postgresql-on-itanium-11-23/m-p/3405468#M863595</link>
      <description>Your patch file seems to be in unified diff format (created with diff -u), and HP-UX patch command doesn't understand unified diffs.&lt;BR /&gt;&lt;BR /&gt;GNU patch utility handles unified diffs so if you install it you should be able to apply your patch.</description>
      <pubDate>Fri, 22 Oct 2004 02:37:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/patching-iexpress-postgresql-on-itanium-11-23/m-p/3405468#M863595</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2004-10-22T02:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Patching iexpress postgresql on itanium 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/patching-iexpress-postgresql-on-itanium-11-23/m-p/3405469#M863596</link>
      <description>Forgot to mention that you can download GNU patch depot for 11.23 at&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/ftp/hpux/Sysadmin/patch-2.5.4/patch-2.5.4-sd-11.23.depot.gz" target="_blank"&gt;http://hpux.cs.utah.edu/ftp/hpux/Sysadmin/patch-2.5.4/patch-2.5.4-sd-11.23.depot.gz&lt;/A&gt;</description>
      <pubDate>Fri, 22 Oct 2004 02:43:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/patching-iexpress-postgresql-on-itanium-11-23/m-p/3405469#M863596</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2004-10-22T02:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Patching iexpress postgresql on itanium 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/patching-iexpress-postgresql-on-itanium-11-23/m-p/3405470#M863597</link>
      <description>&lt;BR /&gt;Thanks for that tip.  Gnu patch 2.5.4 works, but HP's iexpress patch notes appear bogus for PostgreSQL 7.3.4.  For example, here's the first patch:&lt;BR /&gt;&lt;BR /&gt;diff -Nur postgresql-7.3.4-orig/configure postgresql-7.3.4/configure&lt;BR /&gt;--- postgresql-7.3.4-orig/configure     2003-07-22 21:09:40.000000000 -0700&lt;BR /&gt;+++ postgresql-7.3.4/configure  2003-10-13 16:46:10.000000000 -0700&lt;BR /&gt;@@ -1451,7 +1451,6 @@&lt;BR /&gt; # assembler code in src/include/storage/s_lock.h, so we just use&lt;BR /&gt; # a dummy file here.&lt;BR /&gt; case $host in&lt;BR /&gt;-  *-*-hpux*)        need_tas=yes; tas_file=hpux.s ;;&lt;BR /&gt;   sparc-*-solaris*) need_tas=yes; tas_file=solaris_sparc.s ;;&lt;BR /&gt;   i?86-*-solaris*)   need_tas=yes; tas_file=solaris_i386.s ;;&lt;BR /&gt;   *)                need_tas=no;  tas_file=dummy.s ;;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But here's 7.3.4's original file for that line range:&lt;BR /&gt;&lt;BR /&gt;$cat -n postgresql-7.3.4/configure | head -1460 | tail -12                            &lt;BR /&gt;  1449  echo "$as_me: error: '$withval' is not a valid template name. Use 'list' for a list." &amp;gt;&amp;amp;2;}&lt;BR /&gt;  1450     { (exit 1); exit 1; }; }&lt;BR /&gt;  1451              fi;;&lt;BR /&gt;  1452    esac&lt;BR /&gt;  1453  &lt;BR /&gt;  1454        ;;&lt;BR /&gt;  1455    esac&lt;BR /&gt;  1456  &lt;BR /&gt;  1457  else&lt;BR /&gt;  1458  &lt;BR /&gt;  1459    # --with-template not given&lt;BR /&gt;  1460  &lt;BR /&gt;&lt;BR /&gt;The lines they suggest patching are later in the file, suggesting the patch diff comes from something other than 7.3.4 original source:&lt;BR /&gt;&lt;BR /&gt;$cat -n postgresql-7.3.4/configure | head -1532 | tail -7                             &lt;BR /&gt;  1526  # assembler code in src/include/storage/s_lock.h, so we just use&lt;BR /&gt;  1527  # a dummy file here.&lt;BR /&gt;  1528  case $host in&lt;BR /&gt;  1529  ##  *-*-hpux*)        need_tas=yes; tas_file=hpux.s ;;&lt;BR /&gt;  1530    sparc-*-solaris*) need_tas=yes; tas_file=solaris_sparc.s ;;&lt;BR /&gt;  1531    i?86-*-solaris*)   need_tas=yes; tas_file=solaris_i386.s ;;&lt;BR /&gt;  1532    *)                need_tas=no;  tas_file=dummy.s ;;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hand-editing to patch results in failed build as well.&lt;BR /&gt;&lt;BR /&gt;Seems like HP engineers creating an HP-specific patch file ought to make it compatible with HP's patch utility...  :(&lt;BR /&gt;&lt;BR /&gt;Ed&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Oct 2004 10:11:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/patching-iexpress-postgresql-on-itanium-11-23/m-p/3405470#M863597</guid>
      <dc:creator>Ed Loehr</dc:creator>
      <dc:date>2004-10-22T10:11:09Z</dc:date>
    </item>
  </channel>
</rss>

