source: trunk/dports/java/hadoop/files/patch-src-c++.diff @ 109655

Last change on this file since 109655 was 109655, checked in by hum@…, 7 years ago

hadoop: update to 1.2.1.

File size: 948 bytes
  • build.xml

    old new  
    21392139          failonerror="yes">
    21402140      <env key="ac_cv_func_malloc_0_nonnull" value="yes"/>
    21412141      <env key="JVM_ARCH" value="${jvm.arch}"/>
     2142      <env key="CC"       value="@cc@"/>
     2143      <env key="CFLAGS"   value="@cflags@"/>
     2144      <env key="CXX"      value="@cxx@"/>
     2145      <env key="CXXFLAGS" value="@cxxflags@"/>
     2146      <env key="LDFLAGS"  value="@ldflags@"/>
     2147      <env key="CPPFLAGS" value="@cppflags@"/>
    21422148      <arg value="--prefix=${install.c++}"/>
    21432149    </exec>
    21442150  </target>
  • src/c++/libhdfs/hdfsJniHelper.c

    old new  
    1515 */
    1616
    1717#include <string.h>
    18 #include <error.h>
     18//#include <error.h>
    1919#include "hdfsJniHelper.h"
    2020
    2121static pthread_mutex_t hdfsHashMutex = PTHREAD_MUTEX_INITIALIZER;
Note: See TracBrowser for help on using the repository browser.